Skip to main content
POST
/
api
/
sdk
/
agent
Create a new agent
curl --request POST \
  --url https://api.example.com/api/sdk/agent \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "prompt": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "prompt": "<string>",
  "short_description": "<string>"
}

Body

application/json
name
string
required
prompt
string
required

Response

Successful Response

id
string<uuid>
required
name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
prompt
string | null
short_description
string | null