Authentication
Send an API key as a bearer token. The endpoint checks agents.view; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/agents/{agentId} \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
agentId (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
org_id | string | Yes | — |
name | string | Yes | — |
app | AgentAppCode | Yes | The app an agent runs. One named component so a generator never derives the name AgentApp from Agent.app, which collides with the AgentApp catalogue object below. |
status | AgentRunState | Yes | Where a hosted agent is in its life. A named component because a generator would otherwise derive AgentStatus from Agent.status, which collides with the AgentStatus… |
status_detail | string | Yes | — |
suspend_reason | string<, standing, customer, ended, staff> | Yes | — |
plan_code | string | Yes | — |
paid_by | string<subscription, trial> | Yes | — |
resources | AgentResources | Yes | — |
url | string | Yes | — |
model | string | Yes | — |
monthly_cap_micros | integer | Yes | — |
spent_period_micros | integer | Yes | — |
memory_addon_mb | integer | No | The "+1 GB memory" add-on memory the running pod was started with (MiB), on top of resources.memory_mb (the plan's). See getAgentMemory. |
created_at | string | Yes | — |
provisioned_at | string | Yes | — |
Errors this endpoint can return
401 · 404