> ## 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.

# Get Pipeline Elements

> Get all elements for a pipeline (lightweight).

Heavy job_config keys (e.g. objectives) are projected out for
performance. GET /elements/{element_id} returns the same lightweight
shape; the full job_config is stored separately and fetched from
storage when a detail view needs it.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /pipelines/{pipeline_id}/elements
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /pipelines/{pipeline_id}/elements:
    get:
      tags:
        - Pipeline
      summary: Get Pipeline Elements
      description: |-
        Get all elements for a pipeline (lightweight).

        Heavy job_config keys (e.g. objectives) are projected out for
        performance. GET /elements/{element_id} returns the same lightweight
        shape; the full job_config is stored separately and fetched from
        storage when a detail view needs it.
      operationId: get_pipeline_elements_pipelines__pipeline_id__elements_get
      parameters:
        - name: pipeline_id
          in: path
          required: true
          schema:
            type: string
            title: Pipeline Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PipelineElement'
                title: >-
                  Response Get Pipeline Elements Pipelines  Pipeline Id 
                  Elements Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PipelineElement:
      properties:
        id:
          type: string
          title: Id
        pipeline_id:
          type: string
          title: Pipeline Id
        name:
          type: string
          title: Name
        element_order:
          type: integer
          exclusiveMinimum: 0
          title: Element Order
          description: Order of execution within the pipeline (1-based)
        element_type:
          $ref: '#/components/schemas/ElementType'
          description: Type of job for this step
        job_config:
          additionalProperties: true
          type: object
          title: Job Config
          description: Configuration parameters for the job
        job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Id
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Result
        status:
          $ref: '#/components/schemas/PipelineElementStatus'
        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'
        error_detail:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
        job_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Status
          description: Job status via job_id (from jobs.status).
        organization_id:
          type: string
          title: Organization Id
          description: Organization this pipeline element belongs to.
      type: object
      required:
        - id
        - pipeline_id
        - name
        - element_order
        - element_type
        - job_config
        - status
        - created_at
        - updated_at
        - organization_id
      title: PipelineElement
      description: Model for representing a pipeline element in API responses.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ElementType:
      type: string
      enum:
        - Direct Entry
        - Data Fit
        - Array Data Fit
        - Calculation
        - Validation
      title: ElementType
    PipelineElementStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - skipped
        - canceled
      title: PipelineElementStatus
    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

````