components: schemas: AgentConfigurationV1: description: A reusable agent configuration properties: agent_id: description: The unique identifier of the agent configuration type: string config: $ref: "#/components/schemas/AgentConfigurationV1Config" description: The agent configuration object created_at: description: Timestamp when the configuration was created format: date-time type: string metadata: additionalProperties: type: string description: A map of arbitrary key-value pairs for labeling or organizing the agent configuration type: object updated_at: description: Timestamp when the configuration was last updated format: date-time type: string required: - agent_id - config title: AgentConfigurationV1 type: object AgentConfigurationV1Config: description: The agent configuration object properties: {} title: AgentConfigurationV1Config type: object AgentThinkModelsV1Response: properties: models: items: $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems" type: array required: - models title: AgentThinkModelsV1Response type: object AgentThinkModelsV1ResponseModelsItems: oneOf: - $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems0" - $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems1" - $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems2" - $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems3" - $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItems4" title: AgentThinkModelsV1ResponseModelsItems AgentThinkModelsV1ResponseModelsItems0: description: OpenAI models properties: id: $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItemsOneOf0Id" description: The unique identifier of the OpenAI model name: description: The display name of the model type: string provider: description: The provider of the model required: - id - name - provider title: AgentThinkModelsV1ResponseModelsItems0 type: object AgentThinkModelsV1ResponseModelsItems1: description: Anthropic models properties: id: $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItemsOneOf1Id" description: The unique identifier of the Anthropic model name: description: The display name of the model type: string provider: description: The provider of the model required: - id - name - provider title: AgentThinkModelsV1ResponseModelsItems1 type: object AgentThinkModelsV1ResponseModelsItems2: description: Google models properties: id: $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItemsOneOf2Id" description: The unique identifier of the Google model name: description: The display name of the model type: string provider: description: The provider of the model required: - id - name - provider title: AgentThinkModelsV1ResponseModelsItems2 type: object AgentThinkModelsV1ResponseModelsItems3: description: Groq models properties: id: $ref: "#/components/schemas/AgentThinkModelsV1ResponseModelsItemsOneOf3Id" description: The unique identifier of the Groq model name: description: The display name of the model type: string provider: description: The provider of the model required: - id - name - provider title: AgentThinkModelsV1ResponseModelsItems3 type: object AgentThinkModelsV1ResponseModelsItems4: description: AWS Bedrock models (custom models accepted) properties: id: description: The unique identifier of the AWS Bedrock model (any model string accepted for BYO LLMs) type: string name: description: The display name of the model type: string provider: description: The provider of the model required: - id - name - provider title: AgentThinkModelsV1ResponseModelsItems4 type: object AgentThinkModelsV1ResponseModelsItemsOneOf0Id: description: The unique identifier of the OpenAI model enum: - gpt-5 - gpt-5-mini - gpt-5-nano - gpt-4.1 - gpt-4.1-mini - gpt-4.1-nano - gpt-4o - gpt-4o-mini title: AgentThinkModelsV1ResponseModelsItemsOneOf0Id type: string AgentThinkModelsV1ResponseModelsItemsOneOf1Id: description: The unique identifier of the Anthropic model enum: - claude-3-5-haiku-latest - claude-sonnet-4-20250514 title: AgentThinkModelsV1ResponseModelsItemsOneOf1Id type: string AgentThinkModelsV1ResponseModelsItemsOneOf2Id: description: The unique identifier of the Google model enum: - gemini-2.5-flash - gemini-2.0-flash - gemini-2.0-flash-lite title: AgentThinkModelsV1ResponseModelsItemsOneOf2Id type: string AgentThinkModelsV1ResponseModelsItemsOneOf3Id: description: The unique identifier of the Groq model enum: - openai/gpt-oss-20b title: AgentThinkModelsV1ResponseModelsItemsOneOf3Id type: string AgentVariableV1: description: A template variable for agent configurations properties: created_at: description: Timestamp when the variable was created format: date-time type: string key: description: The variable name, following the DG_ format type: string updated_at: description: Timestamp when the variable was last updated format: date-time type: string value: description: The value to substitute. Can be any valid JSON type variable_id: description: The unique identifier of the variable type: string required: - variable_id - key - value title: AgentVariableV1 type: object BillingBreakdownV1Response: properties: end: description: End date of the billing summary period format: date type: string resolution: $ref: "#/components/schemas/BillingBreakdownV1ResponseResolution" results: items: $ref: "#/components/schemas/BillingBreakdownV1ResponseResultsItems" type: array start: description: Start date of the billing summmary period format: date type: string required: - start - end - resolution - results title: BillingBreakdownV1Response type: object BillingBreakdownV1ResponseResolution: properties: amount: description: Amount of units format: double type: number units: description: Time unit for the resolution type: string required: - units - amount title: BillingBreakdownV1ResponseResolution type: object BillingBreakdownV1ResponseResultsItems: properties: dollars: description: USD cost of the billing for this grouping title: float type: string grouping: $ref: "#/components/schemas/BillingBreakdownV1ResponseResultsItemsGrouping" required: - dollars - grouping title: BillingBreakdownV1ResponseResultsItems type: object BillingBreakdownV1ResponseResultsItemsGrouping: properties: accessor: description: Optional accessor identifier, null unless grouped by accessor. type: - string - "null" deployment: description: Optional deployment identifier, null unless grouped by deployment. type: - string - "null" end: description: End date for this group format: date type: string line_item: description: Optional line item identifier, null unless grouped by line item. type: - string - "null" start: description: Start date for this group format: date type: string tags: description: Optional list of tags, null unless grouped by tags. items: type: string type: - array - "null" title: BillingBreakdownV1ResponseResultsItemsGrouping type: object CreateAgentConfigurationV1Request: description: Request body for creating an agent configuration properties: api_version: default: 1 description: API version. Defaults to 1 type: integer config: description: A valid JSON string representing the agent block of a Settings message type: string metadata: additionalProperties: type: string description: A map of arbitrary key-value pairs for labeling or organizing the agent configuration type: object required: - config title: CreateAgentConfigurationV1Request type: object CreateAgentConfigurationV1Response: properties: agent_id: description: The unique identifier of the newly created agent configuration type: string config: $ref: "#/components/schemas/CreateAgentConfigurationV1ResponseConfig" description: The parsed agent configuration object metadata: additionalProperties: type: string description: Metadata associated with the agent configuration type: object required: - agent_id - config title: CreateAgentConfigurationV1Response type: object CreateAgentConfigurationV1ResponseConfig: description: The parsed agent configuration object properties: {} title: CreateAgentConfigurationV1ResponseConfig type: object CreateAgentVariableV1Request: description: Request body for creating an agent variable properties: api_version: default: 1 description: API version. Defaults to 1 type: integer key: description: The variable name, following the DG_ format type: string value: description: The value to substitute. Can be any valid JSON type (string, number, boolean, object, or array) required: - key - value title: CreateAgentVariableV1Request type: object CreateKeyV1Request: properties: comment: type: string expiration_date: format: date-time type: string scopes: items: type: string type: array tags: items: type: string type: array time_to_live_in_seconds: format: double type: number required: - comment - scopes title: CreateKeyV1Request type: object CreateKeyV1Response: description: API key created properties: api_key_id: description: The unique identifier of the API key type: string comment: description: A comment for the API key type: string expiration_date: description: The expiration date of the API key format: date-time type: string key: description: The API key type: string scopes: description: The scopes for the API key items: type: string type: array tags: description: The tags for the API key items: type: string type: array title: CreateKeyV1Response type: object CreateProjectDistributionCredentialsV1Request: description: Request body for creating distribution credentials properties: comment: description: Optional comment about the credentials type: string title: CreateProjectDistributionCredentialsV1Request type: object CreateProjectDistributionCredentialsV1Response: properties: distribution_credentials: $ref: "#/components/schemas/CreateProjectDistributionCredentialsV1ResponseDistributionCredentials" member: $ref: "#/components/schemas/CreateProjectDistributionCredentialsV1ResponseMember" required: - member - distribution_credentials title: CreateProjectDistributionCredentialsV1Response type: object CreateProjectDistributionCredentialsV1ResponseDistributionCredentials: properties: comment: description: Optional comment about the credentials type: string created: description: Timestamp when the credentials were created format: date-time type: string distribution_credentials_id: description: Unique identifier for the distribution credentials format: uuid type: string provider: description: The provider of the distribution service type: string scopes: description: List of permission scopes for the credentials items: type: string type: array required: - distribution_credentials_id - provider - scopes - created title: CreateProjectDistributionCredentialsV1ResponseDistributionCredentials type: object CreateProjectDistributionCredentialsV1ResponseMember: properties: email: description: Email address of the member format: email type: string member_id: description: Unique identifier for the member format: uuid type: string required: - member_id - email title: CreateProjectDistributionCredentialsV1ResponseMember type: object CreateProjectInviteV1Request: description: Request body for creating a project invite properties: email: description: The email address of the invitee type: string scope: description: The scope of the invitee type: string required: - email - scope title: CreateProjectInviteV1Request type: object CreateProjectInviteV1Response: properties: message: description: confirmation message type: string title: CreateProjectInviteV1Response type: object DeleteAgentConfigurationV1Response: description: Confirmation that the agent configuration was deleted properties: {} title: DeleteAgentConfigurationV1Response type: object DeleteAgentVariableV1Response: description: Confirmation that the agent variable was deleted properties: {} title: DeleteAgentVariableV1Response type: object DeleteProjectInviteV1Response: properties: message: description: confirmation message type: string title: DeleteProjectInviteV1Response type: object DeleteProjectKeyV1Response: properties: message: type: string title: DeleteProjectKeyV1Response type: object DeleteProjectMemberV1Response: properties: message: description: confirmation message type: string title: DeleteProjectMemberV1Response type: object DeleteProjectV1Response: properties: message: description: Confirmation message type: string title: DeleteProjectV1Response type: object ErrorResponse: oneOf: - $ref: "#/components/schemas/ErrorResponseTextError" - $ref: "#/components/schemas/ErrorResponseLegacyError" - $ref: "#/components/schemas/ErrorResponseModernError" title: ErrorResponse ErrorResponseLegacyError: properties: err_code: description: The error code type: string err_msg: description: The error message type: string request_id: description: The request ID type: string title: ErrorResponseLegacyError type: object ErrorResponseModernError: properties: category: description: The category of the error type: string details: description: A description of the error type: string message: description: A message about the error type: string request_id: description: The unique identifier of the request type: string title: ErrorResponseModernError type: object ErrorResponseTextError: title: ErrorResponseTextError type: string GetModelV1Response: oneOf: - $ref: "#/components/schemas/GetModelV1Response0" - $ref: "#/components/schemas/GetModelV1Response1" title: GetModelV1Response GetModelV1Response0: properties: architecture: type: string batch: type: boolean canonical_name: type: string formatted_output: type: boolean languages: items: type: string type: array name: type: string streaming: type: boolean uuid: format: uuid type: string version: type: string title: GetModelV1Response0 type: object GetModelV1Response1: properties: architecture: type: string canonical_name: type: string languages: items: type: string type: array metadata: $ref: "#/components/schemas/GetModelV1ResponseOneOf1Metadata" name: type: string uuid: format: uuid type: string version: type: string title: GetModelV1Response1 type: object GetModelV1ResponseOneOf1Metadata: properties: accent: type: string age: type: string color: type: string image: format: uri type: string sample: format: uri type: string tags: items: type: string type: array use_cases: items: type: string type: array title: GetModelV1ResponseOneOf1Metadata type: object GetProjectBalanceV1Response: properties: amount: default: 0 description: The amount of the balance format: double type: number balance_id: description: The unique identifier of the balance type: string purchase_order_id: description: Description or reference of the purchase type: string units: description: The units of the balance, such as "USD" type: string title: GetProjectBalanceV1Response type: object GetProjectDistributionCredentialsV1Response: properties: distribution_credentials: $ref: "#/components/schemas/GetProjectDistributionCredentialsV1ResponseDistributionCredentials" member: $ref: "#/components/schemas/GetProjectDistributionCredentialsV1ResponseMember" required: - member - distribution_credentials title: GetProjectDistributionCredentialsV1Response type: object GetProjectDistributionCredentialsV1ResponseDistributionCredentials: properties: comment: description: Optional comment about the credentials type: string created: description: Timestamp when the credentials were created format: date-time type: string distribution_credentials_id: description: Unique identifier for the distribution credentials format: uuid type: string provider: description: The provider of the distribution service type: string scopes: description: List of permission scopes for the credentials items: type: string type: array required: - distribution_credentials_id - provider - scopes - created title: GetProjectDistributionCredentialsV1ResponseDistributionCredentials type: object GetProjectDistributionCredentialsV1ResponseMember: properties: email: description: Email address of the member format: email type: string member_id: description: Unique identifier for the member format: uuid type: string required: - member_id - email title: GetProjectDistributionCredentialsV1ResponseMember type: object GetProjectKeyV1Response: properties: item: $ref: "#/components/schemas/GetProjectKeyV1ResponseItem" title: GetProjectKeyV1Response type: object GetProjectKeyV1ResponseItem: properties: member: $ref: "#/components/schemas/GetProjectKeyV1ResponseItemMember" title: GetProjectKeyV1ResponseItem type: object GetProjectKeyV1ResponseItemMember: properties: api_key: $ref: "#/components/schemas/GetProjectKeyV1ResponseItemMemberApiKey" email: type: string first_name: type: string last_name: type: string member_id: type: string title: GetProjectKeyV1ResponseItemMember type: object GetProjectKeyV1ResponseItemMemberApiKey: properties: api_key_id: type: string comment: type: string created: format: date-time type: string expiration_date: format: date-time type: string scopes: items: type: string type: array tags: items: type: string type: array title: GetProjectKeyV1ResponseItemMemberApiKey type: object GetProjectRequestV1Response: properties: request: $ref: "#/components/schemas/ProjectRequestResponse" title: GetProjectRequestV1Response type: object GetProjectV1Response: properties: mip_opt_out: description: Model Improvement Program opt-out type: boolean name: description: The name of the project type: string project_id: description: The unique identifier of the project type: string title: GetProjectV1Response type: object GrantV1Request: properties: ttl_seconds: description: Time to live in seconds for the token. Defaults to 30 seconds. format: double maximum: 3600 minimum: 1 type: number title: GrantV1Request type: object GrantV1Response: properties: access_token: description: JSON Web Token (JWT) type: string expires_in: description: Time in seconds until the JWT expires format: double type: number required: - access_token title: GrantV1Response type: object LeaveProjectV1Response: properties: message: description: confirmation message type: string title: LeaveProjectV1Response type: object ListAgentConfigurationsV1Response: properties: agents: description: A list of agent configurations for the project items: $ref: "#/components/schemas/AgentConfigurationV1" type: array title: ListAgentConfigurationsV1Response type: object ListAgentVariablesV1Response: properties: variables: description: A list of agent variables for the project items: $ref: "#/components/schemas/AgentVariableV1" type: array title: ListAgentVariablesV1Response type: object ListBillingFieldsV1Response: properties: accessors: description: List of accessor UUIDs for the time period items: format: uuid type: string type: array deployments: description: List of deployment types for the time period items: $ref: "#/components/schemas/ListBillingFieldsV1ResponseDeploymentsItems" type: array line_items: additionalProperties: type: string description: Map of line item names to human-readable descriptions for the time period type: object tags: description: List of tags for the time period items: type: string type: array title: ListBillingFieldsV1Response type: object ListBillingFieldsV1ResponseDeploymentsItems: enum: - hosted - beta - self-hosted - dedicated title: ListBillingFieldsV1ResponseDeploymentsItems type: string ListModelsV1Response: properties: stt: items: $ref: "#/components/schemas/ListModelsV1ResponseSttModels" type: array tts: items: $ref: "#/components/schemas/ListModelsV1ResponseTtsModels" type: array title: ListModelsV1Response type: object ListModelsV1ResponseSttModels: properties: architecture: type: string batch: type: boolean canonical_name: type: string formatted_output: type: boolean languages: items: type: string type: array name: type: string streaming: type: boolean uuid: type: string version: type: string title: ListModelsV1ResponseSttModels type: object ListModelsV1ResponseTtsModels: properties: architecture: type: string canonical_name: type: string languages: items: type: string type: array metadata: $ref: "#/components/schemas/ListModelsV1ResponseTtsModelsMetadata" name: type: string uuid: format: uuid type: string version: type: string title: ListModelsV1ResponseTtsModels type: object ListModelsV1ResponseTtsModelsMetadata: properties: accent: type: string age: type: string color: type: string image: format: uri type: string sample: format: uri type: string tags: items: type: string type: array use_cases: items: type: string type: array title: ListModelsV1ResponseTtsModelsMetadata type: object ListProjectBalancesV1Response: properties: balances: items: $ref: "#/components/schemas/ListProjectBalancesV1ResponseBalancesItems" type: array title: ListProjectBalancesV1Response type: object ListProjectBalancesV1ResponseBalancesItems: properties: amount: default: 0 description: The amount of the balance format: double type: number balance_id: description: The unique identifier of the balance type: string purchase_order_id: description: Description or reference of the purchase type: string units: description: The units of the balance, such as "USD" type: string title: ListProjectBalancesV1ResponseBalancesItems type: object ListProjectDistributionCredentialsV1Response: properties: distribution_credentials: description: Array of distribution credentials with associated member information items: $ref: "#/components/schemas/ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItems" type: array title: ListProjectDistributionCredentialsV1Response type: object ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItems: properties: distribution_credentials: $ref: "#/components/schemas/ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsDistributionCredentials" member: $ref: "#/components/schemas/ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsMember" required: - member - distribution_credentials title: ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItems type: object ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsDistributionCredentials: properties: comment: description: Optional comment about the credentials type: string created: description: Timestamp when the credentials were created format: date-time type: string distribution_credentials_id: description: Unique identifier for the distribution credentials format: uuid type: string provider: description: The provider of the distribution service type: string scopes: description: List of permission scopes for the credentials items: type: string type: array required: - distribution_credentials_id - provider - scopes - created title: ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsDistributionCredentials type: object ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsMember: properties: email: description: Email address of the member format: email type: string member_id: description: Unique identifier for the member format: uuid type: string required: - member_id - email title: ListProjectDistributionCredentialsV1ResponseDistributionCredentialsItemsMember type: object ListProjectInvitesV1Response: properties: invites: items: $ref: "#/components/schemas/ListProjectInvitesV1ResponseInvitesItems" type: array title: ListProjectInvitesV1Response type: object ListProjectInvitesV1ResponseInvitesItems: properties: email: description: The email address of the invitee type: string scope: description: The scope of the invitee type: string title: ListProjectInvitesV1ResponseInvitesItems type: object ListProjectKeysV1Response: properties: api_keys: items: $ref: "#/components/schemas/ListProjectKeysV1ResponseApiKeysItems" type: array title: ListProjectKeysV1Response type: object ListProjectKeysV1ResponseApiKeysItems: properties: api_key: $ref: "#/components/schemas/ListProjectKeysV1ResponseApiKeysItemsApiKey" member: $ref: "#/components/schemas/ListProjectKeysV1ResponseApiKeysItemsMember" title: ListProjectKeysV1ResponseApiKeysItems type: object ListProjectKeysV1ResponseApiKeysItemsApiKey: properties: api_key_id: type: string comment: type: string created: format: date-time type: string scopes: items: type: string type: array title: ListProjectKeysV1ResponseApiKeysItemsApiKey type: object ListProjectKeysV1ResponseApiKeysItemsMember: properties: email: type: string member_id: type: string title: ListProjectKeysV1ResponseApiKeysItemsMember type: object ListProjectMemberScopesV1Response: properties: scopes: description: The API scopes of the member items: type: string type: array title: ListProjectMemberScopesV1Response type: object ListProjectMembersV1Response: properties: members: items: $ref: "#/components/schemas/ListProjectMembersV1ResponseMembersItems" type: array title: ListProjectMembersV1Response type: object ListProjectMembersV1ResponseMembersItems: properties: email: type: string first_name: type: string last_name: type: string member_id: description: The unique identifier of the member type: string scopes: description: The API scopes of the member items: type: string type: array title: ListProjectMembersV1ResponseMembersItems type: object ListProjectPurchasesV1Response: properties: orders: items: $ref: "#/components/schemas/ListProjectPurchasesV1ResponseOrdersItems" type: array title: ListProjectPurchasesV1Response type: object ListProjectPurchasesV1ResponseOrdersItems: properties: amount: title: float type: string created: format: date-time type: string expiration: format: date-time type: string order_id: format: uuid type: string order_type: type: string units: type: string title: ListProjectPurchasesV1ResponseOrdersItems type: object ListProjectRequestsV1Response: properties: limit: description: The number of results per page format: double type: number page: description: The page number of the paginated response format: double type: number requests: items: $ref: "#/components/schemas/ProjectRequestResponse" type: array title: ListProjectRequestsV1Response type: object ListProjectsV1Response: properties: projects: items: $ref: "#/components/schemas/ListProjectsV1ResponseProjectsItems" type: array title: ListProjectsV1Response type: object ListProjectsV1ResponseProjectsItems: properties: name: description: The name of the project type: string project_id: description: The unique identifier of the project type: string title: ListProjectsV1ResponseProjectsItems type: object ListenV1AcceptedResponse: description: Accepted response for asynchronous transcription requests properties: request_id: description: Unique identifier for tracking the asynchronous request format: uuid type: string required: - request_id title: ListenV1AcceptedResponse type: object ListenV1RequestUrl: description: Audio file URL to transcribe properties: url: format: uri type: string required: - url title: ListenV1RequestUrl type: object ListenV1Response: description: The standard transcription response properties: metadata: $ref: "#/components/schemas/ListenV1ResponseMetadata" results: $ref: "#/components/schemas/ListenV1ResponseResults" required: - metadata - results title: ListenV1Response type: object ListenV1ResponseMetadata: properties: channels: type: integer created: format: date-time type: string diarize_info: $ref: "#/components/schemas/ListenV1ResponseMetadataDiarizeInfo" description: The diarizer that produced the speaker labels. Present only when a diarizer ran. duration: format: double type: number intents_info: $ref: "#/components/schemas/ListenV1ResponseMetadataIntentsInfo" model_info: $ref: "#/components/schemas/ListenV1ResponseMetadataModelInfo" models: items: type: string type: array request_id: format: uuid type: string sentiment_info: $ref: "#/components/schemas/ListenV1ResponseMetadataSentimentInfo" sha256: type: string summary_info: $ref: "#/components/schemas/ListenV1ResponseMetadataSummaryInfo" tags: items: type: string type: array topics_info: $ref: "#/components/schemas/ListenV1ResponseMetadataTopicsInfo" transaction_key: default: deprecated deprecated: true type: string required: - request_id - sha256 - created - duration - channels - models - model_info title: ListenV1ResponseMetadata type: object ListenV1ResponseMetadataDiarizeInfo: description: The diarizer that produced the speaker labels. Present only when a diarizer ran. properties: arch: description: The diarizer arch, such as `v1` or `v2` type: string model_uuid: description: The diarizer model UUID type: string required: - model_uuid - arch title: ListenV1ResponseMetadataDiarizeInfo type: object ListenV1ResponseMetadataIntentsInfo: properties: input_tokens: type: integer model_uuid: type: string output_tokens: type: integer title: ListenV1ResponseMetadataIntentsInfo type: object ListenV1ResponseMetadataModelInfo: properties: {} title: ListenV1ResponseMetadataModelInfo type: object ListenV1ResponseMetadataSentimentInfo: properties: input_tokens: type: integer model_uuid: type: string output_tokens: type: integer title: ListenV1ResponseMetadataSentimentInfo type: object ListenV1ResponseMetadataSummaryInfo: properties: input_tokens: type: integer model_uuid: type: string output_tokens: type: integer title: ListenV1ResponseMetadataSummaryInfo type: object ListenV1ResponseMetadataTopicsInfo: properties: input_tokens: type: integer model_uuid: type: string output_tokens: type: integer title: ListenV1ResponseMetadataTopicsInfo type: object ListenV1ResponseResults: properties: channels: $ref: "#/components/schemas/ListenV1ResponseResultsChannels" intents: $ref: "#/components/schemas/SharedIntents" sentiments: $ref: "#/components/schemas/SharedSentiments" summary: $ref: "#/components/schemas/ListenV1ResponseResultsSummary" topics: $ref: "#/components/schemas/SharedTopics" utterances: $ref: "#/components/schemas/ListenV1ResponseResultsUtterances" required: - channels title: ListenV1ResponseResults type: object ListenV1ResponseResultsChannels: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItems" title: ListenV1ResponseResultsChannels type: array ListenV1ResponseResultsChannelsItems: properties: alternatives: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItems" type: array detected_language: type: string search: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsSearchItems" type: array title: ListenV1ResponseResultsChannelsItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItems: properties: confidence: title: float type: string entities: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsEntitiesItems" type: array languages: description: "[BCP-47](https://tools.ietf.org/html/bcp47) language tags of the languages detected in the transcript, sorted by word count in descending order. Only present when `language=multi`. Can be absent on audio that switches languages." items: type: string type: array languages_hinted: description: "The `language_hint` values for the request, normalized: codes are returned in canonical form (`ES` → `es`, `zh-hk` → `zh-HK`), and a regional code the model has no tag for is returned as its base language (`en-GB` → `en`). Returned on every Nova-3 multilingual response (`model=nova-3&language=multi`); an empty array when no `language_hint` was sent." items: type: string type: array paragraphs: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphs" summaries: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsSummariesItems" type: array topics: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsTopicsItems" type: array transcript: type: string words: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsWordsItems" type: array title: ListenV1ResponseResultsChannelsItemsAlternativesItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsEntitiesItems: properties: confidence: title: float type: string end_word: title: float type: string label: type: string raw_value: type: string start_word: title: float type: string value: type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsEntitiesItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphs: properties: paragraphs: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItems" type: array transcript: type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphs type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItems: properties: end: title: float type: string num_words: type: integer sentences: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItemsSentencesItems" type: array speaker: type: integer start: title: float type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItemsSentencesItems: properties: end: title: float type: string start: title: float type: string text: type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsParagraphsParagraphsItemsSentencesItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsSummariesItems: properties: end_word: title: float type: string start_word: title: float type: string summary: type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsSummariesItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsTopicsItems: properties: end_word: title: float type: string start_word: title: float type: string text: type: string topics: items: type: string type: array title: ListenV1ResponseResultsChannelsItemsAlternativesItemsTopicsItems type: object ListenV1ResponseResultsChannelsItemsAlternativesItemsWordsItems: properties: confidence: title: float type: string end: title: float type: string language: description: "[BCP-47](https://tools.ietf.org/html/bcp47) language tag of the word's detected language. Only present when `language=multi`. Can be absent on audio that switches languages." type: string speaker: description: The speaker of the word, present when diarization is enabled type: integer speaker_confidence: description: Confidence in the speaker assignment. Returned only for pre-recorded diarization; not available for streaming title: float type: string start: title: float type: string word: type: string title: ListenV1ResponseResultsChannelsItemsAlternativesItemsWordsItems type: object ListenV1ResponseResultsChannelsItemsSearchItems: properties: hits: items: $ref: "#/components/schemas/ListenV1ResponseResultsChannelsItemsSearchItemsHitsItems" type: array query: type: string title: ListenV1ResponseResultsChannelsItemsSearchItems type: object ListenV1ResponseResultsChannelsItemsSearchItemsHitsItems: properties: confidence: title: float type: string end: title: float type: string snippet: type: string start: title: float type: string title: ListenV1ResponseResultsChannelsItemsSearchItemsHitsItems type: object ListenV1ResponseResultsSummary: properties: result: type: string short: type: string title: ListenV1ResponseResultsSummary type: object ListenV1ResponseResultsUtterances: items: $ref: "#/components/schemas/ListenV1ResponseResultsUtterancesItems" title: ListenV1ResponseResultsUtterances type: array ListenV1ResponseResultsUtterancesItems: properties: channel: type: integer confidence: title: float type: string end: title: float type: string id: format: uuid type: string languages: description: "[BCP-47](https://tools.ietf.org/html/bcp47) language tags of the languages detected in the utterance, sorted by word count in descending order. Only present when `language=multi`." items: type: string type: array speaker: type: integer start: title: float type: string transcript: type: string words: items: $ref: "#/components/schemas/ListenV1ResponseResultsUtterancesItemsWordsItems" type: array title: ListenV1ResponseResultsUtterancesItems type: object ListenV1ResponseResultsUtterancesItemsWordsItems: properties: confidence: title: float type: string end: title: float type: string language: description: "[BCP-47](https://tools.ietf.org/html/bcp47) language tag of the word's detected language. Only present when `language=multi`. Can be absent on audio that switches languages." type: string punctuated_word: type: string speaker: type: integer speaker_confidence: title: float type: string start: title: float type: string word: type: string title: ListenV1ResponseResultsUtterancesItemsWordsItems type: object ProjectRequestResponse: description: A single request properties: api_key_id: description: The unique identifier of the API key type: string callback: description: The callback URL for the request type: string code: description: The response code of the request format: double type: number created: description: The date and time the request was created format: date-time type: string deployment: description: The deployment type type: string path: description: The API path of the request type: string project_uuid: description: The unique identifier of the project type: string request_id: description: The unique identifier of the request type: string response: $ref: "#/components/schemas/ProjectRequestResponseResponse" description: The response of the request title: ProjectRequestResponse type: object ProjectRequestResponseResponse: description: The response of the request properties: {} title: ProjectRequestResponseResponse type: object ReadV1Request: oneOf: - $ref: "#/components/schemas/ReadV1RequestUrl" - $ref: "#/components/schemas/ReadV1RequestText" title: ReadV1Request ReadV1RequestText: properties: text: description: The plain text to analyze type: string required: - text title: ReadV1RequestText type: object ReadV1RequestUrl: properties: url: description: A URL pointing to the text source format: uri type: string required: - url title: ReadV1RequestUrl type: object ReadV1Response: description: The standard text response properties: metadata: $ref: "#/components/schemas/ReadV1ResponseMetadata" results: $ref: "#/components/schemas/ReadV1ResponseResults" required: - metadata - results title: ReadV1Response type: object ReadV1ResponseMetadata: properties: metadata: $ref: "#/components/schemas/ReadV1ResponseMetadataMetadata" title: ReadV1ResponseMetadata type: object ReadV1ResponseMetadataMetadata: properties: created: format: date-time type: string intents_info: $ref: "#/components/schemas/ReadV1ResponseMetadataMetadataIntentsInfo" language: type: string request_id: format: uuid type: string sentiment_info: $ref: "#/components/schemas/ReadV1ResponseMetadataMetadataSentimentInfo" summary_info: $ref: "#/components/schemas/ReadV1ResponseMetadataMetadataSummaryInfo" topics_info: $ref: "#/components/schemas/ReadV1ResponseMetadataMetadataTopicsInfo" title: ReadV1ResponseMetadataMetadata type: object ReadV1ResponseMetadataMetadataIntentsInfo: properties: input_tokens: type: integer model_uuid: format: uuid type: string output_tokens: type: integer title: ReadV1ResponseMetadataMetadataIntentsInfo type: object ReadV1ResponseMetadataMetadataSentimentInfo: properties: input_tokens: type: integer model_uuid: format: uuid type: string output_tokens: type: integer title: ReadV1ResponseMetadataMetadataSentimentInfo type: object ReadV1ResponseMetadataMetadataSummaryInfo: properties: input_tokens: type: integer model_uuid: format: uuid type: string output_tokens: type: integer title: ReadV1ResponseMetadataMetadataSummaryInfo type: object ReadV1ResponseMetadataMetadataTopicsInfo: properties: input_tokens: type: integer model_uuid: format: uuid type: string output_tokens: type: integer title: ReadV1ResponseMetadataMetadataTopicsInfo type: object ReadV1ResponseResults: properties: intents: $ref: "#/components/schemas/SharedIntents" sentiments: $ref: "#/components/schemas/SharedSentiments" summary: $ref: "#/components/schemas/ReadV1ResponseResultsSummary" topics: $ref: "#/components/schemas/SharedTopics" title: ReadV1ResponseResults type: object ReadV1ResponseResultsSummary: description: Output whenever `summary=true` is used properties: results: $ref: "#/components/schemas/ReadV1ResponseResultsSummaryResults" title: ReadV1ResponseResultsSummary type: object ReadV1ResponseResultsSummaryResults: properties: summary: $ref: "#/components/schemas/ReadV1ResponseResultsSummaryResultsSummary" title: ReadV1ResponseResultsSummaryResults type: object ReadV1ResponseResultsSummaryResultsSummary: properties: text: type: string title: ReadV1ResponseResultsSummaryResultsSummary type: object SharedIntents: description: Output whenever `intents=true` is used properties: segments: items: $ref: "#/components/schemas/SharedIntentsSegmentsItems" type: array title: SharedIntents type: object SharedIntentsSegmentsItems: properties: end_word: format: double type: number intents: items: $ref: "#/components/schemas/SharedIntentsSegmentsItemsIntentsItems" type: array start_word: format: double type: number text: type: string title: SharedIntentsSegmentsItems type: object SharedIntentsSegmentsItemsIntentsItems: properties: confidence_score: title: float type: string intent: type: string title: SharedIntentsSegmentsItemsIntentsItems type: object SharedSentiments: description: Output whenever `sentiment=true` is used properties: average: $ref: "#/components/schemas/SharedSentimentsAverage" segments: items: $ref: "#/components/schemas/SharedSentimentsSegmentsItems" type: array title: SharedSentiments type: object SharedSentimentsAverage: properties: sentiment: type: string sentiment_score: format: double type: number title: SharedSentimentsAverage type: object SharedSentimentsSegmentsItems: properties: end_word: format: double type: number sentiment: type: string sentiment_score: format: double type: number start_word: format: double type: number text: type: string title: SharedSentimentsSegmentsItems type: object SharedTopics: description: Output whenever `topics=true` is used properties: segments: items: $ref: "#/components/schemas/SharedTopicsSegmentsItems" type: array title: SharedTopics type: object SharedTopicsSegmentsItems: properties: end_word: format: double type: number start_word: format: double type: number text: type: string topics: items: $ref: "#/components/schemas/SharedTopicsSegmentsItemsTopicsItems" type: array title: SharedTopicsSegmentsItems type: object SharedTopicsSegmentsItemsTopicsItems: properties: confidence_score: title: float type: string topic: type: string title: SharedTopicsSegmentsItemsTopicsItems type: object SpeakV1Request: description: Request body for text-to-speech conversion properties: text: description: The text content to be converted to speech type: string required: - text title: SpeakV1Request type: object SpeakV2AcceptedResponse: description: Accepted response returned when a callback URL is supplied; the audio is delivered asynchronously to that URL. properties: request_id: description: Unique identifier for tracking the asynchronous request format: uuid type: string required: - request_id title: SpeakV2AcceptedResponse type: object SpeakV2Request: description: Request body for Flux TTS batch (REST) text-to-speech conversion. The full block of text is synthesized in a single request and returned as one audio response. properties: text: description: 'The text content to be converted to speech. For English, German, Dutch, French, Hindi, Italian, Japanese, Portuguese, Russian and Spanish, the server normalizes the text (numbers, dates, abbreviations) before synthesis; the other languages are in Early Access without text normalization, so write numbers and dates out in words. May contain inline pause controls (`\{pause:500ms\}`, 500-3000 ms in 100 ms steps, at most 8 per request) and inline pronunciation controls (`\{"word": "...", "pronounce": ""\}`, Early Access). Pronunciation cannot be combined with pause or with a `speed` other than `1.0`, and `speed` is capped at `1.15` when a pause is present. See [Speed, Pause, Pronunciation](/docs/tts-voice-controls).' type: string required: - text title: SpeakV2Request type: object UpdateAgentMetadataV1Request: description: Request body for updating agent configuration metadata properties: metadata: additionalProperties: type: string description: A map of string key-value pairs to associate with this agent configuration type: object required: - metadata title: UpdateAgentMetadataV1Request type: object UpdateAgentVariableV1Request: description: Request body for updating an agent variable properties: value: description: The new value to substitute required: - value title: UpdateAgentVariableV1Request type: object UpdateProjectMemberScopesV1Request: properties: scope: description: A scope to update type: string required: - scope title: UpdateProjectMemberScopesV1Request type: object UpdateProjectMemberScopesV1Response: properties: message: description: confirmation message type: string title: UpdateProjectMemberScopesV1Response type: object UpdateProjectV1Request: properties: name: description: The name of the project type: string title: UpdateProjectV1Request type: object UpdateProjectV1Response: properties: message: description: confirmation message type: string title: UpdateProjectV1Response type: object UsageBreakdownV1Response: properties: end: description: End date of the usage period format: date type: string resolution: $ref: "#/components/schemas/UsageBreakdownV1ResponseResolution" results: items: $ref: "#/components/schemas/UsageBreakdownV1ResponseResultsItems" type: array start: description: Start date of the usage period format: date type: string required: - start - end - resolution - results title: UsageBreakdownV1Response type: object UsageBreakdownV1ResponseResolution: properties: amount: description: Amount of units format: double type: number units: description: Time unit for the resolution type: string required: - units - amount title: UsageBreakdownV1ResponseResolution type: object UsageBreakdownV1ResponseResultsItems: properties: agent_hours: description: Agent hours used title: float type: string grouping: $ref: "#/components/schemas/UsageBreakdownV1ResponseResultsItemsGrouping" hours: description: Audio hours processed title: float type: string requests: description: Number of requests format: double type: number tokens_in: description: Number of input tokens format: double type: number tokens_out: description: Number of output tokens format: double type: number total_hours: description: Total hours including all processing title: float type: string tts_characters: description: Number of text-to-speech characters processed format: double type: number required: - hours - total_hours - agent_hours - tokens_in - tokens_out - tts_characters - requests - grouping title: UsageBreakdownV1ResponseResultsItems type: object UsageBreakdownV1ResponseResultsItemsGrouping: properties: accessor: description: Optional accessor identifier type: - string - "null" deployment: description: Optional deployment identifier type: - string - "null" end: description: End date for this group format: date type: string endpoint: description: Optional endpoint identifier type: - string - "null" feature_set: description: Optional feature set identifier type: - string - "null" method: description: Optional method identifier type: - string - "null" models: items: type: string type: array start: description: Start date for this group format: date type: string tags: description: Optional list of tags, null unless grouped by tags. items: type: string type: - array - "null" title: UsageBreakdownV1ResponseResultsItemsGrouping type: object UsageFieldsV1Response: properties: features: description: API features available to the project items: type: string type: array models: description: List of models available for the project. items: $ref: "#/components/schemas/UsageFieldsV1ResponseModelsItems" type: array processing_methods: description: Processing methods supported by the API items: type: string type: array tags: description: List of tags associated with the project items: type: string type: array title: UsageFieldsV1Response type: object UsageFieldsV1ResponseModelsItems: properties: language: description: The language supported by the model (IETF language tag). type: string model_id: description: Unique identifier for the model. type: string name: description: Name of the model. type: string version: description: Version identifier of the model, typically with a date and a revision number. type: string title: UsageFieldsV1ResponseModelsItems type: object UsageV1Response: properties: end: format: date type: string resolution: $ref: "#/components/schemas/UsageV1ResponseResolution" start: format: date type: string title: UsageV1Response type: object UsageV1ResponseResolution: properties: amount: format: double type: number units: type: string title: UsageV1ResponseResolution type: object V1ListenPostParametersCallbackMethod: default: POST enum: - POST - PUT title: V1ListenPostParametersCallbackMethod type: string V1ListenPostParametersCustomIntent: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersCustomIntent V1ListenPostParametersCustomIntentMode: default: extended enum: - extended - strict title: V1ListenPostParametersCustomIntentMode type: string V1ListenPostParametersCustomTopic: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersCustomTopic V1ListenPostParametersCustomTopicMode: default: extended enum: - extended - strict title: V1ListenPostParametersCustomTopicMode type: string V1ListenPostParametersDetectLanguage: oneOf: - default: false type: boolean - items: type: string type: array title: V1ListenPostParametersDetectLanguage V1ListenPostParametersDiarizeModel: enum: - latest - v1 - v2 title: V1ListenPostParametersDiarizeModel type: string V1ListenPostParametersEncoding: enum: - linear16 - flac - mulaw - amr-nb - amr-wb - opus - speex - g729 title: V1ListenPostParametersEncoding type: string V1ListenPostParametersExtra: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersExtra V1ListenPostParametersKeywords: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersKeywords V1ListenPostParametersLanguageHint: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersLanguageHint V1ListenPostParametersModel: oneOf: - $ref: "#/components/schemas/V1ListenPostParametersModel0" - type: string title: V1ListenPostParametersModel V1ListenPostParametersModel0: description: Our public models available to all accounts enum: - nova-3 - nova-3-general - nova-3-medical - nova-2 - nova-2-general - nova-2-meeting - nova-2-finance - nova-2-conversationalai - nova-2-voicemail - nova-2-video - nova-2-medical - nova-2-drivethru - nova-2-automotive - nova - nova-general - nova-phonecall - nova-medical - enhanced - enhanced-general - enhanced-meeting - enhanced-phonecall - enhanced-finance - base - meeting - phonecall - finance - conversationalai - voicemail - video title: V1ListenPostParametersModel0 type: string V1ListenPostParametersRedact: oneOf: - type: string - $ref: "#/components/schemas/V1ListenPostParametersRedact1" title: V1ListenPostParametersRedact V1ListenPostParametersRedact1: items: $ref: "#/components/schemas/V1ListenPostParametersRedactSchemaOneOf1Items" title: V1ListenPostParametersRedact1 type: array V1ListenPostParametersRedactSchemaOneOf1Items: enum: - pci - pii - numbers title: V1ListenPostParametersRedactSchemaOneOf1Items type: string V1ListenPostParametersReplace: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersReplace V1ListenPostParametersSearch: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersSearch V1ListenPostParametersSummarize: oneOf: - $ref: "#/components/schemas/V1ListenPostParametersSummarize0" - default: false type: boolean title: V1ListenPostParametersSummarize V1ListenPostParametersSummarize0: enum: - v2 title: V1ListenPostParametersSummarize0 type: string V1ListenPostParametersTag: oneOf: - type: string - items: type: string type: array title: V1ListenPostParametersTag V1ListenPostParametersVersion: oneOf: - $ref: "#/components/schemas/V1ListenPostParametersVersion0" - type: string title: V1ListenPostParametersVersion V1ListenPostParametersVersion0: description: Use the latest version of a model enum: - latest title: V1ListenPostParametersVersion0 type: string V1ProjectsProjectIdBillingBreakdownGetParametersDeployment: description: Deployment type for the requests enum: - hosted - beta - self-hosted title: V1ProjectsProjectIdBillingBreakdownGetParametersDeployment type: string V1ProjectsProjectIdBillingBreakdownGetParametersGroupingSchemaItems: enum: - accessor - deployment - line_item - tags title: V1ProjectsProjectIdBillingBreakdownGetParametersGroupingSchemaItems type: string V1ProjectsProjectIdKeysGetParametersStatus: enum: - active - expired title: V1ProjectsProjectIdKeysGetParametersStatus type: string V1ProjectsProjectIdRequestsGetParametersDeployment: description: Deployment type for the requests enum: - hosted - beta - self-hosted title: V1ProjectsProjectIdRequestsGetParametersDeployment type: string V1ProjectsProjectIdRequestsGetParametersEndpoint: enum: - listen - read - speak - agent title: V1ProjectsProjectIdRequestsGetParametersEndpoint type: string V1ProjectsProjectIdRequestsGetParametersMethod: description: Method type for the request enum: - sync - async - streaming title: V1ProjectsProjectIdRequestsGetParametersMethod type: string V1ProjectsProjectIdRequestsGetParametersStatus: enum: - succeeded - failed title: V1ProjectsProjectIdRequestsGetParametersStatus type: string V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersProvider: default: quay enum: - quay title: V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersProvider type: string V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersScopesSchemaItems: enum: - self-hosted:products - self-hosted:product:api - self-hosted:product:engine - self-hosted:product:license-proxy - self-hosted:product:dgtools - self-hosted:product:billing - self-hosted:product:hotpepper - self-hosted:product:metrics-server title: V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersScopesSchemaItems type: string V1ProjectsProjectIdUsageBreakdownGetParametersDeployment: description: Deployment type for the requests enum: - hosted - beta - self-hosted title: V1ProjectsProjectIdUsageBreakdownGetParametersDeployment type: string V1ProjectsProjectIdUsageBreakdownGetParametersEndpoint: enum: - listen - read - speak - agent title: V1ProjectsProjectIdUsageBreakdownGetParametersEndpoint type: string V1ProjectsProjectIdUsageBreakdownGetParametersGrouping: enum: - accessor - endpoint - feature_set - models - method - tags - deployment title: V1ProjectsProjectIdUsageBreakdownGetParametersGrouping type: string V1ProjectsProjectIdUsageBreakdownGetParametersMethod: description: Method type for the request enum: - sync - async - streaming title: V1ProjectsProjectIdUsageBreakdownGetParametersMethod type: string V1ProjectsProjectIdUsageGetParametersDeployment: description: Deployment type for the requests enum: - hosted - beta - self-hosted title: V1ProjectsProjectIdUsageGetParametersDeployment type: string V1ProjectsProjectIdUsageGetParametersEndpoint: enum: - listen - read - speak - agent title: V1ProjectsProjectIdUsageGetParametersEndpoint type: string V1ProjectsProjectIdUsageGetParametersMethod: description: Method type for the request enum: - sync - async - streaming title: V1ProjectsProjectIdUsageGetParametersMethod type: string V1ReadPostParametersCallbackMethod: default: POST enum: - POST - PUT title: V1ReadPostParametersCallbackMethod type: string V1ReadPostParametersCustomIntent: oneOf: - type: string - items: type: string type: array title: V1ReadPostParametersCustomIntent V1ReadPostParametersCustomIntentMode: default: extended enum: - extended - strict title: V1ReadPostParametersCustomIntentMode type: string V1ReadPostParametersCustomTopic: oneOf: - type: string - items: type: string type: array title: V1ReadPostParametersCustomTopic V1ReadPostParametersCustomTopicMode: default: extended enum: - extended - strict title: V1ReadPostParametersCustomTopicMode type: string V1ReadPostParametersSummarize: oneOf: - $ref: "#/components/schemas/V1ReadPostParametersSummarize0" - default: false type: boolean title: V1ReadPostParametersSummarize V1ReadPostParametersSummarize0: enum: - v2 title: V1ReadPostParametersSummarize0 type: string V1ReadPostParametersTag: oneOf: - type: string - items: type: string type: array title: V1ReadPostParametersTag V1SpeakPostParametersBitRate: oneOf: - $ref: "#/components/schemas/V1SpeakPostParametersBitRate0" - format: double maximum: 650000 minimum: 4000 type: number - format: double maximum: 192000 minimum: 4000 type: number title: V1SpeakPostParametersBitRate V1SpeakPostParametersBitRate0: description: Encoding - mp3(default). Supported bitrates - 32000, 48000(default) bps. enum: - "32000" - "48000" title: V1SpeakPostParametersBitRate0 type: string V1SpeakPostParametersCallbackMethod: default: POST enum: - POST - PUT title: V1SpeakPostParametersCallbackMethod type: string V1SpeakPostParametersContainer: oneOf: - $ref: "#/components/schemas/V1SpeakPostParametersContainer0" - $ref: "#/components/schemas/V1SpeakPostParametersContainer1" - $ref: "#/components/schemas/V1SpeakPostParametersContainer2" - $ref: "#/components/schemas/V1SpeakPostParametersContainer3" - $ref: "#/components/schemas/V1SpeakPostParametersContainer4" title: V1SpeakPostParametersContainer V1SpeakPostParametersContainer0: description: No container. enum: - none title: V1SpeakPostParametersContainer0 type: string V1SpeakPostParametersContainer1: description: Encoding - linear16. Supported container - wav (default), or no container. enum: - wav title: V1SpeakPostParametersContainer1 type: string V1SpeakPostParametersContainer2: description: Encoding - mulaw. Supported container - wav (default), or no container. enum: - wav title: V1SpeakPostParametersContainer2 type: string V1SpeakPostParametersContainer3: description: Encoding - alaw. Supported container - wav (default), or no container. enum: - wav title: V1SpeakPostParametersContainer3 type: string V1SpeakPostParametersContainer4: description: Encoding - opus. Supported container - ogg (default). enum: - ogg title: V1SpeakPostParametersContainer4 type: string V1SpeakPostParametersEncoding: oneOf: - $ref: "#/components/schemas/V1SpeakPostParametersEncoding0" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding1" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding2" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding3" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding4" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding5" - $ref: "#/components/schemas/V1SpeakPostParametersEncoding6" title: V1SpeakPostParametersEncoding V1SpeakPostParametersEncoding0: description: Encoding - linear16. Uncompressed, high-quality audio format often used for telephony or audio processing. enum: - linear16 title: V1SpeakPostParametersEncoding0 type: string V1SpeakPostParametersEncoding1: description: Encoding - flac. Lossless audio format for high-quality compression. enum: - flac title: V1SpeakPostParametersEncoding1 type: string V1SpeakPostParametersEncoding2: description: Encoding - mulaw. Compressed audio format commonly used in telephony. enum: - mulaw title: V1SpeakPostParametersEncoding2 type: string V1SpeakPostParametersEncoding3: description: Encoding - alaw. Similar to mulaw but used in international telephony. enum: - alaw title: V1SpeakPostParametersEncoding3 type: string V1SpeakPostParametersEncoding4: description: Encoding - mp3. Popular compressed audio format for music and streaming. enum: - mp3 title: V1SpeakPostParametersEncoding4 type: string V1SpeakPostParametersEncoding5: description: Encoding - opus. High-compression audio format optimized for real-time communications. enum: - opus title: V1SpeakPostParametersEncoding5 type: string V1SpeakPostParametersEncoding6: description: Encoding - aac. Advanced audio format offering better quality at smaller file sizes than mp3. enum: - aac title: V1SpeakPostParametersEncoding6 type: string V1SpeakPostParametersModel: default: aura-asteria-en enum: - aura-angus-en - aura-arcas-en - aura-asteria-en - aura-athena-en - aura-helios-en - aura-hera-en - aura-luna-en - aura-orion-en - aura-orpheus-en - aura-perseus-en - aura-stella-en - aura-zeus-en - aura-2-amalthea-en - aura-2-andromeda-en - aura-2-apollo-en - aura-2-arcas-en - aura-2-aries-en - aura-2-asteria-en - aura-2-athena-en - aura-2-atlas-en - aura-2-aurora-en - aura-2-callista-en - aura-2-cora-en - aura-2-cordelia-en - aura-2-delia-en - aura-2-draco-en - aura-2-electra-en - aura-2-harmonia-en - aura-2-helena-en - aura-2-hera-en - aura-2-hermes-en - aura-2-hyperion-en - aura-2-iris-en - aura-2-janus-en - aura-2-juno-en - aura-2-jupiter-en - aura-2-luna-en - aura-2-mars-en - aura-2-minerva-en - aura-2-neptune-en - aura-2-odysseus-en - aura-2-ophelia-en - aura-2-orion-en - aura-2-orpheus-en - aura-2-pandora-en - aura-2-phoebe-en - aura-2-pluto-en - aura-2-saturn-en - aura-2-selene-en - aura-2-thalia-en - aura-2-theia-en - aura-2-vesta-en - aura-2-zeus-en - aura-2-agustina-es - aura-2-alvaro-es - aura-2-antonia-es - aura-2-aquila-es - aura-2-carina-es - aura-2-celeste-es - aura-2-diana-es - aura-2-estrella-es - aura-2-gloria-es - aura-2-javier-es - aura-2-luciano-es - aura-2-nestor-es - aura-2-olivia-es - aura-2-selena-es - aura-2-silvia-es - aura-2-sirio-es - aura-2-valerio-es - aura-2-aurelia-de - aura-2-elara-de - aura-2-fabian-de - aura-2-julius-de - aura-2-kara-de - aura-2-lara-de - aura-2-viktoria-de - aura-2-beatrix-nl - aura-2-cornelia-nl - aura-2-daphne-nl - aura-2-hestia-nl - aura-2-lars-nl - aura-2-leda-nl - aura-2-rhea-nl - aura-2-roman-nl - aura-2-sander-nl - aura-2-agathe-fr - aura-2-hector-fr - aura-2-cesare-it - aura-2-cinzia-it - aura-2-demetra-it - aura-2-dionisio-it - aura-2-elio-it - aura-2-flavio-it - aura-2-livia-it - aura-2-maia-it - aura-2-melia-it - aura-2-ama-ja - aura-2-ebisu-ja - aura-2-fujin-ja - aura-2-izanami-ja - aura-2-uzume-ja title: V1SpeakPostParametersModel type: string V1SpeakPostParametersSampleRate: oneOf: - $ref: "#/components/schemas/V1SpeakPostParametersSampleRate0" - $ref: "#/components/schemas/V1SpeakPostParametersSampleRate1" - $ref: "#/components/schemas/V1SpeakPostParametersSampleRate2" - $ref: "#/components/schemas/V1SpeakPostParametersSampleRate3" - $ref: "#/components/schemas/V1SpeakPostParametersSampleRate4" title: V1SpeakPostParametersSampleRate V1SpeakPostParametersSampleRate0: description: Encoding - linear16. Supported sample rates - 8000, 16000, 24000, 32000, 48000 Hz. enum: - "8000" - "16000" - "24000" - "32000" - "48000" title: V1SpeakPostParametersSampleRate0 type: string V1SpeakPostParametersSampleRate1: description: Encoding - mulaw. Supported sample rates - 8000, 16000 Hz. enum: - "8000" - "16000" title: V1SpeakPostParametersSampleRate1 type: string V1SpeakPostParametersSampleRate2: description: Encoding - alaw. Supported sample rates - 8000, 16000 Hz. enum: - "8000" - "16000" title: V1SpeakPostParametersSampleRate2 type: string V1SpeakPostParametersSampleRate3: description: Encoding - mp3. Sample rate is fixed and not configurable (22050 Hz). enum: - "22050" title: V1SpeakPostParametersSampleRate3 type: string V1SpeakPostParametersSampleRate4: description: Encoding - opus. Sample rate is fixed at 48000 Hz. enum: - "48000" title: V1SpeakPostParametersSampleRate4 type: string V1SpeakPostParametersTag: oneOf: - type: string - items: type: string type: array title: V1SpeakPostParametersTag V2SpeakPostParametersBitRate: oneOf: - $ref: "#/components/schemas/V2SpeakPostParametersBitRate0" - maximum: 650000 minimum: 4000 type: integer - maximum: 192000 minimum: 4000 type: integer title: V2SpeakPostParametersBitRate V2SpeakPostParametersBitRate0: description: Encoding - mp3(default). Supported bitrates - 8000, 16000, 24000, 32000, 40000, 48000(default) bps. enum: - "8000" - "16000" - "24000" - "32000" - "40000" - "48000" title: V2SpeakPostParametersBitRate0 type: string V2SpeakPostParametersCallbackMethod: default: POST enum: - POST - PUT title: V2SpeakPostParametersCallbackMethod type: string V2SpeakPostParametersContainer: oneOf: - $ref: "#/components/schemas/V2SpeakPostParametersContainer0" - $ref: "#/components/schemas/V2SpeakPostParametersContainer1" - $ref: "#/components/schemas/V2SpeakPostParametersContainer2" - $ref: "#/components/schemas/V2SpeakPostParametersContainer3" - $ref: "#/components/schemas/V2SpeakPostParametersContainer4" title: V2SpeakPostParametersContainer V2SpeakPostParametersContainer0: description: No container. enum: - none title: V2SpeakPostParametersContainer0 type: string V2SpeakPostParametersContainer1: description: Encoding - linear16. Supported container - wav (default), or no container. enum: - wav title: V2SpeakPostParametersContainer1 type: string V2SpeakPostParametersContainer2: description: Encoding - mulaw. Supported container - wav (default), or no container. enum: - wav title: V2SpeakPostParametersContainer2 type: string V2SpeakPostParametersContainer3: description: Encoding - alaw. Supported container - wav (default), or no container. enum: - wav title: V2SpeakPostParametersContainer3 type: string V2SpeakPostParametersContainer4: description: Encoding - opus. Supported container - ogg (default). enum: - ogg title: V2SpeakPostParametersContainer4 type: string V2SpeakPostParametersEncoding: oneOf: - $ref: "#/components/schemas/V2SpeakPostParametersEncoding0" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding1" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding2" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding3" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding4" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding5" - $ref: "#/components/schemas/V2SpeakPostParametersEncoding6" title: V2SpeakPostParametersEncoding V2SpeakPostParametersEncoding0: description: Encoding - linear16. Uncompressed, high-quality audio format often used for telephony or audio processing. enum: - linear16 title: V2SpeakPostParametersEncoding0 type: string V2SpeakPostParametersEncoding1: description: Encoding - flac. Lossless audio format for high-quality compression. enum: - flac title: V2SpeakPostParametersEncoding1 type: string V2SpeakPostParametersEncoding2: description: Encoding - mulaw. Compressed audio format commonly used in telephony. enum: - mulaw title: V2SpeakPostParametersEncoding2 type: string V2SpeakPostParametersEncoding3: description: Encoding - alaw. Similar to mulaw but used in international telephony. enum: - alaw title: V2SpeakPostParametersEncoding3 type: string V2SpeakPostParametersEncoding4: description: Encoding - mp3. Popular compressed audio format for music and streaming. enum: - mp3 title: V2SpeakPostParametersEncoding4 type: string V2SpeakPostParametersEncoding5: description: Encoding - opus. High-compression audio format optimized for real-time communications. enum: - opus title: V2SpeakPostParametersEncoding5 type: string V2SpeakPostParametersEncoding6: description: Encoding - aac. Advanced audio format offering better quality at smaller file sizes than mp3. enum: - aac title: V2SpeakPostParametersEncoding6 type: string V2SpeakPostParametersExpressivity: enum: - "-2" - "-1" - "0" - "1" - "2" title: V2SpeakPostParametersExpressivity type: string V2SpeakPostParametersPriority: enum: - low title: V2SpeakPostParametersPriority type: string V2SpeakPostParametersSampleRate: oneOf: - $ref: "#/components/schemas/V2SpeakPostParametersSampleRate0" - $ref: "#/components/schemas/V2SpeakPostParametersSampleRate1" - $ref: "#/components/schemas/V2SpeakPostParametersSampleRate2" - $ref: "#/components/schemas/V2SpeakPostParametersSampleRate3" title: V2SpeakPostParametersSampleRate V2SpeakPostParametersSampleRate0: description: Encoding - linear16. Supported sample rates - 8000, 16000, 24000, 32000, 44100, 48000 Hz. enum: - "8000" - "16000" - "24000" - "32000" - "44100" - "48000" title: V2SpeakPostParametersSampleRate0 type: string V2SpeakPostParametersSampleRate1: description: Encoding - mulaw. Supported sample rates - 8000, 16000 Hz. enum: - "8000" - "16000" title: V2SpeakPostParametersSampleRate1 type: string V2SpeakPostParametersSampleRate2: description: Encoding - alaw. Supported sample rates - 8000, 16000 Hz. enum: - "8000" - "16000" title: V2SpeakPostParametersSampleRate2 type: string V2SpeakPostParametersSampleRate3: description: Encoding - flac. Supported sample rates - 8000, 16000, 22050, 32000, 48000 Hz. enum: - "8000" - "16000" - "22050" - "32000" - "48000" title: V2SpeakPostParametersSampleRate3 type: string V2SpeakPostParametersTag: oneOf: - type: string - items: type: string type: array title: V2SpeakPostParametersTag listen_v1_media_transcribe_Response_200: oneOf: - $ref: "#/components/schemas/ListenV1Response" - $ref: "#/components/schemas/ListenV1AcceptedResponse" title: listen_v1_media_transcribe_Response_200 speak_v1_audio_generate_Response_200: description: Empty response body properties: {} title: speak_v1_audio_generate_Response_200 type: object securitySchemes: ApiKeyAuth: description: | Use `Authorization: Token ` Example: `Authorization: Token 12345abcdef` in: header name: Authorization type: apiKey JwtAuth: description: | Use `Authorization: Bearer ` Example: `Authorization: Bearer eyJhbGciOiJ...` scheme: bearer type: http info: title: REST API version: 1.0.0 openapi: 3.1.0 paths: /v1/agent/settings/think/models: get: description: Retrieves the available think models that can be used for AI agent processing operationId: models_list responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentThinkModelsV1Response" description: List of available think models "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request servers: - description: Production url: https://agent.deepgram.com summary: List Agent Think Models tags: - models /v1/auth/grant: post: description: Generates a temporary JSON Web Token (JWT) with a 30-second (by default) TTL and usage::write permission for core voice APIs, requiring an API key with Member or higher authorization. Tokens created with this endpoint will not work with the Manage APIs. operationId: tokens_grant requestBody: content: application/json: schema: $ref: "#/components/schemas/GrantV1Request" description: Time to live settings responses: "200": content: application/json: schema: $ref: "#/components/schemas/GrantV1Response" description: Grant response "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Token-based Authentication tags: - tokens /v1/listen: post: description: Transcribe audio and video using Deepgram's speech-to-text REST API operationId: media_transcribe parameters: - description: URL to which we'll make the callback request in: query name: callback required: false schema: type: string - description: HTTP method by which the callback request will be made in: query name: callback_method required: false schema: $ref: "#/components/schemas/V1ListenPostParametersCallbackMethod" default: POST - description: Arbitrary key-value pairs that are attached to the API response for usage in downstream processing in: query name: extra required: false schema: $ref: "#/components/schemas/V1ListenPostParametersExtra" - description: Recognizes the sentiment throughout a transcript or text in: query name: sentiment required: false schema: default: false type: boolean - description: Summarize content. For Listen API, supports string version option. For Read API, accepts boolean only. in: query name: summarize required: false schema: $ref: "#/components/schemas/V1ListenPostParametersSummarize" - description: Label your requests for the purpose of identification during usage reporting in: query name: tag required: false schema: $ref: "#/components/schemas/V1ListenPostParametersTag" - description: Detect topics throughout a transcript or text in: query name: topics required: false schema: default: false type: boolean - description: Custom topics you want the model to detect within your input audio or text if present Submit up to `100`. in: query name: custom_topic required: false schema: $ref: "#/components/schemas/V1ListenPostParametersCustomTopic" - description: Sets how the model will interpret strings submitted to the `custom_topic` param. When `strict`, the model will only return topics submitted using the `custom_topic` param. When `extended`, the model will return its own detected topics in addition to those submitted using the `custom_topic` param in: query name: custom_topic_mode required: false schema: $ref: "#/components/schemas/V1ListenPostParametersCustomTopicMode" default: extended - description: Recognizes speaker intent throughout a transcript or text in: query name: intents required: false schema: default: false type: boolean - description: Custom intents you want the model to detect within your input audio if present in: query name: custom_intent required: false schema: $ref: "#/components/schemas/V1ListenPostParametersCustomIntent" - description: Sets how the model will interpret intents submitted to the `custom_intent` param. When `strict`, the model will only return intents submitted using the `custom_intent` param. When `extended`, the model will return its own detected intents in the `custom_intent` param. in: query name: custom_intent_mode required: false schema: $ref: "#/components/schemas/V1ListenPostParametersCustomIntentMode" default: extended - description: Identifies and extracts key entities from content in submitted audio in: query name: detect_entities required: false schema: default: false type: boolean - description: Identifies the dominant language spoken in submitted audio in: query name: detect_language required: false schema: $ref: "#/components/schemas/V1ListenPostParametersDetectLanguage" - deprecated: true description: "Deprecated: use `diarize_model` instead. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0." in: query name: diarize required: false schema: default: false type: boolean - description: Select and enable a specific diarization model version. Specifying this parameter enables diarization and selects the model — you do not need to also set the deprecated `diarize=true` parameter. For batch, supported values are `latest` (currently v2), `v1`, and `v2`. For streaming, supported values are `latest` (currently v1) and `v1`; `v2` returns a validation error on streaming requests. in: query name: diarize_model required: false schema: $ref: "#/components/schemas/V1ListenPostParametersDiarizeModel" - description: Dictation mode for controlling formatting with dictated speech in: query name: dictation required: false schema: default: false type: boolean - description: Specify the expected encoding of your submitted audio in: query name: encoding required: false schema: $ref: "#/components/schemas/V1ListenPostParametersEncoding" - description: Filler Words can help transcribe interruptions in your audio, like "uh" and "um" in: query name: filler_words required: false schema: default: false type: boolean - description: | Key term prompting improves recognition of specialized terminology and brands. Only compatible with Nova-3. `keyterm` accepts plain terms only. Unlike the legacy `keywords` feature, it does not support weights or intensifiers. Appending one (for example, `keyterm=term:0.15`) is not rejected—the weight is silently ignored and the entire value is treated as a literal keyterm. To boost multiple separate keyterms, repeat the `keyterm` parameter (for example, `keyterm=term1&keyterm=term2`). To boost one multi-word phrase as a single keyterm, join the words with `%20` or `+` (for example, `keyterm=customer%20service`). Do not separate keyterms with commas, semicolons, or line breaks. in: query name: keyterm required: false schema: items: type: string type: array - description: Keywords can boost or suppress specialized terminology and brands. `keywords` is not supported with Nova-3 models; use `keyterm` instead. in: query name: keywords required: false schema: $ref: "#/components/schemas/V1ListenPostParametersKeywords" - description: The [BCP-47 language tag](https://tools.ietf.org/html/bcp47) that hints at the primary spoken language. Depending on the Model and API endpoint you choose only certain languages are available in: query name: language required: false schema: default: en type: string - description: | Biases language detection toward one or more languages on Nova-3 multilingual (`model=nova-3&language=multi`); ignored with any other `language`. Repeat the parameter to pass several codes, for example `language_hint=en&language_hint=es`. A code that is not in the [Nova-3 multilingual list](/docs/models-languages-overview#nova-3) fails the request with HTTP 400. See [Nova-3 Language Prompting](/docs/nova-3-language-prompting). in: query name: language_hint required: false schema: $ref: "#/components/schemas/V1ListenPostParametersLanguageHint" - description: Spoken measurements will be converted to their corresponding abbreviations in: query name: measurements required: false schema: default: false type: boolean - description: AI model used to process submitted audio in: query name: model required: false schema: $ref: "#/components/schemas/V1ListenPostParametersModel" default: base-general - description: Transcribe each audio channel independently in: query name: multichannel required: false schema: default: false type: boolean - description: Numerals converts numbers from written format to numerical format in: query name: numerals required: false schema: default: false type: boolean - description: Splits audio into paragraphs to improve transcript readability in: query name: paragraphs required: false schema: default: false type: boolean - description: Profanity Filter looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely in: query name: profanity_filter required: false schema: default: false type: boolean - description: Add punctuation and capitalization to the transcript in: query name: punctuate required: false schema: default: false type: boolean - description: Redaction removes sensitive information from your transcripts in: query name: redact required: false schema: $ref: "#/components/schemas/V1ListenPostParametersRedact" default: false - description: | Replaces the values of user-supplied text parameters (`keyterm`, `keywords`, `replace`, `search`, `extra`, `custom_topic`, and `custom_intent`) with `[REDACTED]` in this request's usage records. Does not affect transcription, the response, `tag`, or `callback`. Independent of `mip_opt_out`. https://developers.deepgram.com/docs/redact-usage in: query name: redact_usage required: false schema: default: false type: boolean - description: Search for terms or phrases in submitted audio and replaces them in: query name: replace required: false schema: $ref: "#/components/schemas/V1ListenPostParametersReplace" - description: Search for terms or phrases in submitted audio in: query name: search required: false schema: $ref: "#/components/schemas/V1ListenPostParametersSearch" - description: Apply formatting to transcript output. When set to true, additional formatting will be applied to transcripts to improve readability in: query name: smart_format required: false schema: default: false type: boolean - description: Segments speech into meaningful semantic units in: query name: utterances required: false schema: default: false type: boolean - description: Seconds to wait before detecting a pause between words in submitted audio in: query name: utt_split required: false schema: default: 0.8 format: double type: number - description: Version of an AI model to use in: query name: version required: false schema: $ref: "#/components/schemas/V1ListenPostParametersVersion" default: latest - description: Opts out requests from the Deepgram Model Improvement Program. Refer to our Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip in: query name: mip_opt_out required: false schema: default: false type: boolean requestBody: content: application/json: schema: $ref: "#/components/schemas/ListenV1RequestUrl" description: Transcribe an audio or video file responses: "200": content: application/json: schema: $ref: "#/components/schemas/listen_v1_media_transcribe_Response_200" description: Returns either transcription results, or a request_id when using a callback. "400": content: application/json: schema: $ref: "#/components/schemas/ListenV1Response" description: Invalid Request security: - ApiKeyAuth: [] summary: Transcribe and analyze pre-recorded audio and video tags: - media /v1/models: get: description: Returns metadata on all the latest public models. To retrieve custom models, use Get Project Models. operationId: models_list_3 parameters: - description: returns non-latest versions of models in: query name: include_outdated required: false schema: type: boolean responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListModelsV1Response" description: A list of models "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Models tags: - models /v1/models/{model_id}: get: description: Returns metadata for a specific public model operationId: models_get_2 parameters: - description: The specific UUID of the model in: path name: model_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetModelV1Response" description: A model object that can be either STT or TTS "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a specific Model tags: - models /v1/projects: get: description: Retrieves basic information about the projects associated with the API key operationId: projects_list responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectsV1Response" description: A list of projects "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Projects tags: - projects /v1/projects/{project_id}: delete: description: Deletes the specified project operationId: projects_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteProjectV1Response" description: A project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete a Project tags: - projects get: description: Retrieves information about the specified project operationId: projects_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Number of results to return per page. Default 10. Range [1,1000] in: query name: limit required: false schema: default: 10 format: double maximum: 1000 minimum: 1 type: number - description: Navigate and return the results to retrieve specific portions of information of the response in: query name: page required: false schema: format: double type: number responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectV1Response" description: A project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project tags: - projects patch: description: Updates the name or other properties of an existing project operationId: projects_update parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/UpdateProjectV1Request" description: The name of the project responses: "200": content: application/json: schema: $ref: "#/components/schemas/UpdateProjectV1Response" description: A project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Update a Project tags: - projects /v1/projects/{project_id}/agent-variables: get: description: Returns all template variables for the specified project operationId: variables_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListAgentVariablesV1Response" description: A list of agent variables "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Agent Variables tags: - variables post: description: Creates a new template variable. Variables follow the `DG_` naming format and can substitute any JSON value in an agent configuration. operationId: variables_create parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateAgentVariableV1Request" description: Agent variable details responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentVariableV1" description: Agent variable created successfully "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Create an Agent Variable tags: - variables /v1/projects/{project_id}/agent-variables/{variable_id}: delete: description: Deletes the specified template variable operationId: variables_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent variable in: path name: variable_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteAgentVariableV1Response" description: Agent variable deleted "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete an Agent Variable tags: - variables get: description: Returns the specified template variable operationId: variables_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent variable in: path name: variable_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentVariableV1" description: An agent variable "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get an Agent Variable tags: - variables patch: description: Updates the value of an existing template variable operationId: variables_update parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent variable in: path name: variable_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/UpdateAgentVariableV1Request" description: Updated value for the agent variable responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentVariableV1" description: Agent variable updated "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Update an Agent Variable tags: - variables /v1/projects/{project_id}/agents: get: description: Returns all agent configurations for the specified project. Configurations are returned in their uninterpolated form—template variable placeholders appear as-is rather than with their substituted values. operationId: configurations_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListAgentConfigurationsV1Response" description: A list of agent configurations "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Agent Configurations tags: - configurations post: description: Creates a new reusable agent configuration. The `config` field must be a valid JSON string representing the `agent` block of a Settings message. The returned `agent_id` can be passed in place of the full `agent` object in future Settings messages. operationId: configurations_create parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateAgentConfigurationV1Request" description: Agent configuration details responses: "200": content: application/json: schema: $ref: "#/components/schemas/CreateAgentConfigurationV1Response" description: Agent configuration created successfully "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Create an Agent Configuration tags: - configurations /v1/projects/{project_id}/agents/{agent_id}: delete: description: Deletes the specified agent configuration. Deleting an agent configuration can cause a production outage if your service references this agent UUID. Migrate all active sessions to a new configuration before deleting. operationId: configurations_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent configuration in: path name: agent_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteAgentConfigurationV1Response" description: Agent configuration deleted "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete an Agent Configuration tags: - configurations get: description: Returns the specified agent configuration in its uninterpolated form operationId: configurations_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent configuration in: path name: agent_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentConfigurationV1" description: An agent configuration "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get an Agent Configuration tags: - configurations put: description: Updates the metadata associated with an agent configuration. The config itself is immutable—to change the configuration, delete the existing agent and create a new one. operationId: configurations_update parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the agent configuration in: path name: agent_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/UpdateAgentMetadataV1Request" description: Updated metadata for the agent configuration responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentConfigurationV1" description: Agent configuration updated "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Update Agent Metadata tags: - configurations /v1/projects/{project_id}/balances: get: description: Generates a list of outstanding balances for the specified project operationId: balances_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectBalancesV1Response" description: A list of outstanding balances "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get Project Balances tags: - balances /v1/projects/{project_id}/balances/{balance_id}: get: description: Retrieves details about the specified balance operationId: balances_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the balance in: path name: balance_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectBalanceV1Response" description: A specific balance "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project Balance tags: - balances /v1/projects/{project_id}/billing/breakdown: get: description: Retrieves the billing summary for a specific project, with various filter options or by grouping options. operationId: breakdown_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Format accepted is YYYY-MM-DD in: query name: start required: false schema: format: date type: string - description: End date of the requested date range. Format accepted is YYYY-MM-DD in: query name: end required: false schema: format: date type: string - description: Filter for requests where a specific accessor was used in: query name: accessor required: false schema: type: string - description: Filter for requests where a specific deployment was used in: query name: deployment required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdBillingBreakdownGetParametersDeployment" - description: Filter for requests where a specific tag was used in: query name: tag required: false schema: type: string - description: Filter requests by line item (e.g. streaming::nova-3) in: query name: line_item required: false schema: type: string - description: Group billing breakdown by one or more dimensions (accessor, deployment, line_item, tags) in: query name: grouping required: false schema: items: $ref: "#/components/schemas/V1ProjectsProjectIdBillingBreakdownGetParametersGroupingSchemaItems" type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/BillingBreakdownV1Response" description: Billing breakdown response "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get Project Billing Breakdown tags: - breakdown /v1/projects/{project_id}/billing/fields: get: description: Lists the accessors, deployment types, tags, and line items used for billing data in the specified time period. Use this endpoint if you want to filter your results from the Billing Breakdown endpoint and want to know what filters are available. operationId: fields_list_2 parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Format accepted is YYYY-MM-DD in: query name: start required: false schema: format: date type: string - description: End date of the requested date range. Format accepted is YYYY-MM-DD in: query name: end required: false schema: format: date type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListBillingFieldsV1Response" description: A list of billing fields for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Billing Fields tags: - fields /v1/projects/{project_id}/invites: get: description: Generates a list of invites for a specific project operationId: invites_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectInvitesV1Response" description: A list of invites for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Invites tags: - invites post: description: Generates an invite for a specific project operationId: invites_create parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateProjectInviteV1Request" description: email to invite to the project responses: "200": content: application/json: schema: $ref: "#/components/schemas/CreateProjectInviteV1Response" description: The invite was successfully generated "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Create a Project Invite tags: - invites /v1/projects/{project_id}/invites/{email}: delete: description: Deletes an invite for a specific project operationId: invites_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The email address of the member in: path name: email required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteProjectInviteV1Response" description: The invite was successfully deleted "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete a Project Invite tags: - invites /v1/projects/{project_id}/keys: get: description: Retrieves all API keys associated with the specified project operationId: keys_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Only return keys with a specific status in: query name: status required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdKeysGetParametersStatus" responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectKeysV1Response" description: A list of API keys "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Keys tags: - keys post: description: Creates a new API key with specified settings for the project operationId: keys_create parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateKeyV1Request" description: API key settings responses: "200": content: application/json: schema: $ref: "#/components/schemas/CreateKeyV1Response" description: API key created successfully "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Create a Project Key tags: - keys /v1/projects/{project_id}/keys/{key_id}: delete: description: Deletes an API key for a specific project operationId: keys_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the API key in: path name: key_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteProjectKeyV1Response" description: API key deleted "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete a Project Key tags: - keys get: description: Retrieves information about a specified API key operationId: keys_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the API key in: path name: key_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectKeyV1Response" description: A specific API key "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project Key tags: - keys /v1/projects/{project_id}/leave: delete: description: Removes the authenticated account from the specific project operationId: projects_leave parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/LeaveProjectV1Response" description: Successfully removed account from project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Leave a Project tags: - projects /v1/projects/{project_id}/members: get: description: Retrieves a list of members for a given project operationId: members_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectMembersV1Response" description: A list of members for a given project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Members tags: - members /v1/projects/{project_id}/members/{member_id}: delete: description: Removes a member from the project using their unique member ID operationId: members_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the Member in: path name: member_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DeleteProjectMemberV1Response" description: Delete the specific member from the project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete a Project Member tags: - members /v1/projects/{project_id}/members/{member_id}/scopes: get: description: Retrieves a list of scopes for a specific member operationId: scopes_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the Member in: path name: member_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectMemberScopesV1Response" description: A list of scopes for a specific member "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Member Scopes tags: - scopes put: description: Updates the scopes for a specific member operationId: scopes_update parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the Member in: path name: member_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/UpdateProjectMemberScopesV1Request" description: A scope to update responses: "200": content: application/json: schema: $ref: "#/components/schemas/UpdateProjectMemberScopesV1Response" description: Updated the scopes for a specific member "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Update Project Member Scopes tags: - scopes /v1/projects/{project_id}/models: get: description: Returns metadata on all the latest models that a specific project has access to, including non-public models operationId: models_list_2 parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: returns non-latest versions of models in: query name: include_outdated required: false schema: type: boolean responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListModelsV1Response" description: A list of models "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Models tags: - models /v1/projects/{project_id}/models/{model_id}: get: description: Returns metadata for a specific model operationId: models_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The specific UUID of the model in: path name: model_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetModelV1Response" description: A model object that can be either STT or TTS "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project Model tags: - models /v1/projects/{project_id}/purchases: get: description: Returns the original purchased amount on an order transaction operationId: purchases_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Number of results to return per page. Default 10. Range [1,1000] in: query name: limit required: false schema: default: 10 format: double maximum: 1000 minimum: 1 type: number responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectPurchasesV1Response" description: A list of purchases for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Purchases tags: - purchases /v1/projects/{project_id}/requests: get: description: Generates a list of requests for a specific project operationId: requests_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Formats accepted are YYYY-MM-DD, YYYY-MM-DDTHH:MM:SS, or YYYY-MM-DDTHH:MM:SS+HH:MM in: query name: start required: false schema: format: date-time type: string - description: End date of the requested date range. Formats accepted are YYYY-MM-DD, YYYY-MM-DDTHH:MM:SS, or YYYY-MM-DDTHH:MM:SS+HH:MM in: query name: end required: false schema: format: date-time type: string - description: Number of results to return per page. Default 10. Range [1,1000] in: query name: limit required: false schema: default: 10 format: double maximum: 1000 minimum: 1 type: number - description: Navigate and return the results to retrieve specific portions of information of the response in: query name: page required: false schema: format: double type: number - description: Filter for requests where a specific accessor was used in: query name: accessor required: false schema: type: string - description: Filter for a specific request id in: query name: request_id required: false schema: type: string - description: Filter for requests where a specific deployment was used in: query name: deployment required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdRequestsGetParametersDeployment" - description: Filter for requests where a specific endpoint was used in: query name: endpoint required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdRequestsGetParametersEndpoint" - description: Filter for requests where a specific method was used in: query name: method required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdRequestsGetParametersMethod" - description: Filter for requests that succeeded (status code < 300) or failed (status code >=400) in: query name: status required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdRequestsGetParametersStatus" responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectRequestsV1Response" description: A list of requests for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Requests tags: - requests /v1/projects/{project_id}/requests/{request_id}: get: description: Retrieves a specific request for a specific project operationId: requests_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The unique identifier of the request in: path name: request_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectRequestV1Response" description: A specific request for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project Request tags: - requests /v1/projects/{project_id}/self-hosted/distribution/credentials: get: description: Lists sets of distribution credentials for the specified project operationId: distributionCredentials_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ListProjectDistributionCredentialsV1Response" description: A list of distribution credentials for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Self-Hosted Distribution Credentials tags: - distributionCredentials post: description: Creates a set of distribution credentials for the specified project operationId: distributionCredentials_create parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: List of permission scopes for the credentials in: query name: scopes required: false schema: default: - self-hosted:products items: $ref: "#/components/schemas/V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersScopesSchemaItems" type: array - description: The provider of the distribution service in: query name: provider required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdSelfHostedDistributionCredentialsPostParametersProvider" default: quay requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateProjectDistributionCredentialsV1Request" description: The set of distribution credentials to create responses: "200": content: application/json: schema: $ref: "#/components/schemas/CreateProjectDistributionCredentialsV1Response" description: Single distribution credential "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Create a Project Self-Hosted Distribution Credential tags: - distributionCredentials /v1/projects/{project_id}/self-hosted/distribution/credentials/{distribution_credentials_id}: delete: description: Deletes a set of distribution credentials for the specified project operationId: distributionCredentials_delete parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The UUID of the distribution credentials in: path name: distribution_credentials_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectDistributionCredentialsV1Response" description: Single distribution credential "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Delete a Project Self-Hosted Distribution Credential tags: - distributionCredentials get: description: Returns a set of distribution credentials for the specified project operationId: distributionCredentials_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: The UUID of the distribution credentials in: path name: distribution_credentials_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/GetProjectDistributionCredentialsV1Response" description: Single distribution credential "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get a Project Self-Hosted Distribution Credential tags: - distributionCredentials /v1/projects/{project_id}/usage: get: deprecated: true description: Retrieves the usage for a specific project. Use Get Project Usage Breakdown for a more comprehensive usage summary. operationId: usage_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Format accepted is YYYY-MM-DD in: query name: start required: false schema: format: date type: string - description: End date of the requested date range. Format accepted is YYYY-MM-DD in: query name: end required: false schema: format: date type: string - description: Filter for requests where a specific accessor was used in: query name: accessor required: false schema: type: string - description: Filter for requests where alternatives were used in: query name: alternatives required: false schema: type: boolean - description: Filter for requests where callback method was used in: query name: callback_method required: false schema: type: boolean - description: Filter for requests where callback was used in: query name: callback required: false schema: type: boolean - description: Filter for requests where channels were used in: query name: channels required: false schema: type: boolean - description: Filter for requests where custom intent mode was used in: query name: custom_intent_mode required: false schema: type: boolean - description: Filter for requests where custom intent was used in: query name: custom_intent required: false schema: type: boolean - description: Filter for requests where custom topic mode was used in: query name: custom_topic_mode required: false schema: type: boolean - description: Filter for requests where custom topic was used in: query name: custom_topic required: false schema: type: boolean - description: Filter for requests where a specific deployment was used in: query name: deployment required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageGetParametersDeployment" - description: Filter for requests where detect entities was used in: query name: detect_entities required: false schema: type: boolean - description: Filter for requests where detect language was used in: query name: detect_language required: false schema: type: boolean - description: Filter for requests where diarize was used in: query name: diarize required: false schema: type: boolean - description: Filter for requests where dictation was used in: query name: dictation required: false schema: type: boolean - description: Filter for requests where encoding was used in: query name: encoding required: false schema: type: boolean - description: Filter for requests where a specific endpoint was used in: query name: endpoint required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageGetParametersEndpoint" - description: Filter for requests where extra was used in: query name: extra required: false schema: type: boolean - description: Filter for requests where filler words was used in: query name: filler_words required: false schema: type: boolean - description: Filter for requests where intents was used in: query name: intents required: false schema: type: boolean - description: Filter for requests where keyterm was used in: query name: keyterm required: false schema: type: boolean - description: Filter for requests where keywords was used in: query name: keywords required: false schema: type: boolean - description: Filter for requests where language was used in: query name: language required: false schema: type: boolean - description: Filter for requests where measurements were used in: query name: measurements required: false schema: type: boolean - description: Filter for requests where a specific method was used in: query name: method required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageGetParametersMethod" - description: Filter for requests where a specific model uuid was used in: query name: model required: false schema: type: string - description: Filter for requests where multichannel was used in: query name: multichannel required: false schema: type: boolean - description: Filter for requests where numerals were used in: query name: numerals required: false schema: type: boolean - description: Filter for requests where paragraphs were used in: query name: paragraphs required: false schema: type: boolean - description: Filter for requests where profanity filter was used in: query name: profanity_filter required: false schema: type: boolean - description: Filter for requests where punctuate was used in: query name: punctuate required: false schema: type: boolean - description: Filter for requests where redact was used in: query name: redact required: false schema: type: boolean - description: Filter for requests where replace was used in: query name: replace required: false schema: type: boolean - description: Filter for requests where sample rate was used in: query name: sample_rate required: false schema: type: boolean - description: Filter for requests where search was used in: query name: search required: false schema: type: boolean - description: Filter for requests where sentiment was used in: query name: sentiment required: false schema: type: boolean - description: Filter for requests where smart format was used in: query name: smart_format required: false schema: type: boolean - description: Filter for requests where summarize was used in: query name: summarize required: false schema: type: boolean - description: Filter for requests where a specific tag was used in: query name: tag required: false schema: type: string - description: Filter for requests where topics was used in: query name: topics required: false schema: type: boolean - description: Filter for requests where utt split was used in: query name: utt_split required: false schema: type: boolean - description: Filter for requests where utterances was used in: query name: utterances required: false schema: type: boolean - description: Filter for requests where version was used in: query name: version required: false schema: type: boolean responses: "200": content: application/json: schema: $ref: "#/components/schemas/UsageV1Response" description: A specific request for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get Project Usage tags: - usage /v1/projects/{project_id}/usage/breakdown: get: description: Retrieves the usage breakdown for a specific project, with various filter options by API feature or by groupings. Setting a feature (e.g. diarize) to true includes requests that used that feature, while false excludes requests that used it. Multiple true filters are combined with OR logic, while false filters use AND logic. operationId: breakdown_get parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Format accepted is YYYY-MM-DD in: query name: start required: false schema: format: date type: string - description: End date of the requested date range. Format accepted is YYYY-MM-DD in: query name: end required: false schema: format: date type: string - description: Common usage grouping parameters in: query name: grouping required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageBreakdownGetParametersGrouping" - description: Filter for requests where a specific accessor was used in: query name: accessor required: false schema: type: string - description: Filter for requests where alternatives were used in: query name: alternatives required: false schema: type: boolean - description: Filter for requests where callback method was used in: query name: callback_method required: false schema: type: boolean - description: Filter for requests where callback was used in: query name: callback required: false schema: type: boolean - description: Filter for requests where channels were used in: query name: channels required: false schema: type: boolean - description: Filter for requests where custom intent mode was used in: query name: custom_intent_mode required: false schema: type: boolean - description: Filter for requests where custom intent was used in: query name: custom_intent required: false schema: type: boolean - description: Filter for requests where custom topic mode was used in: query name: custom_topic_mode required: false schema: type: boolean - description: Filter for requests where custom topic was used in: query name: custom_topic required: false schema: type: boolean - description: Filter for requests where a specific deployment was used in: query name: deployment required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageBreakdownGetParametersDeployment" - description: Filter for requests where detect entities was used in: query name: detect_entities required: false schema: type: boolean - description: Filter for requests where detect language was used in: query name: detect_language required: false schema: type: boolean - description: Filter for requests where diarize was used in: query name: diarize required: false schema: type: boolean - description: Filter for requests where dictation was used in: query name: dictation required: false schema: type: boolean - description: Filter for requests where encoding was used in: query name: encoding required: false schema: type: boolean - description: Filter for requests where a specific endpoint was used in: query name: endpoint required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageBreakdownGetParametersEndpoint" - description: Filter for requests where extra was used in: query name: extra required: false schema: type: boolean - description: Filter for requests where filler words was used in: query name: filler_words required: false schema: type: boolean - description: Filter for requests where intents was used in: query name: intents required: false schema: type: boolean - description: Filter for requests where keyterm was used in: query name: keyterm required: false schema: type: boolean - description: Filter for requests where keywords was used in: query name: keywords required: false schema: type: boolean - description: Filter for requests where language was used in: query name: language required: false schema: type: boolean - description: Filter for requests where measurements were used in: query name: measurements required: false schema: type: boolean - description: Filter for requests where a specific method was used in: query name: method required: false schema: $ref: "#/components/schemas/V1ProjectsProjectIdUsageBreakdownGetParametersMethod" - description: Filter for requests where a specific model uuid was used in: query name: model required: false schema: type: string - description: Filter for requests where multichannel was used in: query name: multichannel required: false schema: type: boolean - description: Filter for requests where numerals were used in: query name: numerals required: false schema: type: boolean - description: Filter for requests where paragraphs were used in: query name: paragraphs required: false schema: type: boolean - description: Filter for requests where profanity filter was used in: query name: profanity_filter required: false schema: type: boolean - description: Filter for requests where punctuate was used in: query name: punctuate required: false schema: type: boolean - description: Filter for requests where redact was used in: query name: redact required: false schema: type: boolean - description: Filter for requests where replace was used in: query name: replace required: false schema: type: boolean - description: Filter for requests where sample rate was used in: query name: sample_rate required: false schema: type: boolean - description: Filter for requests where search was used in: query name: search required: false schema: type: boolean - description: Filter for requests where sentiment was used in: query name: sentiment required: false schema: type: boolean - description: Filter for requests where smart format was used in: query name: smart_format required: false schema: type: boolean - description: Filter for requests where summarize was used in: query name: summarize required: false schema: type: boolean - description: Filter for requests where a specific tag was used in: query name: tag required: false schema: type: string - description: Filter for requests where topics was used in: query name: topics required: false schema: type: boolean - description: Filter for requests where utt split was used in: query name: utt_split required: false schema: type: boolean - description: Filter for requests where utterances was used in: query name: utterances required: false schema: type: boolean - description: Filter for requests where version was used in: query name: version required: false schema: type: boolean responses: "200": content: application/json: schema: $ref: "#/components/schemas/UsageBreakdownV1Response" description: Usage breakdown response "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Get Project Usage Breakdown tags: - breakdown /v1/projects/{project_id}/usage/fields: get: description: Lists the features, models, tags, languages, and processing method used for requests in the specified project operationId: fields_list parameters: - description: The unique identifier of the project in: path name: project_id required: true schema: type: string - description: Start date of the requested date range. Format accepted is YYYY-MM-DD in: query name: start required: false schema: format: date type: string - description: End date of the requested date range. Format accepted is YYYY-MM-DD in: query name: end required: false schema: format: date type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/UsageFieldsV1Response" description: A list of fields for a specific project "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: List Project Usage Fields tags: - fields /v1/read: post: description: Analyze text content using Deepgrams text analysis API operationId: text_analyze parameters: - description: URL to which we'll make the callback request in: query name: callback required: false schema: type: string - description: HTTP method by which the callback request will be made in: query name: callback_method required: false schema: $ref: "#/components/schemas/V1ReadPostParametersCallbackMethod" default: POST - description: Recognizes the sentiment throughout a transcript or text in: query name: sentiment required: false schema: default: false type: boolean - description: Summarize content. For Listen API, supports string version option. For Read API, accepts boolean only. in: query name: summarize required: false schema: $ref: "#/components/schemas/V1ReadPostParametersSummarize" - description: Label your requests for the purpose of identification during usage reporting in: query name: tag required: false schema: $ref: "#/components/schemas/V1ReadPostParametersTag" - description: Detect topics throughout a transcript or text in: query name: topics required: false schema: default: false type: boolean - description: Custom topics you want the model to detect within your input audio or text if present Submit up to `100`. in: query name: custom_topic required: false schema: $ref: "#/components/schemas/V1ReadPostParametersCustomTopic" - description: Sets how the model will interpret strings submitted to the `custom_topic` param. When `strict`, the model will only return topics submitted using the `custom_topic` param. When `extended`, the model will return its own detected topics in addition to those submitted using the `custom_topic` param in: query name: custom_topic_mode required: false schema: $ref: "#/components/schemas/V1ReadPostParametersCustomTopicMode" default: extended - description: Recognizes speaker intent throughout a transcript or text in: query name: intents required: false schema: default: false type: boolean - description: Custom intents you want the model to detect within your input audio if present in: query name: custom_intent required: false schema: $ref: "#/components/schemas/V1ReadPostParametersCustomIntent" - description: Sets how the model will interpret intents submitted to the `custom_intent` param. When `strict`, the model will only return intents submitted using the `custom_intent` param. When `extended`, the model will return its own detected intents in the `custom_intent` param. in: query name: custom_intent_mode required: false schema: $ref: "#/components/schemas/V1ReadPostParametersCustomIntentMode" default: extended - description: The [BCP-47 language tag](https://tools.ietf.org/html/bcp47) that hints at the primary spoken language. Depending on the Model and API endpoint you choose only certain languages are available in: query name: language required: false schema: default: en type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReadV1Request" description: Analyze a text file responses: "200": content: application/json: schema: $ref: "#/components/schemas/ReadV1Response" description: Successful text analysis "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Analyze text content tags: - text /v1/speak: post: description: Convert text into natural-sounding speech using Deepgram's TTS REST API operationId: audio_generate parameters: - description: URL to which we'll make the callback request in: query name: callback required: false schema: type: string - description: HTTP method by which the callback request will be made in: query name: callback_method required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersCallbackMethod" default: POST - description: Opts out requests from the Deepgram Model Improvement Program. Refer to our Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip in: query name: mip_opt_out required: false schema: default: false type: boolean - description: Label your requests for the purpose of identification during usage reporting in: query name: tag required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersTag" - description: The bitrate of the audio in bits per second. Choose from predefined ranges or specific values based on the encoding type. in: query name: bit_rate required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersBitRate" default: 48000 - description: Container specifies the file format wrapper for the output audio. The available options depend on the encoding type. in: query name: container required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersContainer" default: wav - description: Encoding allows you to specify the expected encoding of your audio output in: query name: encoding required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersEncoding" default: mp3 - description: AI model used to process submitted text in: query name: model required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersModel" default: aura-asteria-en - description: Sample Rate specifies the sample rate for the output audio. Based on the encoding, different sample rates are supported. For some encodings, the sample rate is not configurable in: query name: sample_rate required: false schema: $ref: "#/components/schemas/V1SpeakPostParametersSampleRate" default: 24000 - description: Speaking rate multiplier that adjusts the pace of generated speech while preserving natural prosody and voice quality. Not yet supported in all languages. in: query name: speed required: false schema: default: 1 format: double maximum: 1.5 minimum: 0.7 type: number requestBody: content: application/json: schema: $ref: "#/components/schemas/SpeakV1Request" description: Transform text to speech responses: "200": content: application/json: schema: $ref: "#/components/schemas/speak_v1_audio_generate_Response_200" description: Successful text-to-speech transformation "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: Invalid Request security: - ApiKeyAuth: [] summary: Text to Speech transformation tags: - audio /v2/speak: post: description: Synthesize a complete block of text into a single audio response using Deepgram's Flux TTS batch (REST) API. Use this for pre-rendering fixed audio (IVR prompts, notifications, narration) where the whole text is known up front and you don't need incremental playback or interruption. operationId: audio_generate_2 parameters: - description: URL to which we'll make the callback request in: query name: callback required: false schema: type: string - description: HTTP method by which the callback request will be made in: query name: callback_method required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersCallbackMethod" default: POST - description: Opts out requests from the Deepgram Model Improvement Program. Refer to our Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip in: query name: mip_opt_out required: false schema: default: false type: boolean - description: Label your requests for the purpose of identification during usage reporting in: query name: tag required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersTag" - description: The bitrate of the audio in bits per second. Choose from predefined ranges or specific values based on the encoding type. in: query name: bit_rate required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersBitRate" default: 48000 - description: Container specifies the file format wrapper for the output audio. The available options depend on the encoding type. in: query name: container required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersContainer" default: wav - description: Encoding allows you to specify the expected encoding of your audio output in: query name: encoding required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersEncoding" default: mp3 - description: "Expressive range of the generated speech, on a calm-to-animated axis. Accepted values: `-2`, `-1`, `0`, `1`, `2`. `0` (the default) is the voice's tuned delivery and the production-validated setting, with `-2` the calm end of the range and `2` the animated end. Supported on all Flux voices; applies to the whole request. Beta: behavior may change in future model versions, and non-default values increase the risk of hallucinations and pronunciation errors; audition before shipping. An invalid value is rejected with a `400` — `EXPRESSIVITY_OUT_OF_RANGE` for a value outside the range, `EXPRESSIVITY_INCREMENT_INVALID` for a fractional value. See [Expressivity](/docs/tts-expressivity)." in: query name: expressivity required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersExpressivity" default: 0 - description: Flux TTS model used to synthesize the submitted text, in the form `flux-{voice}-{language}` (for example, `flux-alexis-en`). Required; unlike the v1 (Aura) endpoint there is no default and only flux models are accepted. in: query name: model required: true schema: type: string - description: Normalizes the loudness of the generated speech to a consistent level across voices and requests. On by default; set to `false` to opt out. Peak limiting is applied either way. in: query name: normalize_volume required: false schema: default: true type: boolean - description: Sample Rate specifies the sample rate for the output audio. Based on the encoding, different sample rates are supported. For some encodings, the sample rate is not configurable in: query name: sample_rate required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersSampleRate" default: 24000 - description: Speaking rate multiplier that adjusts the pace of generated speech while preserving natural prosody and voice quality. Accepted values run `0.5` to `1.5` in `0.05` increments. Not yet supported in all languages. When the text contains an inline pause marker, speed is capped at `1.15` (`PAUSE_SPEED_CAP_EXCEEDED` above that). A value other than `1.0` cannot be combined with inline pronunciation controls (`CONTROL_COMBINATION_INVALID`). in: query name: speed required: false schema: default: 1 format: double maximum: 1.5 minimum: 0.5 multipleOf: 0.05 type: number - description: Processing priority for asynchronous (callback) requests. The only supported value is low. in: query name: priority required: false schema: $ref: "#/components/schemas/V2SpeakPostParametersPriority" requestBody: content: application/json: schema: $ref: "#/components/schemas/SpeakV2Request" description: Transform text to speech responses: "200": content: application/json: schema: $ref: "#/components/schemas/SpeakV2AcceptedResponse" description: 'Returns the synthesized audio in the requested encoding as a binary stream. When a `callback` URL is supplied, the request is processed asynchronously and the response body is instead a JSON acknowledgement (Content-Type `application/json`) of the form {"request_id": "..."}, with the audio delivered to the callback URL. Because this endpoint is typed as a binary audio stream, SDK callers that set `callback` receive this JSON acknowledgement through the audio byte iterator as raw bytes and must join the chunks and parse `request_id` themselves.' "400": content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" description: "Invalid Request. Inline control violations return a structured error whose `err_code` names the rule: `CONTROL_COMBINATION_INVALID` (pronunciation combined with speed or pause, or all three together), `PAUSE_SPEED_CAP_EXCEEDED` (a pause marker with `speed` above `1.15`), `BREAK_OUT_OF_RANGE` (a pause outside 500-3000 ms), `BREAK_INCREMENT_INVALID` (a pause off the 100 ms grid), `BREAKS_LIMIT_EXCEEDED` (more than 8 pause markers, or two pauses with no text between them), `BREAK_SYNTAX_INVALID` (a malformed pause marker, such as a simple marker without backslashes or an escaped structured marker), plus the existing pronunciation and speed codes. A `speed` of `1.0` does not count as a speed control for the combination rules. See [Speed, Pause, Pronunciation](/docs/tts-voice-controls)." security: - ApiKeyAuth: [] summary: Flux Text to Speech (batch) tags: - audio servers: - description: Base url: https://api.deepgram.com tags: - name: models - name: configurations - name: variables - name: media - name: audio - name: text - name: projects - name: keys - name: members - name: scopes - name: invites - name: requests - name: usage - name: fields - name: breakdown - name: balances - name: purchases - name: distributionCredentials - name: tokens