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

# Seed Custom Pipeline

> Directly create a completed custom processor from JSON. Admin-only.

Skips the agent entirely -- useful for seeding test data, local development,
and populating demos. The processor is immediately usable via POST /api/v1/marker.

USE WITH CAUTION



## OpenAPI

````yaml https://www.datalab.to/openapi.json post /api/v1/custom_processors/seed
openapi: 3.1.0
info:
  title: Datalab API
  version: 0.0.1
servers:
  - url: https://www.datalab.to
    description: Datalab API
security: []
paths:
  /api/v1/custom_processors/seed:
    post:
      tags:
        - Custom Processors
      summary: Seed Custom Pipeline
      description: >-
        Directly create a completed custom processor from JSON. Admin-only.


        Skips the agent entirely -- useful for seeding test data, local
        development,

        and populating demos. The processor is immediately usable via POST
        /api/v1/marker.


        USE WITH CAUTION
      operationId: seed_custom_pipeline_api_v1_custom_processors_seed_post
      parameters:
        - name: wos-session
          in: cookie
          required: false
          schema:
            type: string
            title: Wos-Session
        - name: datalab_active_team
          in: cookie
          required: false
          schema:
            type: string
            title: Datalab Active Team
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedPipelineRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeedPipelineResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SeedPipelineRequest:
      properties:
        name:
          type: string
          maxLength: 120
          title: Name
          description: Display name for the processor
        request_description:
          type: string
          title: Request Description
          description: Description of what this processor does
        pipeline_params:
          additionalProperties: true
          type: object
          title: Pipeline Params
          description: Pipeline parameters (must contain 'modifications' array)
        original_params:
          additionalProperties: true
          type: object
          title: Original Params
          description: Base pipeline parameters
        eval_definition:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Eval Definition
          description: Evaluation definition for running evals against this processor
        processor_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Processor Id
          description: 'Optional fixed processor ID (default: auto-generated)'
        template_slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Slug
          description: URL-friendly slug to create this processor as a template
        template_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Description
          description: Public-facing template description
        template_category:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Category
          description: Template category (e.g. Research, Business)
        display_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Display Config
          description: >-
            Display configuration for the template UI (recommended_view,
            changes_description, highlight_css)
      type: object
      required:
        - name
        - request_description
        - pipeline_params
      title: SeedPipelineRequest
      description: Request body for seeding a custom processor directly (no agent).
    SeedPipelineResponse:
      properties:
        success:
          type: boolean
          title: Success
        processor_id:
          type: string
          title: Processor Id
      type: object
      required:
        - success
        - processor_id
      title: SeedPipelineResponse
      description: Response after seeding a custom processor.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````