curl --request POST \
--url https://{api_endpoint}/api/v1/orchestrate/agents/{agent_id}/environment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"voice": {
"enable_on_homepage": false
},
"current_version": 123
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Registers a new environment for an agent.
curl --request POST \
--url https://{api_endpoint}/api/v1/orchestrate/agents/{agent_id}/environment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"voice": {
"enable_on_homepage": false
},
"current_version": 123
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Schema for creating a new Environment.
Successful Response