Update an existing agent

Updates an agent's configuration. All fields are optional — only the fields provided will be changed. Note: if data_extractions is included, it replaces the existing extractions entirely (not a partial merge). The same applies to prompt.

Path Params
integer
required

The ID of the agent to update.

Query Params
string
required

The API key provided for your application.

Body Params
agent
object
required

All fields are optional. Only the fields provided will be updated. If data_extractions is sent, it fully replaces the existing extractions.

Responses

404

Agent not found.

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