latestOpenAPI 3.1.02026-08-0858116535.1 KB

5c7114e0ef43

Agent

List runs

List Agent runs for your team, ordered from newest to oldest.

get/agent/runs

Query parameters

limitinteger

Number of results per page

cursorstring

Agent run ID. New run IDs are returned with the agent_run_ prefix.

Example:agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8

Response

Paginated Agent runs

object'list' required
hasMoreboolean required

Whether there are more results

nextCursorstring required

Agent run ID. New run IDs are returned with the agent_run_ prefix.

Example response

{
  "data": [
    {
      "id": "agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8",
      "request": {
        "query": "What are the most important AI infrastructure funding rounds announced this week?",
        "systemPrompt": "Prefer official sources and avoid duplicate results.",
        "previousRunId": "agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8",
        "metadata": {
          "slack_channel_id": "C123ABC",
          "slack_thread_id": "1745444400.123456",
          "user_id": "U123ABC"
        },
        "budget": {
          "maxCostDollars": 10
        }
      },
      "output": {
        "grounding": [
          {
            "field": "structured.companies[0].sourceUrl"
          }
        ]
      }
    }
  ],
  "nextCursor": "agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8"
}