POST
/
orchestrate
/
agents
/
{agent_id}
/
environment
curl --request POST \
  --url http://localhost/api/v1/orchestrate/agents/{agent_id}/environment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "current_version": 123
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string
required

Body

application/json

Schema for creating a new Environment.

name
string
required

Name of the environment

description
string
required

Description of what the environment does

current_version
integer | null

Current agent version pointed to this environment

Response

200
application/json

Successful Response

The response is of type any.