Workspace · Support Assistant

List a thread's support answers

Returns a thread's support answers, one page at a time.

GEThttps://api.pozy.ai/v1/support/runs
listSupportAnswers

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Authentication

Query parameters

NameTypeNotes
threadIdrequiredstring
limitintegerDefault 201 to 50
cursorstring

Example

curl -X GET "https://api.pozy.ai/v1/support/runs?threadId=60186572e25ff711298bf12e&limit=20" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • runsarray of objectrequired
    15 child fields
    • runIdstringrequired
    • threadIdstringrequired
    • statusstringrequired

      One of queued, running, completed, needs_human, failed.

    • stopReasonstringrequired

      One of answered, human_review, cost_cap, deadline, max_iterations, error, expired. Can be null.

    • questionstringrequired

      Can be null.

    • answerstringrequired

      Can be null.

    • diagnosisobjectrequired

      One of:

      Support Run Diagnosis (5 fields)
      • categorystringrequired

        One of account_connection, content_rejected, rate_limited, platform_issue, pozy_issue, billing, configuration, how_to, other.

      • causestringrequired

        Can be null.

      • fixStepsarray of stringrequired
      • docsLinksarray of stringrequired
      • whoMustActstringrequired

        One of integrator, end_user, pozy, platform, none.

    • usageobjectrequired
      4 child fields
      • inputTokensintegerrequired
      • outputTokensintegerrequired
      • cacheReadTokensintegerrequired
      • cacheWriteTokensintegerrequired
    • costUsdnumberrequired
    • maxCostUsdnumberrequired
    • createdAtstring (date-time)required
    • startedAtstring (date-time)required

      Can be null.

    • finishedAtstring (date-time)required

      Can be null.

    • supportTicketobjectrequired

      Can be null.

      1 child field
      • openedAtstring (date-time)required
    • pollAfterSecondsinteger
  • nextCursorstringrequired

    Can be null.

200 response
{
  "runs": [
    {
      "runId": "6e3431a916a6bb08fe30481d",
      "threadId": "60186572e25ff711298bf12e",
      "status": "queued",
      "stopReason": "answered",
      "question": "string",
      "answer": "string",
      "diagnosis": {
        "category": "account_connection",
        "cause": "string",
        "fixSteps": [
          "string"
        ],
        "docsLinks": [
          "string"
        ],
        "whoMustAct": "integrator"
      },
      "usage": {
        "inputTokens": 1,
        "outputTokens": 1,
        "cacheReadTokens": 1,
        "cacheWriteTokens": 1
      },
      "costUsd": 12.5,
      "maxCostUsd": 12.5,
      "createdAt": "2026-10-02T09:00:00.000Z",
      "startedAt": "2026-10-02T09:00:00.000Z",
      "finishedAt": "2026-10-02T09:00:00.000Z",
      "supportTicket": {
        "openedAt": "2026-10-02T09:00:00.000Z"
      },
      "pollAfterSeconds": 1
    }
  ],
  "nextCursor": "string"
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Support Assistant