Skip to content

Workflow Endpoints

List Workflows

GET /api/v1/workflows

Returns all published workflows with pricing and metadata.

Workflow Detail

GET /api/v1/workflows/<workflow_id>

Includes input schema, sample images, cover art, and pricing. Input fields are derived from the provider’s classified ComfyUI inputs.

Workflow Stats

GET /api/v1/workflows/stats
Authorization: Bearer ccn_sk_...

Returns per‑workflow run counts and usage data.

Covers & Showcase

Providers can upload cover art and showcase images:

POST /api/v1/covers/<workflow_id>
POST /api/v1/showcase/<workflow_id>

Cover art is limited to one image per workflow. Showcase images are limited to 6.