Skip to main content
GET
/
v1
/
agent-deployments
/
{deployment_id}
Get an agent deployment
import requests

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

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

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

print(response.text)
{
  "id": "adpl_1234abcd",
  "name": "<string>",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "active_version_id": "<string>",
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

deployment_id
string
required

Agent deployment ID

Response

Agent deployment

id
string
required
Example:

"adpl_1234abcd"

name
string
required
mode
enum<string>
required
Available options:
job,
service
status
enum<string>
required
Available options:
active,
paused,
deleted
metadata
object
required

Free-form user-supplied metadata; stored verbatim as arbitrary JSON and never interpreted by the server, so the shape is deliberately open.

created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
active_version_id
string | null
deleted_at
string<date-time> | null