Skip to main content
Every witai.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Apps

createApp

apps.createApp Create a new Wit.ai app Risk: write
Input Output

deleteApp

apps.deleteApp Delete a specific Wit.ai app Risk: destructive
Input Output

exportApp

apps.exportApp Export Wit.ai app data as a ZIP backup Risk: read
Input Output

getApp

apps.getApp Retrieve metadata and settings of a Wit.ai app Risk: read
Input Output

listApps

apps.listApps List all Wit.ai apps for the authenticated user Risk: read
Input Output: object[]

listTags

apps.listTags List all tag groups (versions) for a Wit.ai app Risk: read
Input Output: object[]

updateApp

apps.updateApp Update an existing Wit.ai app Risk: write
Input Output

Entities

addKeyword

entities.addKeyword Add a keyword with optional synonyms to an entity Risk: write
Input Output

addSynonym

entities.addSynonym Add a synonym to a keyword in an entity Risk: write
Input Output

createEntity

entities.createEntity Create a new entity in Wit.ai Risk: write
Input Output

deleteEntity

entities.deleteEntity Permanently delete an entity by name Risk: destructive
Input Output

deleteKeyword

entities.deleteKeyword Delete a keyword from an entity Risk: destructive
Input Output: object

deleteRole

entities.deleteRole Delete a specific role from an entity Risk: destructive
Input Output: object

deleteSynonym

entities.deleteSynonym Delete a synonym from a keyword in an entity Risk: destructive
Input Output: object

getEntity

entities.getEntity Retrieve details of a specific entity Risk: read
Input Output

listEntities

entities.listEntities List all entities in the Wit.ai app Risk: read
Input: empty object Output: object[]

Intents

createIntent

intents.createIntent Create a new intent in Wit.ai Risk: write
Input Output

deleteIntent

intents.deleteIntent Permanently delete an intent by name Risk: destructive
Input Output

getIntent

intents.getIntent Retrieve details of a specific intent Risk: read
Input Output

listIntents

intents.listIntents List all intents in the Wit.ai app Risk: read
Input: empty object Output: object[]

Message

detectLanguage

message.detectLanguage Detect the language of a given text input Risk: read
Input Output

getMessage

message.getMessage Analyze text to extract intents, entities, and traits Risk: read
Input Output

Traits

addValue

traits.addValue Add a new value to an existing trait Risk: write
Input Output

createTrait

traits.createTrait Create a new trait in Wit.ai Risk: write
Input Output

deleteTrait

traits.deleteTrait Delete a trait by name Risk: destructive
Input Output

getTrait

traits.getTrait Retrieve details of a specific trait Risk: read
Input Output

listTraits

traits.listTraits List all traits in the Wit.ai app Risk: read
Input: empty object Output: object[]

Utterances

createUtterances

utterances.createUtterances Add training utterances to the Wit.ai app (rate limit: 200/min) Risk: write
Input
Output

deleteUtterances

utterances.deleteUtterances Delete validated utterances from the Wit.ai app Risk: destructive
Input Output

listUtterances

utterances.listUtterances List training utterances from the Wit.ai app Risk: read
Input Output: object[]

Voices

getVoice

voices.getVoice Retrieve details for a specific text-to-speech voice Risk: read
Input Output

listVoices

voices.listVoices List all available text-to-speech voices grouped by locale Risk: read
Input: empty object Output: object