Comfy Get
GET
/api/comfy/{path}
const url = 'https://example.com/api/comfy/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/comfy/example \ --header 'Authorization: Bearer <token>'Read-only passthrough for Comfy discovery endpoints: models, queue, object_info, history, etc.
provider picks the node to ask (see GET /api/providers); without it the answer comes
from the default node. On a multi-node install that distinction is the whole point: each
node has its own model files, so a checkpoint list read from the wrong node says a file
is there when the node you are about to submit to has never seen it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”path
required
Path
string
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Comfy Get Api Comfy Path Get
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}