API ReferenceTalon Studio v1.1.22-beta
Agents
Inspect AI agent runs and their step timelines.
List agent runs
GET
/api/v1/agent-runsagents:readList agent runs in the token's reach, newest first, a page at a time.
Query parameters
workspaceIdstring (UUID) · optionalFilter to one workspace. Org-level runs (no workspace) are included too: all of them for a service token or an admin's personal token, and only the ones its owner started for any other personal token. A run an agent made to answer in a Teams direct message or private channel is listed only to the person who asked, so a service token never sees one.
pageintegerPage number, default 1.
perPageintegerItems per page, 1–200, default 50.
limitinteger · optionalThe older name for perPage, still read when perPage is absent.
Response
idstring (UUID)workspaceIdstring (UUID) · nullableNull for an org-level run.
agentNamestringtriggerstringmanual | schedule | change_request_merged | webhook | kanban | coverage_gap | kev | kev_coverage_gap | validation_failure | pipeline_failure | soc_triage | handoff | rule_health | threat_intel | detection_triage | change_request_review | threat_model | low_precision | library_drift | subagent | teams_chat
statusstringrunning | succeeded | failed
summarystring · nullableproposalsintegerstagedintegerfailuresintegerchangeRequestIdsstring[]Draft change requests the run staged. Agents never merge.
startedAtstring (ISO 8601)finishedAtstring (ISO 8601) · nullableReturned with meta { page, perPage, total, totalPages } and links { next, prev }, ordered by startedAt descending. The links keep workspaceId.
Request
curl -H "Authorization: Bearer tlk_…" \ "https://<your-instance>/api/v1/agent-runs?workspaceId=…&perPage=20"
Response
{
"data": [
{
"id": "d4e5f6a7-8b9c-4d0e-1f2a-3b4c5d6e7f80",
"workspaceId": "d41f0000-0000-4000-8000-000000000000",
"agentName": "Detection Engineer",
"trigger": "coverage_gap",
"status": "succeeded",
"proposals": 3,
"staged": 1,
"failures": 0
},
{
"id": "2b8a4d61-9f3c-4e70-a1b8-6c5d4e3f2a19",
"workspaceId": "d41f0000-0000-4000-8000-000000000000",
"agentName": "Triage Analyst",
"trigger": "soc_triage",
"status": "running",
"proposals": 0,
"staged": 0,
"failures": 0
}
],
"meta": { "page": 1, "perPage": 20, "total": 2, "totalPages": 1 },
"links": { "next": null, "prev": null }
}Get agent run
GET
/api/v1/agent-runs/{id}agents:readFetch one agent run with its step timeline.
Path parameters
idstring (UUID)requiredQuery parameters
workspaceIdstring (UUID) · optionalRestricts the lookup to that workspace (and org-level runs). A run outside the token's reach returns 404.
Response
idstring (UUID)workspaceIdstring (UUID) · nullableagentNamestringtriggerstringmanual | schedule | change_request_merged | webhook | kanban | coverage_gap | kev | kev_coverage_gap | validation_failure | pipeline_failure | soc_triage | handoff | rule_health | threat_intel | detection_triage | change_request_review | threat_model | low_precision | library_drift | subagent | teams_chat
statusstringrunning | succeeded | failed
summarystring · nullabletaskstringproposalsintegerstagedintegerfailuresintegerchangeRequestIdsstring[]inputTokensintegeroutputTokensintegerstartedAtstring (ISO 8601)finishedAtstring (ISO 8601) · nullablestepsarrayIn order: seq (integer), kind (tool | message), status (ok | error), label, toolName (the raw tool name for kind=tool; always null for kind=message), detail (a short summary: the tool's arguments and result for a tool step, the message text for a message step), createdAt.
Returned as { data: { … } }.
Request
curl -H "Authorization: Bearer tlk_…" \ "https://<your-instance>/api/v1/agent-runs/{id}"
Response
{
"data": {
"id": "d4e5f6a7-8b9c-4d0e-1f2a-3b4c5d6e7f80",
"agentName": "Detection Engineer",
"status": "succeeded",
"steps": [
{
"seq": 1,
"kind": "tool",
"status": "ok",
"label": "Queried SIEM evidence",
"toolName": "lake_search",
"detail": "42 matching events for sourcetype=wineventlog",
"createdAt": "2026-06-30T14:02:11.000Z"
},
{
"seq": 2,
"kind": "message",
"status": "ok",
"label": "Proposed detection",
"toolName": null,
"detail": "Drafted a brute-force detection from the evidence above",
"createdAt": "2026-06-30T14:02:19.000Z"
}
]
}
}