Comfy Get
GET
/api/comfy/{path}
const url = 'https://example.com/api/comfy/example?provider=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?provider=example' \ --header 'Authorization: Bearer <token>'Read-only passthrough for Comfy discovery endpoints: models, queue, object_info, history, etc.
provider names the node to ask (see GET /api/providers). Each node has its own model
files, queue and history, so there is no answer without one.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”path
required
Path
string
Query Parameters
Section titled “Query Parameters”provider
required
Provider
string
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" } ]}