Get Run
Get details of a specific run by ID
AuthorizationBearer <token>
In: header
Path Parameters
run_idstring
The ID of the run to retrieve
Format
uuid
Response Body
curl -X GET "https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08"
fetch("https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08"
response = requests.request("GET", url)
print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(URI.create("https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08"))
.GET()
.build();
try {
HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Response body: " + response.body());
} catch (Exception e) {
e.printStackTrace();
}
using System;
using System.Net.Http;
using System.Text;
var client = new HttpClient();
var response = await client.GetAsync("https://api.comfydeploy.com/api/run/497f6eca-6276-4993-bfeb-53cbbbba6f08");
var responseBody = await response.Content.ReadAsStringAsync();
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"workflow_version_id": "60bab57e-9f59-448d-bef4-a6fd602db8a4",
"workflow_inputs": {},
"workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe",
"workflow_api": {},
"machine_id": "76ca96f6-a9a8-43bf-917c-a176478a33ba",
"origin": "string",
"status": "string",
"ended_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"queued_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"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": 0,
"duration": 0,
"cold_start_duration": 0,
"cold_start_duration_total": 0,
"run_duration": 0
}
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}