jobs

Submit Workflow

Submit a new workflow for execution.

Args: request: Workflow submission request ctx: Application context with user and session workflow_service: Workflow service dependency

Returns: StandardResponse: Job ID and status

Raises: ValidationError: If workflow submission fails validation

post/api/v1/jobs/workflows

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/jobs/workflows
  • Auth: none declared

Headers

Authorizationstring

Request body

workflow_namestring required

Name of the workflow to execute

contextobject

Workflow execution context

filtersobject nullable

Optional filters for workflow

priority'low' | 'normal' | 'high' | 'urgent'

Job priority levels for queue ordering.

estimated_durationinteger nullable

Estimated duration in seconds

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

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