cURL
curl --request GET \ --url https://api.ziet.ai/v1/runs \ --header 'Authorization: <api-key>'
{ "data": [ { "id": "<string>", "agent_id": "<string>", "status": "created", "created_at": "2023-11-07T05:31:56Z", "input": {}, "output": {}, "max_steps": 123, "max_tokens": 123, "memory": { "id": "<string>", "run_id": "<string>", "created_at": "2023-11-07T05:31:56Z" }, "steps": [ { "id": "<string>", "type": "action", "status": "pending", "action_id": "<string>", "input": {}, "output": {}, "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" } ], "error": { "message": "<string>", "code": "<string>" }, "metadata": {}, "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" } ], "pagination": { "total": 123, "limit": 123, "offset": 123, "has_more": true } }
Get all agent runs with optional filtering.
Format: 'Api-Key sk_live_YOUR_KEY'
1 <= x <= 100
x >= 0
created
running
waiting_approval
completed
failed
cancelled
List of runs
Show child attributes