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

# Complete a model artifact upload

> Finalizes the session, inspects the uploaded files, and marks the artifact ready or failed.



## OpenAPI

````yaml /api-reference/model-artifacts.json post /v1/model-artifacts/{artifact_id}/uploads/{upload_id}/complete
openapi: 3.1.0
info:
  title: SynapsAI Model Artifacts API
  version: 1.0.0
servers:
  - url: https://api.synapsai.cloud
    description: Production server
security: []
paths:
  /v1/model-artifacts/{artifact_id}/uploads/{upload_id}/complete:
    post:
      summary: Complete a model artifact upload
      description: >-
        Finalizes the session, inspects the uploaded files, and marks the
        artifact ready or failed.
      operationId: completeModelArtifactUpload
      parameters:
        - name: artifact_id
          in: path
          required: true
          schema:
            type: string
        - name: upload_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Completed artifact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtifactEnvelope'
        '404':
          description: Upload session not found
components:
  schemas:
    ArtifactEnvelope:
      type: object
      properties:
        message:
          type: string
        artifact:
          $ref: '#/components/schemas/ModelArtifact'
    ModelArtifact:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        display_name:
          type: string
        pipeline:
          type: string
        status:
          type: string
        size_gb:
          type: number
        created_at:
          type: string
        updated_at:
          type: string

````

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