{"uid":"cap_qNmU7EsSMm-ph6h3tDdt_","slug":"scheduler-withzero-xyz-get-single-run-details-with-truncated-stdout-21b77d1b","name":"Get Single Run Details (with Truncated Stdout/Stderr and Logs URL)","description":"Deep-dive single run with truncated stdout/stderr + logs_url. 📖 Full guide: https://scheduler.withzero.xyz/llms.txt","url":"https://scheduler.withzero.xyz/api/v1/runs/{id}","method":"GET","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":{"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":"null"}]},"daytona_sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"sibling_call_count":{"type":"number"},"cost_daytona_micros":{"anyOf":[{"type":"string"},{"type":"null"}]},"cost_overhead_micros":{"anyOf":[{"type":"string"},{"type":"null"}]},"cost_siblings_micros":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","requiresHandshake":false,"reviewCount":2,"rating":{"score":"1.00","successRate":"0.99","reviews":2,"stars":"5.0","state":"rated"},"availabilityStatus":"healthy","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"metered","summary":"metered — billed by usage","primary":{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_unSptE-Kjh23MZ4Kxexxd","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"scheduler.runs.get:1"}],"brandName":"scheduler.withzero.xyz","brandSlug":"scheduler-withzero-xyz-mpp","brandBaseUrl":"https://scheduler.withzero.xyz","brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":null,"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":"# Get Run — single-run detail\n\n## Workflow\n- Get the run id from: POST /api/v1/tasks/{id}/runs (sync) or GET /api/v1/tasks/{id}/runs (history)\n\n## Contract\n- status: succeeded / failed / timeout. stdout/stderr are truncated here — use logs_url for the full logs.","reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":341,"lastUsedAt":"2026-09-02T00:53:28.402Z","lastSuccessfullyRanAt":"2026-09-02T00:53:28.402Z","lastHealthCheckAt":"2026-09-09T12:36:57.605Z","isFirstParty":true}