Deployments
Webhooks
Next JS
Get Run
GET
/
run
/
{run_id}
Copy
Ask AI
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();
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_inputs": "<any>",
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_api": "<any>",
"machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"status": "<string>",
"ended_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"queued_at": "2023-11-07T05:31:56Z",
"started_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>",
"progress": 0,
"is_realtime": false,
"webhook": "<string>",
"webhook_status": "<string>",
"webhook_intermediate_status": false,
"outputs": [],
"number": 123,
"duration": 123,
"cold_start_duration": 123,
"cold_start_duration_total": 123,
"run_duration": 123
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
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();
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_inputs": "<any>",
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_api": "<any>",
"machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"status": "<string>",
"ended_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"queued_at": "2023-11-07T05:31:56Z",
"started_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>",
"progress": 0,
"is_realtime": false,
"webhook": "<string>",
"webhook_status": "<string>",
"webhook_intermediate_status": false,
"outputs": [],
"number": 123,
"duration": 123,
"cold_start_duration": 123,
"cold_start_duration_total": 123,
"run_duration": 123
}
Assistant
Responses are generated using AI and may contain mistakes.