Clippie AI logo
Get Started
Browse the docs

Developers / Docs / Jobs & files

Finish a large file upload

Finishes a multipart upload started with POST /v1/files/uploads and returns the file.

Paste it into any AI assistant. The shortcuts open with the prompt typed in; nothing is sent until you press enter.

At a glance

  • REST
    POST https://api.clippie.ai/v1/files/uploads/complete
  • MCP tool
    REST only (not an MCP tool)
  • Scope
    create
  • Cost
    Spends nothing. Needs the create scope.

Parameters

  • key
    In:
    body
    Type:
    string
    Required:
    Yes
    Description:
    1-400 chars.
  • uploadId
    In:
    body
    Type:
    string
    Required:
    Yes
    Description:
    1-1000 chars.
  • parts
    In:
    body
    Type:
    array of object
    Required:
    Yes
    Description:
    1-10000 items.

Example

curl
curl https://api.clippie.ai/v1/files/uploads/complete \
  -H "Authorization: Bearer $CLIPPIE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "KEY_FROM_CREATE_FILE_UPLOAD",
    "uploadId": "UPLOAD_ID_FROM_CREATE_FILE_UPLOAD",
    "parts": [
      {
        "partNumber": 1,
        "etag": "\"ETAG_FROM_THE_PART_UPLOAD\""
      }
    ]
  }'

Response

200 with JSON. The full response schema is in the OpenAPI spec.