Skip to main content
POST
/
agents
/
{agent_id}
/
template
Save Template
curl --request POST \
  --url https://api.contextual.ai/v1/agents/{agent_id}/template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string<uuid>
required

ID of the agent

Body

application/json
name
string
required

The name of the template

Response

Successful Response

The response is of type EmptyResponse · object.