#test-suite #artificial-intelligence #api-client #client #model #api #vapi #voiceai

vapi-client

Unofficial crate for Vapi - Voice AI for developers

20 unstable releases (3 breaking)

Uses new Rust 2024

new 0.3.51 May 1, 2025
0.3.6 May 6, 2025
0.3.4 Apr 30, 2025
0.2.22 Apr 16, 2025
0.0.1 Mar 17, 2025

#138 in Web programming

Download history 313/week @ 2025-03-17 254/week @ 2025-03-24 28/week @ 2025-03-31 390/week @ 2025-04-07 764/week @ 2025-04-14 73/week @ 2025-04-21 640/week @ 2025-04-28

1,868 downloads per month

MIT license

2MB
38K SLoC

vapi-client

An unofficial Rust API client for Vapi - Voice AI for developers.

Crates.io Documentation

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version:
  • Package version: 0.3.51
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Add the following to Cargo.toml under [dependencies]:

vapi-client = "0.3.51"

Documentation for API Endpoints

Class Method HTTP request Description
AnalyticsApi analytics_controller_query POST /analytics Create Analytics Queries
AssistantsApi assistant_controller_create POST /assistant Create Assistant
AssistantsApi assistant_controller_find_all GET /assistant List Assistants
AssistantsApi assistant_controller_find_one GET /assistant/{id} Get Assistant
AssistantsApi assistant_controller_remove DELETE /assistant/{id} Delete Assistant
AssistantsApi assistant_controller_update PATCH /assistant/{id} Update Assistant
CallsApi call_controller_create POST /call Create Call
CallsApi call_controller_delete_call_data DELETE /call/{id} Delete Call Data
CallsApi call_controller_find_all GET /call List Calls
CallsApi call_controller_find_one GET /call/{id} Get Call
CallsApi call_controller_update PATCH /call/{id} Update Call
FilesApi file_controller_create POST /file Upload File
FilesApi file_controller_find_all GET /file List Files
FilesApi file_controller_find_one GET /file/{id} Get File
FilesApi file_controller_remove DELETE /file/{id} Delete File
FilesApi file_controller_update PATCH /file/{id} Update File
KnowledgeBaseApi knowledge_base_controller_create POST /knowledge-base Create Knowledge Base
KnowledgeBaseApi knowledge_base_controller_find_all GET /knowledge-base List Knowledge Bases
KnowledgeBaseApi knowledge_base_controller_find_one GET /knowledge-base/{id} Get Knowledge Base
KnowledgeBaseApi knowledge_base_controller_remove DELETE /knowledge-base/{id} Delete Knowledge Base
KnowledgeBaseApi knowledge_base_controller_update PATCH /knowledge-base/{id} Update Knowledge Base
LogsApi logging_controller_logs_delete_query DELETE /logs Delete Logs
LogsApi logging_controller_logs_query GET /logs Get Logs
PhoneNumbersApi phone_number_controller_create POST /phone-number Create Phone Number
PhoneNumbersApi phone_number_controller_find_all GET /phone-number List Phone Numbers
PhoneNumbersApi phone_number_controller_find_one GET /phone-number/{id} Get Phone Number
PhoneNumbersApi phone_number_controller_remove DELETE /phone-number/{id} Delete Phone Number
PhoneNumbersApi phone_number_controller_update PATCH /phone-number/{id} Update Phone Number
SquadsApi squad_controller_create POST /squad Create Squad
SquadsApi squad_controller_find_all GET /squad List Squads
SquadsApi squad_controller_find_one GET /squad/{id} Get Squad
SquadsApi squad_controller_remove DELETE /squad/{id} Delete Squad
SquadsApi squad_controller_update PATCH /squad/{id} Update Squad
TestSuiteRunsApi test_suite_run_controller_create POST /test-suite/{testSuiteId}/run Create Test Suite Run
TestSuiteRunsApi test_suite_run_controller_find_all_paginated GET /test-suite/{testSuiteId}/run List Test Suite Runs
TestSuiteRunsApi test_suite_run_controller_find_one GET /test-suite/{testSuiteId}/run/{id} Get Test Suite Run
TestSuiteRunsApi test_suite_run_controller_remove DELETE /test-suite/{testSuiteId}/run/{id} Delete Test Suite Run
TestSuiteRunsApi test_suite_run_controller_update PATCH /test-suite/{testSuiteId}/run/{id} Update Test Suite Run
TestSuiteTestsApi test_suite_test_controller_create POST /test-suite/{testSuiteId}/test Create Test
TestSuiteTestsApi test_suite_test_controller_find_all_paginated GET /test-suite/{testSuiteId}/test List Tests
TestSuiteTestsApi test_suite_test_controller_find_one GET /test-suite/{testSuiteId}/test/{id} Get Test
TestSuiteTestsApi test_suite_test_controller_remove DELETE /test-suite/{testSuiteId}/test/{id} Delete Test
TestSuiteTestsApi test_suite_test_controller_update PATCH /test-suite/{testSuiteId}/test/{id} Update Test
TestSuitesApi test_suite_controller_create POST /test-suite Create Test Suite
TestSuitesApi test_suite_controller_find_all_paginated GET /test-suite List Test Suites
TestSuitesApi test_suite_controller_find_one GET /test-suite/{id} Get Test Suite
TestSuitesApi test_suite_controller_remove DELETE /test-suite/{id} Delete Test Suite
TestSuitesApi test_suite_controller_update PATCH /test-suite/{id} Update Test Suite
ToolsApi tool_controller_create POST /tool Create Tool
ToolsApi tool_controller_find_all GET /tool List Tools
ToolsApi tool_controller_find_one GET /tool/{id} Get Tool
ToolsApi tool_controller_remove DELETE /tool/{id} Delete Tool
ToolsApi tool_controller_update PATCH /tool/{id} Update Tool
WorkflowApi workflow_controller_create POST /workflow Create Workflow
WorkflowApi workflow_controller_delete DELETE /workflow/{id} Delete Workflow
WorkflowApi workflow_controller_find_all GET /workflow Get Workflows
WorkflowApi workflow_controller_find_one GET /workflow/{id} Get Workflow
WorkflowApi workflow_controller_update PATCH /workflow/{id} Update Workflow

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~8–22MB
~273K SLoC