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

# Create or update a pipeline configuration



## OpenAPI

````yaml /openapi.yaml post /api/v1/pipeline
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.11.3
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/pipeline:
    post:
      tags:
        - Pipelines
      summary: Create or update a pipeline configuration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  description: Pipeline name
                source:
                  type: object
                  description: Source configuration (fileAttributes, schemaProperties)
                preprocessor:
                  type: object
                  description: Optional REST endpoint preprocessor
                dataQuality:
                  type: object
                  description: >-
                    Data quality rules (AI rules, header validation, schema
                    validation)
                transformation:
                  type: object
                  description: >-
                    Transformation rules (AI transformation, deduplication,
                    trimming)
                destination:
                  type: object
                  description: >
                    Destination configuration (database, objectStore, kafka,
                    activeMQ, restEndpoint, qdrant, weaviate, milvus, chroma,
                    pgvector).


                    The database destination selects its engine with exactly one
                    of `usePostgres`, `useMongoDB`, `useSnowflake`, or
                    `useDatabricks`. Snowflake and Databricks additionally take
                    `credentialsSecret` (a Platform secret) and `warehouse`
                    (Snowflake warehouse name / Databricks SQL warehouse ID);
                    for Databricks, `dbName` names the Unity Catalog catalog.


                    objectStore supports two providers via the `provider` field:
                    `minio` (default, uses the built-in MinIO credentials) and
                    `s3` (AWS S3). For `provider: s3`, set
                    `destinationBucketOverride` (required), `credentialsSecret`
                    (Vault secret with `accessKey`/`secretKey`/`region` and
                    optional `sessionToken`), and optionally `endpoint` (must be
                    https://). Region lives in the credentials secret, not on
                    the objectStore config.
      responses:
        '200':
          description: Pipeline created/updated
        '500':
          description: Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````