Skip to content
Navigation

Get an agent run result

Returns the durable terminal result. While the run is active, retry the status URL.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    minLength: 1

Returns

200

The terminal result.

JSON
  • object
    string
    required
  • id
    string
    required
  • status
    completed
    or
    failed
    or
    cancelled
    or
    expired
    required
  • finishedAt
    string | null
    required
  • incomplete
    optional
    boolean
  • result
    optional
    string
  • output
    optional
    object
    • files
      array of
      object
      required
      • id
        string
        required
      • name
        string
        required
      • url
        optional
        string
  • error
    optional
    object
    • code
      string
      required
    • message
      string
      required
  • metadata
    optional
    map of
    unknown

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.

409

The run has not reached a terminal state (result_not_ready).

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