Skip to main content

List Turns

Returns turns for the workspace associated with your API key, ordered newest first. Each turn includes the linked AgentRun information.

Request

GET /api/v1/turn/list

Headers

HeaderRequiredDescription
AuthorizationYesAPI key in Bearer snorbe_... format

Query Parameters

ParameterTypeRequiredDefaultDescription
limitintegerNo10Items per page (1–50)
cursorstringNo-nextCursor from previous page
The workspace is automatically resolved from your API key. No parameters required.

Response

{
  "turns": [
    {
      "id": "clxxx001",
      "kind": "user",
      "content": "Research the latest AI trends",
      "agentRunId": null,
      "createdAt": "2026-04-16T10:30:00.000Z",
      "agentRun": null
    },
    {
      "id": "clxxx002",
      "kind": "assistant",
      "content": "Here are the research findings...",
      "agentRunId": "clyyy001",
      "createdAt": "2026-04-16T10:30:05.000Z",
      "agentRun": {
        "id": "clyyy001",
        "status": "completed",
        "process": [],
        "agent": { "id": "clzzz001", "name": "agent" },
        "images": [
          {
            "imageUrl": "https://example.com/photo-1.jpg",
            "thumbnailUrl": "https://example.com/thumb-1.jpg",
            "title": "Lithium-ion battery diagram",
            "link": "https://example.com/article-1"
          }
        ]
      }
    }
  ],
  "nextCursor": "clxxx003"
}

Response Fields

FieldTypeDescription
turnsobject[]Turn array (newest first)
turns[].idstringTurn ID
turns[].kindstringuser, assistant, error
turns[].contentstringTurn content
turns[].agentRunIdstring | nullLinked AgentRun ID
turns[].agentRunobject | nullAgentRun details
turns[].agentRun.statusstringrunning, completed, failed, etc.
turns[].agentRun.agentobjectAgent info
turns[].agentRun.imagesobject[]Images extracted from the process. Aggregated from search image SERPs, skill output files, and bodyLinks images in source summaries (deduplicated)
turns[].agentRun.images[].imageUrlstringImage URL
turns[].agentRun.images[].thumbnailUrlstring | undefinedThumbnail URL (present only when sourced via Serper)
turns[].agentRun.images[].titlestring | undefinedImage title / alt text
turns[].agentRun.images[].linkstring | undefinedURL of the originating page
nextCursorstring | nullCursor for next page (null = last page)

Examples

# First page
curl "https://app.snorbe.deskrex.ai/api/v1/turn/list?limit=10" \
  -H "Authorization: Bearer snorbe_your_api_key_here"

# Next page
curl "https://app.snorbe.deskrex.ai/api/v1/turn/list?limit=10&cursor=clxxx003" \
  -H "Authorization: Bearer snorbe_your_api_key_here"

Error Responses

HTTP StatusCodeDescription
401UNAUTHORIZEDInvalid, expired, or missing API key
429TOO_MANY_REQUESTSRate limit exceeded