configurations

Create an Agent Configuration

Changed on

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.

post/v1/projects/{project_id}/agents

Request

  • Base URL
    https://api.deepgram.com
  • Auth
    API key in header Authorization

Path parameters

project_idstring required

The unique identifier of the project

Request body

configstring required

A valid JSON string representing the agent block of a Settings message

metadataobject

A map of arbitrary key-value pairs for labeling or organizing the agent configuration

api_versioninteger

API version. Defaults to 1

Response

Agent configuration created successfully

agent_idstring required

The unique identifier of the newly created agent configuration

configCreateAgentConfigurationV1ResponseConfig required

The parsed agent configuration object

metadataobject

Metadata associated with the agent configuration

Changes