Skip to main content
GET
/
agents
/
{agentId}
/
runs
List agent runs
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/agents/{agentId}/runs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "runs": [
      {
        "id": "run_01HXYZ",
        "agentId": "agent_01HXYZ",
        "status": "completed",
        "postsGenerated": 1,
        "startedAt": "2024-01-10T09:00:00Z",
        "completedAt": "2024-01-10T09:00:45Z"
      }
    ],
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

agentId
string
required

Agent ID.

Response

A list of agent runs.

success
boolean
data
object