GET
/
orchestrate
/
agents
/
{agent_id}
/
environment
curl --request GET \
  --url http://localhost/api/v1/orchestrate/agents/{agent_id}/environment \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "created_by": "<string>",
    "created_on": "2023-11-07T05:31:56Z",
    "updated_by": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_by": "<string>",
    "deleted_at": "2023-11-07T05:31:56Z",
    "current_version": 123,
    "tenant_id": "<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
required

Response

200
application/json

Successful Response

id
string
required

Environment id From The environment table

agent_id
string
required

Agent id From The environment table

name
string
required

Name of the environment

description
string
required

Description of what the environment does

created_by
string
required

ID of the user who created the environment

created_on
string
required

Creation timestamp

updated_by
string
required

ID of the user who updated the environment

updated_at
string
required

Last update timestamp

tenant_id
string
required

ID of the tenant that owns this environment

deleted_by
string | null
deleted_at
string | null
current_version
integer | null

Current agent version pointed to this environment