Skip to main content
GET
/
v1
/
runs
/
{runID}
/
debug-bundle
Get debug bundle
curl --request GET \
  --url https://api.strait.dev/v1/runs/{runID}/debug-bundle \
  --header 'Authorization: Bearer <token>'
{
  "checkpoints": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "run_id": "<string>",
      "sequence": 123,
      "source": "<string>",
      "state": "<unknown>",
      "$schema": "<string>"
    }
  ],
  "events": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "message": "<string>",
      "run_id": "<string>",
      "type": "<string>",
      "$schema": "<string>",
      "data": "<unknown>",
      "level": "<string>"
    }
  ],
  "outputs": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "output_key": "<string>",
      "run_id": "<string>",
      "value": "<unknown>",
      "$schema": "<string>",
      "schema": "<unknown>"
    }
  ],
  "resource_snapshots": [
    {
      "cpu_percent": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "memory_limit_mb": 123,
      "memory_mb": 123,
      "network_rx_bytes": 123,
      "network_tx_bytes": 123,
      "run_id": "<string>",
      "$schema": "<string>"
    }
  ],
  "run": {
    "attempt": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "debug_mode": true,
    "id": "<string>",
    "job_id": "<string>",
    "job_version": 123,
    "lineage_depth": 123,
    "priority": 123,
    "project_id": "<string>",
    "status": "<string>",
    "triggered_by": "<string>",
    "$schema": "<string>",
    "batch_id": "<string>",
    "concurrency_key": "<string>",
    "continuation_of": "<string>",
    "created_by": "<string>",
    "error": "<string>",
    "error_class": "<string>",
    "execution_mode": "<string>",
    "execution_trace": {
      "connect_ms": 123,
      "dequeue_ms": 123,
      "dispatch_ms": 123,
      "queue_wait_ms": 123,
      "total_ms": 123,
      "transfer_ms": 123,
      "ttfb_ms": 123
    },
    "expires_at": "2023-11-07T05:31:56Z",
    "finished_at": "2023-11-07T05:31:56Z",
    "heartbeat_at": "2023-11-07T05:31:56Z",
    "idempotency_key": "<string>",
    "job_version_id": "<string>",
    "machine_id": "<string>",
    "max_attempts_override": 123,
    "metadata": {},
    "next_retry_at": "2023-11-07T05:31:56Z",
    "parent_run_id": "<string>",
    "payload": "<unknown>",
    "result": "<unknown>",
    "retry_backoff": "<string>",
    "retry_initial_delay_secs": 123,
    "retry_max_delay_secs": 123,
    "scheduled_at": "2023-11-07T05:31:56Z",
    "started_at": "2023-11-07T05:31:56Z",
    "tags": {},
    "timeout_secs_override": 123,
    "workflow_step_run_id": "<string>"
  },
  "tool_calls": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "run_id": "<string>",
      "status": "<string>",
      "tool_name": "<string>",
      "$schema": "<string>",
      "duration_ms": 123,
      "input": "<unknown>",
      "output": "<unknown>"
    }
  ],
  "usage": [
    {
      "completion_tokens": 123,
      "cost_microusd": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "model": "<string>",
      "prompt_tokens": 123,
      "provider": "<string>",
      "run_id": "<string>",
      "total_tokens": 123,
      "$schema": "<string>"
    }
  ],
  "$schema": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

runID
string
required

Response

OK

checkpoints
object[] | null
required
events
object[] | null
required
outputs
object[] | null
required
resource_snapshots
object[] | null
required
run
object
required
tool_calls
object[] | null
required
usage
object[] | null
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/DebugBundle.json"