EveryDocumentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
vapi.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Assistants
create
assistants.create
Create a new Vapi assistant
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
model | object | No | — |
voice | object | No | — |
transcriber | object | No | — |
firstMessage | string | No | — |
systemPrompt | string | No | — |
endCallMessage | string | No | — |
endCallPhrases | string[] | No | — |
metadata | object | No | — |
serverUrl | string | No | — |
serverUrlSecret | string | No | — |
analysisPlan | object | No | — |
artifactPlan | object | No | — |
messagePlan | object | No | — |
startSpeakingPlan | object | No | — |
stopSpeakingPlan | object | No | — |
hipaaEnabled | boolean | No | — |
clientMessages | string[] | No | — |
serverMessages | string[] | No | — |
silenceTimeoutSeconds | number | No | — |
maxDurationSeconds | number | No | — |
backgroundSound | string | No | — |
backchannelingEnabled | boolean | No | — |
backgroundDenoisingEnabled | boolean | No | — |
modelOutputInMessagesEnabled | boolean | No | — |
model full type
model full type
voice full type
voice full type
transcriber full type
transcriber full type
metadata full type
metadata full type
analysisPlan full type
analysisPlan full type
artifactPlan full type
artifactPlan full type
messagePlan full type
messagePlan full type
startSpeakingPlan full type
startSpeakingPlan full type
stopSpeakingPlan full type
stopSpeakingPlan full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
model | object | No | — |
voice | object | No | — |
transcriber | object | No | — |
firstMessage | string | No | — |
systemPrompt | string | No | — |
endCallMessage | string | No | — |
endCallPhrases | string[] | No | — |
metadata | object | No | — |
serverUrl | string | No | — |
hipaaEnabled | boolean | No | — |
model full type
model full type
voice full type
voice full type
transcriber full type
transcriber full type
metadata full type
metadata full type
delete
assistants.delete
Delete a Vapi assistant [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
assistants.get
Retrieve a Vapi assistant by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
model | object | No | — |
voice | object | No | — |
transcriber | object | No | — |
firstMessage | string | No | — |
systemPrompt | string | No | — |
endCallMessage | string | No | — |
endCallPhrases | string[] | No | — |
metadata | object | No | — |
serverUrl | string | No | — |
hipaaEnabled | boolean | No | — |
model full type
model full type
voice full type
voice full type
transcriber full type
transcriber full type
metadata full type
metadata full type
list
assistants.list
List all Vapi assistants
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
assistants.update
Update a Vapi assistant
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
model | object | No | — |
voice | object | No | — |
transcriber | object | No | — |
firstMessage | string | No | — |
systemPrompt | string | No | — |
endCallMessage | string | No | — |
endCallPhrases | string[] | No | — |
metadata | object | No | — |
serverUrl | string | No | — |
serverUrlSecret | string | No | — |
analysisPlan | object | No | — |
artifactPlan | object | No | — |
messagePlan | object | No | — |
startSpeakingPlan | object | No | — |
stopSpeakingPlan | object | No | — |
hipaaEnabled | boolean | No | — |
clientMessages | string[] | No | — |
serverMessages | string[] | No | — |
silenceTimeoutSeconds | number | No | — |
maxDurationSeconds | number | No | — |
backgroundSound | string | No | — |
backchannelingEnabled | boolean | No | — |
backgroundDenoisingEnabled | boolean | No | — |
modelOutputInMessagesEnabled | boolean | No | — |
id | string | Yes | — |
model full type
model full type
voice full type
voice full type
transcriber full type
transcriber full type
metadata full type
metadata full type
analysisPlan full type
analysisPlan full type
artifactPlan full type
artifactPlan full type
messagePlan full type
messagePlan full type
startSpeakingPlan full type
startSpeakingPlan full type
stopSpeakingPlan full type
stopSpeakingPlan full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
model | object | No | — |
voice | object | No | — |
transcriber | object | No | — |
firstMessage | string | No | — |
systemPrompt | string | No | — |
endCallMessage | string | No | — |
endCallPhrases | string[] | No | — |
metadata | object | No | — |
serverUrl | string | No | — |
hipaaEnabled | boolean | No | — |
model full type
model full type
voice full type
voice full type
transcriber full type
transcriber full type
metadata full type
metadata full type
Calls
create
calls.create
Create (initiate) a new Vapi call
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
assistantId | string | No | — |
assistant | object | No | — |
assistantOverrides | object | No | — |
squadId | string | No | — |
squad | object | No | — |
phoneNumberId | string | No | — |
phoneNumber | object | No | — |
customerId | string | No | — |
customer | object | No | — |
name | string | No | — |
metadata | object | No | — |
scheduledAt | string | No | — |
assistant full type
assistant full type
assistantOverrides full type
assistantOverrides full type
squad full type
squad full type
phoneNumber full type
phoneNumber full type
customer full type
customer full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
status | string | No | — |
endedReason | string | No | — |
assistantId | string | No | — |
phoneNumberId | string | No | — |
squadId | string | No | — |
startedAt | string | No | — |
endedAt | string | No | — |
cost | number | No | — |
messages | object[] | No | — |
artifact | object | No | — |
analysis | object | No | — |
metadata | object | No | — |
messages full type
messages full type
artifact full type
artifact full type
analysis full type
analysis full type
metadata full type
metadata full type
delete
calls.delete
Delete a Vapi call [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
calls.get
Retrieve a Vapi call by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
status | string | No | — |
endedReason | string | No | — |
assistantId | string | No | — |
phoneNumberId | string | No | — |
squadId | string | No | — |
startedAt | string | No | — |
endedAt | string | No | — |
cost | number | No | — |
messages | object[] | No | — |
artifact | object | No | — |
analysis | object | No | — |
metadata | object | No | — |
messages full type
messages full type
artifact full type
artifact full type
analysis full type
analysis full type
metadata full type
metadata full type
list
calls.list
List all Vapi calls with optional filters
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
id | string | No | — |
assistantId | string | No | — |
phoneNumberId | string | No | — |
object[]
Output full type
Output full type
update
calls.update
Update a Vapi call
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
assistantOverrides | object | No | — |
metadata | object | No | — |
assistantOverrides full type
assistantOverrides full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
status | string | No | — |
endedReason | string | No | — |
assistantId | string | No | — |
phoneNumberId | string | No | — |
squadId | string | No | — |
startedAt | string | No | — |
endedAt | string | No | — |
cost | number | No | — |
messages | object[] | No | — |
artifact | object | No | — |
analysis | object | No | — |
metadata | object | No | — |
messages full type
messages full type
artifact full type
artifact full type
analysis full type
analysis full type
metadata full type
metadata full type
Files
delete
files.delete
Delete a Vapi file [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
files.get
Retrieve a Vapi file by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
originalName | string | No | — |
mimeType | string | No | — |
size | number | No | — |
status | string | No | — |
url | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
list
files.list
List all Vapi files
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
files.update
Update a Vapi file
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
originalName | string | No | — |
mimeType | string | No | — |
size | number | No | — |
status | string | No | — |
url | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
Knowledge Bases
create
knowledgeBases.create
Create a new Vapi knowledge base
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Knowledge base provider (e.g. custom-knowledge-base, trieve) |
server | object | No | Server config; required when provider is custom-knowledge-base |
name | string | No | — |
server full type
server full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
name | string | No | — |
server | object | No | — |
server full type
server full type
delete
knowledgeBases.delete
Delete a Vapi knowledge base [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
knowledgeBases.get
Retrieve a Vapi knowledge base by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
name | string | No | — |
server | object | No | — |
server full type
server full type
list
knowledgeBases.list
List all Vapi knowledge bases
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
knowledgeBases.update
Update a Vapi knowledge base
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
name | string | No | — |
server | object | No | — |
server full type
server full type
Phone Numbers
create
phoneNumbers.create
Create a new Vapi phone number
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
provider | twilio | vonage | vapi | telnyx | No | — |
number | string | No | — |
twilioAccountSid | string | No | — |
twilioAuthToken | string | No | — |
vonageApiKey | string | No | — |
vonageApiSecret | string | No | — |
name | string | No | — |
assistantId | string | No | — |
squadId | string | No | — |
serverUrl | string | No | — |
serverUrlSecret | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
number | string | No | — |
name | string | No | — |
assistantId | string | No | — |
squadId | string | No | — |
serverUrl | string | No | — |
delete
phoneNumbers.delete
Delete a Vapi phone number [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
phoneNumbers.get
Retrieve a Vapi phone number by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
number | string | No | — |
name | string | No | — |
assistantId | string | No | — |
squadId | string | No | — |
serverUrl | string | No | — |
list
phoneNumbers.list
List all Vapi phone numbers
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
phoneNumbers.update
Update a Vapi phone number
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
assistantId | string | No | — |
squadId | string | No | — |
serverUrl | string | No | — |
serverUrlSecret | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
provider | string | No | — |
number | string | No | — |
name | string | No | — |
assistantId | string | No | — |
squadId | string | No | — |
serverUrl | string | No | — |
Squads
create
squads.create
Create a new Vapi squad
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
members | object[] | No | — |
membersOverrides | object | No | — |
metadata | object | No | — |
members full type
members full type
membersOverrides full type
membersOverrides full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
members | object[] | No | — |
metadata | object | No | — |
members full type
members full type
metadata full type
metadata full type
delete
squads.delete
Delete a Vapi squad [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
squads.get
Retrieve a Vapi squad by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
members | object[] | No | — |
metadata | object | No | — |
members full type
members full type
metadata full type
metadata full type
list
squads.list
List all Vapi squads
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
squads.update
Update a Vapi squad
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
members | object[] | No | — |
membersOverrides | object | No | — |
metadata | object | No | — |
id | string | Yes | — |
members full type
members full type
membersOverrides full type
membersOverrides full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
name | string | No | — |
members | object[] | No | — |
metadata | object | No | — |
members full type
members full type
metadata full type
metadata full type
Tools
create
tools.create
Create a new Vapi tool
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
async | boolean | No | — |
messages | object[] | No | — |
function | object | No | — |
server | object | No | — |
metadata | object | No | — |
messages full type
messages full type
function full type
function full type
server full type
server full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
function | object | No | — |
server | object | No | — |
metadata | object | No | — |
function full type
function full type
server full type
server full type
metadata full type
metadata full type
delete
tools.delete
Delete a Vapi tool [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
get
tools.get
Retrieve a Vapi tool by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
function | object | No | — |
server | object | No | — |
metadata | object | No | — |
function full type
function full type
server full type
server full type
metadata full type
metadata full type
list
tools.list
List all Vapi tools
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
createdAtGt | string | No | — |
createdAtLt | string | No | — |
createdAtGe | string | No | — |
createdAtLe | string | No | — |
updatedAtGt | string | No | — |
updatedAtLt | string | No | — |
updatedAtGe | string | No | — |
updatedAtLe | string | No | — |
object[]
Output full type
Output full type
update
tools.update
Update a Vapi tool
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
async | boolean | No | — |
messages | object[] | No | — |
function | object | No | — |
server | object | No | — |
metadata | object | No | — |
id | string | Yes | — |
messages full type
messages full type
function full type
function full type
server full type
server full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
orgId | string | No | — |
createdAt | string | No | — |
updatedAt | string | No | — |
type | string | No | — |
function | object | No | — |
server | object | No | — |
metadata | object | No | — |
function full type
function full type
server full type
server full type
metadata full type
metadata full type