curl --request GET \
--url https://platformapi.comfy.org/builder/v1/releases/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://platformapi.comfy.org/builder/v1/releases/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platformapi.comfy.org/builder/v1/releases/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platformapi.comfy.org/builder/v1/releases/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platformapi.comfy.org/builder/v1/releases/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platformapi.comfy.org/builder/v1/releases/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platformapi.comfy.org/builder/v1/releases/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"buildId": "<string>",
"version": 123,
"deployable": true,
"artifactCounts": {
"total": 123,
"ready": 123,
"failed": 123,
"stopped": 123,
"pending": 123
},
"status": "queued",
"timeline": [
{
"phase": "<string>",
"level": "info",
"message": "<string>",
"at": "2023-11-07T05:31:56Z",
"artifactId": "<string>"
}
],
"artifacts": [
{
"id": "<string>",
"os": "linux",
"gpu": "nvidia",
"accelVariant": "<string>",
"status": "queued",
"imageRef": "<string>",
"imageDigest": "<string>",
"archiveRef": "<string>",
"archiveSha256": "<string>",
"failureReason": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"definition": {},
"reproducible": true,
"sizeBytes": 123,
"numUnsizedItems": 123,
"logUrl": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>"
}Check a release's status
Returns the release’s status, the step-by-step timeline, a machine-readable error if it failed, a short-lived link to the full build log, and the artifacts produced. The UI polls this and stops once the status is final.
curl --request GET \
--url https://platformapi.comfy.org/builder/v1/releases/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://platformapi.comfy.org/builder/v1/releases/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platformapi.comfy.org/builder/v1/releases/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platformapi.comfy.org/builder/v1/releases/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platformapi.comfy.org/builder/v1/releases/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platformapi.comfy.org/builder/v1/releases/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platformapi.comfy.org/builder/v1/releases/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"buildId": "<string>",
"version": 123,
"deployable": true,
"artifactCounts": {
"total": 123,
"ready": 123,
"failed": 123,
"stopped": 123,
"pending": 123
},
"status": "queued",
"timeline": [
{
"phase": "<string>",
"level": "info",
"message": "<string>",
"at": "2023-11-07T05:31:56Z",
"artifactId": "<string>"
}
],
"artifacts": [
{
"id": "<string>",
"os": "linux",
"gpu": "nvidia",
"accelVariant": "<string>",
"status": "queued",
"imageRef": "<string>",
"imageDigest": "<string>",
"archiveRef": "<string>",
"archiveSha256": "<string>",
"failureReason": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"definition": {},
"reproducible": true,
"sizeBytes": 123,
"numUnsizedItems": 123,
"logUrl": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>"
}인증
응답
OK
Closed enum for a release's build lifecycle: queued (nothing started), building (a target is in flight), stopping (a target is stopping), stopped (all targets are terminal and some stopped), complete (all targets are terminal and none stopped). It says only whether the build is DONE, not whether it succeeded or is deployable. A complete release may have built all, some, or none of its targets; see artifactCounts and deployable. Adding or retrying a target reopens it to building.
queued, building, complete, stopping, stopped Whether a rebuild installs the same Python packages this release's build did (derived from the sealed definition). False when a pipDependencies line pins a package by the https address of a wheel without a #sha256= fragment: the resolve fetches whatever that address serves on the day and records the address, not the bytes, so two builds of the release can differ. True when every such address carries the fragment, which uv verifies at install, or when there is none. Absent under the same condition as definition: a legacy release cut before the field existed.
Total size of the content the release's own sealed definition references, in bytes (derived): models and custom-node archives. Each distinct object is counted once, and an item no source could size contributes nothing (see numUnsizedItems). Sized from the definition as it stood at cut, not the build's current one, so an older release with a different model set reports its own size rather than the build's. The models come from the total the cut measured and stored, the same one the deploy estimate reads and a deployment downloads: every model, private or public, sized from its upload record, our mirror or its own host, one file per models//. Custom-node archives are added to it from their upload records, except one whose upload is the model the cut counted on its path. That answer is there as soon as the release is cut, whatever its status: a release with a stored total answers exactly that total plus its custom-node archives. A release cut before the cut kept the first model on each shared path may have stored the smallest one; such a stored total is corrected on the release itself, not by this read. A release cut before the cut stored a total is read live instead, under a time budget and from the mirror alone, so a loaded server may size fewer of its public models than a quiet one, and a public model at a link our mirror does not hold is counted unsized; until such a release's build has finished once, the endpoint a client polls for status answers from the stored upload records alone, so every public model is counted unsized, and retrying a target afterwards does not take the size away again. Absent under the same condition as definition: a legacy release cut before the field existed.
Count of the distinct items (models and custom-node archives) whose size could not be read, so they contribute nothing to sizeBytes (derived). It counts distinct items, not raw entries, so a definition naming one unsizable model three times reports numUnsizedItems 1. Where the cut stored a total, the models in it are the ones the cut could not size (zero on any release cut with a live sizer, since such a cut refuses an unsized model), plus any custom-node archive whose upload record is gone. Zero means every item this endpoint sizes was read; a custom node installed from a repository or the registry is sized by neither route and counted by neither, so it is never in the total. Non-zero means sizeBytes is a lower bound on top of that and should be shown as approximate. Absent under the same condition as sizeBytes.