# Get Single Run Details (with Truncated Stdout/Stderr and Logs URL)

> Get Single Run Details (with Truncated Stdout/Stderr and Logs URL) is a paid API for AI agents from scheduler.withzero.xyz, paid per call via MPP, metered — billed by usage, status healthy (last checked 2026-09-09, last successful call 2026-09-02).

Fetches detailed information about a specific scheduled task run, including truncated stdout/stderr output, a logs URL for full logs, execution status, cost breakdown, and sandbox metadata.

## Facts

- Endpoint: GET https://scheduler.withzero.xyz/api/v1/runs/{id}
- Price: metered — billed by usage
- Payment: MPP
- Status: healthy
- Last checked: 2026-09-09
- Last successful call: 2026-09-02
- Success rate: 99% of calls made through Zero
- Rating: 5.0 / 5 from 2 reviews
- Activations on Zero: 341
- Provider: scheduler.withzero.xyz
- Website: https://scheduler.withzero.xyz
- Canonical page: https://www.zero.xyz/c/scheduler-withzero-xyz-get-single-run-details-with-truncated-stdout-21b77d1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qNmU7EsSMm-ph6h3tDdt_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scheduler-withzero-xyz-get-single-run-details-with-truncated-stdout-21b77d1b
```

Example prompt: Can you pull up the details for run 3f2a1b4c-0001-4abc-ab12-000000000001 on scheduler.withzero.xyz — I want to see its status, exit code, any stdout/stderr output, and where I can find the full logs?

## When to prefer this

Use this endpoint when you need detailed post-execution information about a single, specific run — including truncated output and a link to full logs — rather than just a status summary. Prefer it over a run-list endpoint when you already know the run UUID and want the deepest available metadata, including cost breakdown and sandbox ID.

## Known failure modes

- Run ID not found or does not belong to the authenticated owner — likely 404 or 403
- Invalid UUID format for the run ID — 400 validation error
- Run not yet started — fields like started_at, exit_code, stdout, stderr may be null
- Logs URL may be expired or unavailable if the run is very old
- Cost fields may be null if billing has not yet been finalized

## How this service works

Deep-dive single run with truncated stdout/stderr + logs_url. 📖 Full guide: https://scheduler.withzero.xyz/llms.txt

## Output

Returns a JSON object with the run's UUID, associated task_id, execution status string, trigger type, timestamps (started_at, finished_at, claimed_at, heartbeat_at), exit code, truncated stdout and stderr strings, a logs_url for full log retrieval, Daytona sandbox ID, sibling call count, and a four-part cost breakdown in micros (daytona, overhead, siblings, total).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "id",
  "task_id",
  "status",
  "trigger",
  "started_at",
  "finished_at",
  "claimed_at",
  "heartbeat_at",
  "exit_code",
  "stdout",
  "stderr",
  "cost_daytona_micros",
  "cost_overhead_micros",
  "cost_siblings_micros",
  "cost_total_micros",
  "sibling_call_count",
  "daytona_sandbox_id",
  "logs_url",
  "artifacts"
 ],
 "properties": {
  "id": {
   "type": "string",
   "format": "uuid",
   "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  },
  "status": {
   "type": "string"
  },
  "stderr": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "stdout": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "task_id": {
   "type": "string",
   "format": "uuid",
   "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  },
  "trigger": {
   "type": "string"
  },
  "logs_url": {
   "type": "string"
  },
  "artifacts": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "url",
     "path",
     "bytes",
     "content_type",
     "created_at"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "path": {
      "type": "string"
     },
     "bytes": {
      "type": "number"
     },
     "created_at": {
      "type": "string"
     },
     "content_type": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "description": "Durable artifacts stored by the run via the cdn capability. Fetchable by URL."
  },
  "exit_code": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ]
  },
  "claimed_at": {
   "type": "string"
  },
  "started_at": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "finished_at": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "heartbeat_at": {
   "type": "string"
  },
  "cost_total_micros": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scheduler-withzero-xyz-get-single-run-details-with-truncated-stdout-21b77d1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scheduler.withzero.xyz](https://www.zero.xyz/host/scheduler.withzero.xyz/llms.txt)
