Skip to main content
Release An Agent By Id
curl --request POST \
  --url https://{api_endpoint}/api/v1/orchestrate/agents/{id}/releases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "comments": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Input Schema for releasing a draft agent.

environment_id
string<uuid> | null

ID of environment where agent is being released

comments
string | null

Comments added by the user while releasing an agent

Response

Successful Response