GET/api/orgs/{org_id}/annotation-queues/{queue_id}/items

List a queue's items

Items oldest first, optionally one status, keyset paged.

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

  • queue_idstringrequired

    The queue id.

Query parameters

  • statusenum

    pending, completed or skipped.

    "pending""completed""skipped"
  • cursorstring

    The next_cursor of the previous page.

  • limitinteger

    Rows per page, 1 to 200.

    Default: 50

Responses

  • 200

    One page.

    Response
    • itemsarray<object>
      items
      • idstring
      • targetobject

        One request, session or span of the organization.

        target
        • kindenumrequired
          "request""session""span"
        • idstringrequired
      • statusenum
        "pending""completed""skipped"
      • completed_by_emailstring | null
      • completed_atstring | null
    • next_cursorstring | null
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    Unknown organization, or not the key's own organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 429

    Too many reads. rate_limited: this organization's API-key reads of the request log are over about 10 per second (burst 30) or 4 in flight on one server (sessions are not limited). build_capacity: the shared analytics read slots are busy. Retry after Retry-After.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/annotation-queues/3c2b1a0f-9e8d-4c7b-6a5f-4e3d2c1b0a9f/items?status=pending&cursor=eyJ0Ijoi...&limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "items": [
    {
      "id": "7e6d5c4b-3a2f-4e1d-0c9b-8a7f6e5d4c3b",
      "target": {
        "kind": "request",
        "id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF"
      },
      "status": "pending",
      "completed_by_email": null,
      "completed_at": null
    }
  ],
  "next_cursor": null
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/annotation-queues/3c2b1a0f-9e8d-4c7b-6a5f-4e3d2c1b0a9f/items?status=pending&cursor=eyJ0Ijoi...&limit=50