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

# Publish Matched Snapshot

> Publish a CSV through the existing import worker. Total request limit: 25 MiB.



## OpenAPI

````yaml https://clientapi.retailgrid.io/openapi.json post /v1/matching/matched-snapshots
openapi: 3.1.0
info:
  title: Retailgrid Public API
  version: v1
servers: []
security: []
paths:
  /v1/matching/matched-snapshots:
    post:
      tags:
        - matching
      summary: Publish Matched Snapshot
      description: >-
        Publish a CSV through the existing import worker. Total request limit:
        25 MiB.
      operationId: publish_matched_snapshot_v1_matching_matched_snapshots_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_publish_matched_snapshot_v1_matching_matched_snapshots_post
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobHandle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_publish_matched_snapshot_v1_matching_matched_snapshots_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
          description: >-
            Raw competitor or already matched CSV; input kind is detected
            automatically.
        coverage:
          type: string
          enum:
            - full
            - partial
          title: Coverage
          default: partial
        covered_competitors:
          type: string
          maxLength: 65536
          title: Covered Competitors
          default: ''
        allow_large_removal:
          type: boolean
          title: Allow Large Removal
          default: false
      type: object
      required:
        - file
      title: Body_publish_matched_snapshot_v1_matching_matched_snapshots_post
    JobHandle:
      properties:
        job_id:
          type: string
          format: uuid
          title: Job Id
      additionalProperties: false
      type: object
      required:
        - job_id
      title: JobHandle
      description: |-
        Minimal handle returned by async enqueue endpoints.

        The full job status is fetched separately via ``GET /v1/jobs/{id}``.
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.