Skip to content

MngGetAIRunsByFilter

GET ai/runs

Every question the assistant processed. The usual entry point is the failed filter: it shows what users asked and did not get.

Access Control

Allowed: admin. Records of the administrator's brand.

Parameters

Standard list parameters plus:

Parameter Type Description
state enum queued, running, completed, failed, cancelled, interrupted

Response Data

{
  "rows": [
    {
      "id": "run_55b…",
      "brand": "Ion",
      "conversationId": "cnv_8f3a…",
      "agentId": 1,
      "actorType": 1,
      "actorId": 501,
      "source": "chat",
      "state": "completed",
      "model": "anthropic/claude-sonnet-4.5",
      "inputTokens": 1840,
      "outputTokens": 120,
      "cost": 0.0042,
      "toolRounds": 1,
      "errorCode": null,
      "createdAt": "2026-09-17 10:12:21",
      "completedAt": "2026-09-17 10:12:40"
    }
  ],
  "count": 3140
}

source is chat for a question from a person and workflow for a notification generated from an event.

Errors

Code Error Description
403 AI_ACCESS_DENIED The session is not an administrator