Skip to main content
GET
/
v1
/
agent-deployments
/
{deployment_id}
/
services
List agent service instances
import requests

url = "https://api.13-215-85-171.sslip.io/v1/agent-deployments/{deployment_id}/services"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "items": [
    {
      "id": "adsvc_1234abcd",
      "deployment_id": "<string>",
      "version_id": "<string>",
      "port": 32768,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "sandbox_id": "<string>",
      "process_id": 123,
      "public_url": "<string>",
      "readiness_status": {},
      "failure_reason": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "stopped_at": "2023-11-07T05:31:56Z",
      "idempotency_key": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

deployment_id
string
required

Agent deployment ID

Query Parameters

status
enum<string>
Available options:
starting,
ready,
unhealthy,
stopping,
stopped,
failed
version_id
string
limit
integer
default:50
Required range: 1 <= x <= 200
cursor
string

Response

Agent service instances

items
object[]
required
next_cursor
string | null