Skip to content
Navigation

Get an agent run timeline

Returns the durable event history in order. Use the last event id as after to fetch the next page. Events caused by someone identifiable carry an actor (member, agent, api_key, automation, embed or external); an embed-token actor has no name.

GET
https://api.cloudraker.com/v1/agent-runs/{id}/timeline
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    minLength: 1

Query parameters

  • after
    optional
    string
    minLength: 1
  • limit
    optional
    integer
    maximum: 200 · minimum: 1 · default: 50

Returns

200

A page of timeline events.

JSON
  • object
    string
    required
  • data
    array of
    object
    required
    • id
      string
      required
    • at
      string
      required
    • type
      run_started
      or
      step
      or
      task_ready
      or
      task_claimed
      or
      task_completed
      or
      task_skipped
      +21 more
      required
    • title
      string
      required
    • detail
      optional
      string
    • actor
      optional
      object

      Who caused the event, when it was caused by someone identifiable.

      • id
        string
        required

        Stable id of the principal.

      • kind
        member
        or
        agent
        or
        api_key
        or
        automation
        or
        embed
        or
        external
        required

        What kind of principal acted.

      • name
        optional
        string

        Display name, absent for principals that have none (embed tokens).

  • hasMore
    boolean
    required

400

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

401

Missing or invalid credentials.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

403

The credential is valid but cannot administer this organization.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

404

Unknown run id.

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