API
TypeScript
import { ComfyDeploy } from "comfydeploy"; const comfyDeploy = new ComfyDeploy({ bearer: "<YOUR_BEARER_TOKEN_HERE>", }); async function run() { const result = await comfyDeploy.run.get({ runId: "b888f774-3e7c-4135-a18c-6b985523c4bc", }); // Handle the result console.log(result); } run();
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_inputs": null, "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_api": null, "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "origin": "<string>", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "gpu_event_id": "<string>", "gpu": "<string>", "machine_version": "<string>", "machine_type": "<string>", "modal_function_call_id": "<string>", "user_id": "<string>", "org_id": "<string>", "live_status": "<string>", "webhook": "<string>", "webhook_status": "<string>", "number": 123, "duration": 123, "cold_start_duration": 123, "cold_start_duration_total": 123, "run_duration": 123, "ended_at": "2023-11-07T05:31:56Z", "queued_at": "2023-11-07T05:31:56Z", "started_at": "2023-11-07T05:31:56Z", "progress": 0, "is_realtime": false, "webhook_intermediate_status": false, "outputs": [] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
Was this page helpful?