Create a new agent

Creates a new AI agent configuration. On success, returns HTTP 201 with the newly created agent details.

The data_extractions field in the request uses the candidate attribute key string (e.g. "english_level") — unlike the update endpoint, which uses { "id": "..." }. The response returns an array of extraction objects (not the keyed map returned by the show/update endpoints).

Query Params
string
required

The API key provided for your application.

Body Params
agent
object
required

Agent creation payload. All fields except name are optional.

Responses

500

Internal server error, we will provide you with the exception message of the application.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json