Skip to main content

Trigger Pipeline

POST 

/api/v1/entries/:entry_id/trigger-pipeline

Trigger pipeline workflow for an entry.

This endpoint:

  1. Validates entry exists and is in a triggerable state
  2. Validates dataset has a pipeline configured and enabled
  3. Builds Argo Workflow from pipeline config using PipelineBuilder
  4. Updates entry status to 'processing'
  5. Submits workflow to Argo Workflows
  6. Returns workflow metadata

Valid Entry Statuses: uploaded, error Requirements: Dataset must have pipeline_config with enabled=true

Error Responses:

  • 404: Entry not found
  • 400: Invalid entry status, pipeline not configured, or pipeline disabled
  • 500: Workflow submission failed

Request

Responses

Successful Response