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

# Upload a configuration file

> Upload a JSON Schema for pipeline dataQuality schema validation to storage. The uploaded file can then be referenced by pipeline configurations.



## OpenAPI

````yaml /openapi.yaml post /api/v1/config/upload
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/config/upload:
    post:
      tags:
        - Configuration
      summary: Upload a configuration file
      description: >-
        Upload a JSON Schema for pipeline dataQuality schema validation to
        storage. The uploaded file can then be referenced by pipeline
        configurations.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - type
                - file
              properties:
                type:
                  type: string
                  enum:
                    - validation-schema
                  description: 'Config file type: ''validation-schema'' for JSON Schema'
                file:
                  type: string
                  format: binary
                  description: Configuration file to upload
      responses:
        '200':
          description: Upload confirmation with storage path
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigUploadResponse'
        '500':
          description: Error
components:
  schemas:
    ConfigUploadResponse:
      type: object
      properties:
        filename:
          type: string
        path:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````