Skip to content
Navigation

List a work session timeline

Reads the timeline in seq order, which is gapless and monotonic. Page forward with afterSeq; nextAfterSeq is the cursor for the next page, or null at the end.

Every entry is redacted before it leaves: a tool row keeps its name and loses its arguments and its result, and no signed URL or storage key is ever returned. Read a file through GET /v1/files/{id} instead.

Learn more: Work sessions

GET
https://api.cloudraker.com/v1/work-sessions/{id}/entries
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    maxLength: 128 · minLength: 1

Query parameters

  • afterSeq
    optional
    integer
    maximum: 9007199254740991 · minimum: 0
  • limit
    optional
    integer
    maximum: 200 · minimum: 1

Returns

200

One page of entries.

JSON
  • data
    array of
    object
    required
    • seq
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • id
      string
      required
    • kind
      comment
      or
      system
      or
      turn_started
      or
      turn_finished
      or
      turn_message
      or
      approval
      +6 more
      required
    • at
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • role
      user
      or
      assistant
      or
      system
      required
    • author
      object
      required
      • kind
        user
        or
        agent
        or
        api_key
        or
        trigger
        or
        external
        required
      • id
        string
        required
        maxLength: 128 · minLength: 1
      • name
        string
        required
        maxLength: 120 · minLength: 1
      • avatarUrl
        optional
        string
        maxLength: 2048
      • source
        optional
        web
        or
        desktop
        or
        api
        or
        email
        or
        webhook
        or
        schedule
        +4 more
    • threadId
      string | null
      required
    • turnId
      string | null
      required
    • parts
      array of
      map<unknown>
      required
    • startedTurnIds
      array of
      string
      required
    • updatedSeq
      required

      Any of the following:

      • integer
      • null
  • nextAfterSeq
    required

    Any of the following:

    • integer
    • null

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

401

Missing or invalid credential.

403

The credential may not use the /v1 API.

404

Unknown session id, or it belongs to another API key.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close