Api reference
GET Agents
GET
/v1/agentsAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
state?string
project?string
label?string
createdByAgentId?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/agents"{ "items": [ { "agentId": "string", "title": "string", "state": "working", "projectId": "string", "harness": "string", "workspaceId": "string", "worktreeName": "string", "labels": { "property1": "string", "property2": "string" }, "createdByAgentId": "string", "createdByAgentMachineId": "string", "archived": true, "standalone": true, "updatedAt": "string" } ]}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}