Workflows

Create workflow definition

Store a reusable workflow definition — typically a ComfyUI or n8n execution graph captured from an imported asset. Workflow definitions are the templates; use workflow executions to track individual runs.

post/api/v1/workflows/definitions

Request

  • Base URL: https://numonic.ai
  • URL: https://numonic.ai/api/v1/workflows/definitions
  • Auth: API key in header x-api-key

Request body

namestring required
descriptionstring
versionstring required
workflow_jsonobject required

Complete workflow graph JSON

node_countinteger required
custom_nodesobject
created_bystring required

Creator identifier

is_activeboolean

Response

Workflow definition created

messagestring required

Human-readable success message

Example response

{
  "message": "Operation completed successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.