Skip to main content
GET
/
v1
/
runs
/
{id}
curl https://api.crewship.dev/v1/runs/run_xyz789abc \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "run_xyz789abc",
  "version_id": "ver_abc123xyz",
  "deployment_id": "dep_abc123xyz",
  "status": "running",
  "input": {
    "topic": "AI agents"
  },
  "output": null,
  "error_message": null,
  "created_at": "2024-01-15T10:35:00Z",
  "started_at": "2024-01-15T10:35:02Z",
  "completed_at": null
}

Path Parameters

id
string
required
Run ID (e.g., run_xyz789abc)

Response

id
string
Run ID
version_id
string
Version ID
deployment_id
string
Deployment ID
status
string
Run status: pending, running, succeeded, failed, canceled
input
object
Input provided when creating the run
output
object
Final output (only present when succeeded)
error_message
string
Error message (only present when failed)
created_at
string
When the run was created (ISO 8601)
started_at
string
When execution started (ISO 8601), or null
completed_at
string
When the run finished (ISO 8601), or null
curl https://api.crewship.dev/v1/runs/run_xyz789abc \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "run_xyz789abc",
  "version_id": "ver_abc123xyz",
  "deployment_id": "dep_abc123xyz",
  "status": "running",
  "input": {
    "topic": "AI agents"
  },
  "output": null,
  "error_message": null,
  "created_at": "2024-01-15T10:35:00Z",
  "started_at": "2024-01-15T10:35:02Z",
  "completed_at": null
}