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

# Create exports



## OpenAPI

````yaml /openapi/audit.json post /v1/audit/exports/
openapi: 3.0.3
info:
  title: Yume API — Аудит
  version: 1.0.0
  description: Журнал действий и история изменений.
servers:
  - url: https://api.yume.cloud
    description: Production
  - url: https://api.stage.yume.cloud
    description: Stage
security: []
paths:
  /v1/audit/exports/:
    post:
      tags:
        - exports
      summary: Create exports
      operationId: exports_create
      parameters:
        - $ref: '#/components/parameters/TenantId'
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AuditExport'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditExport'
          description: ''
      security:
        - jwtAuth: []
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    AuditExport:
      type: object
      properties:
        file:
          type: string
          format: uri
          writeOnly: true
        name:
          type: string
          maxLength: 255
        format:
          $ref: '#/components/schemas/FormatEnum'
        source:
          type: string
          default: ''
          maxLength: 255
        title:
          type: string
          default: ''
          maxLength: 255
        rows:
          type: integer
          minimum: 0
          default: 0
        columns:
          type: array
          items:
            type: string
            maxLength: 255
          maxItems: 200
      required:
        - file
        - format
        - name
    FormatEnum:
      enum:
        - xlsx
        - csv
        - tsv
      type: string
      description: |-
        * `xlsx` - xlsx
        * `csv` - csv
        * `tsv` - tsv
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````