Skip to main content
GET
/
api
/
v1
/
runs
/
{id}
Retrieve Run
curl --request GET \
  --url https://api.example.com/api/v1/runs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "run_id": "<string>",
  "goal": "<string>",
  "title": "<string>",
  "labels": {},
  "repository": {
    "name": "api-server"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "status": {
    "kind": "submitted"
  },
  "workflow_name": "<string>",
  "workflow_slug": "<string>",
  "host_repo_path": "<string>",
  "start_time": "2023-11-07T05:31:56Z",
  "pending_control": "cancel",
  "duration_ms": 1,
  "elapsed_secs": 123,
  "total_usd_micros": 123,
  "superseded_by": "<string>"
}

Authorizations

Authorization
string
header
required

Raw dev token passed as Authorization: Bearer fabro_dev_... when server.auth.methods includes dev-token.

Path Parameters

id
string
required

Unique run identifier (ULID).

Response

Durable run summary

Durable run summary derived from the backing store.

run_id
string
required
goal
string
required
title
string
required
labels
object
required
repository
object
required

Reference to a repository by name.

created_at
string<date-time>
required
status
object
required

Lifecycle status of a run. archived is a terminal status reached by an explicit user action on a previously terminal (succeeded, failed, or dead) run; archived runs are hidden from default listings and are read-only until unarchived.

workflow_name
string | null
workflow_slug
string | null
host_repo_path
string | null
start_time
string<date-time> | null
pending_control
enum<string> | null

Run control action requested by the API.

Available options:
cancel,
pause,
unpause
duration_ms
integer<int64> | null
Required range: x >= 0
elapsed_secs
number | null
total_usd_micros
integer<int64> | null
superseded_by
string | null