> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and submit a SimplePipeline

> Create a new SimplePipeline and submit it for processing.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json post /simple_pipelines
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /simple_pipelines:
    post:
      tags:
        - simple_pipeline
      summary: Create and submit a SimplePipeline
      description: Create a new SimplePipeline and submit it for processing.
      operationId: create_simple_pipeline_simple_pipelines_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSimplePipelineRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePipeline'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreateSimplePipelineRequest:
      properties:
        project_id:
          type: string
          title: Project Id
          description: Project ID to associate the pipeline with
        name:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Name
          description: Optional human-readable name for the pipeline
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Optional human-readable description for the pipeline
        config:
          additionalProperties: true
          type: object
          title: Config
          description: >-
            Pipeline configuration with elements dict. At most one
            datafit/validation element, any number of cheap elements.
        options:
          anyOf:
            - $ref: '#/components/schemas/PipelineOptions'
            - type: 'null'
          description: >-
            Runtime execution options (e.g. live_progress_updates). Submission
            metadata, not stored in the pipeline config.
      type: object
      required:
        - project_id
        - config
      title: CreateSimplePipelineRequest
      description: Request body for creating a SimplePipeline.
    SimplePipeline:
      properties:
        id:
          type: string
          title: Id
        project_id:
          type: string
          title: Project Id
        organization_id:
          type: string
          title: Organization Id
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        status:
          $ref: '#/components/schemas/PipelineStatus'
        job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - $ref: '#/components/schemas/JobErrorCode'
            - type: 'null'
        created_by_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By Email
        config_path:
          type: string
          title: Config Path
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Result
      type: object
      required:
        - id
        - project_id
        - organization_id
        - status
        - created_at
        - updated_at
        - config_path
      title: SimplePipeline
      description: Full model for detail responses and DB records.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PipelineOptions:
      properties:
        live_progress_updates:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Live Progress Updates
          description: >-
            If True, save checkpoint progress to database during job execution.
            If None, the worker picks a default based on job type.
      type: object
      title: PipelineOptions
      description: Options for pipeline execution behavior.
    PipelineStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - canceled
      title: PipelineStatus
    JobErrorCode:
      type: string
      enum:
        - CONFIGURATION_ERROR
        - MODEL_ERROR
        - SOLVER_ERROR
        - EXECUTION_TIMEOUT
        - SUBMISSION_FAILED
        - INTERNAL_ERROR
      title: JobErrorCode
      description: Machine-readable error codes for jobs.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````