AITOPIA Uploads API

The Uploads API from AITOPIA — 2 operation(s) for uploads.

Operations 2

POST /v1/uploads Host a file (base64 up to about 19 MB, or import from source_url) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aitopia-ai:aitopia-ai-uploads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aitopia-ai-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AITOPIA REST Uploads API
  version: 1.0.0
  description: 'Run AITOPIA models, edits and batches over HTTP. Submit calls return a request_id; poll GET /v1/requests/{request_id} (optionally with ?wait=N) or receive a signed webhook. Results are kept 30 days. Credit figures are estimates. The sandbox server takes test keys (aitk_test_...): same requests and validation, simulated results, no credits spent.'
servers:
- url: https://api-live.aitopia.ai
  description: 'Live: real runs, credits are charged. Live keys (aitk_live_...).'
- url: https://api-sandbox.aitopia.ai
  description: 'Sandbox: simulated runs, nothing is charged. Test keys (aitk_test_...).'
security:
- Key: []
tags:
- name: Uploads
paths:
  /v1/uploads:
    post:
      operationId: upload
      summary: Host a file (base64 up to about 19 MB, or import from source_url)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content_base64:
                  type: string
                content_type:
                  type: string
                file_name:
                  type: string
                source_url:
                  type: string
                  format: uri
                  description: Use instead of content_base64.
      responses:
        '200':
          description: Hosted file
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type:
                    - string
                    - 'null'
                  content_type:
                    type:
                    - string
                    - 'null'
                  size:
                    type:
                    - number
                    - 'null'
        '400':
          description: INVALID_INPUT (with field), URL_NOT_ALLOWED, MODEL_REQUIRED, MODEL_KIND_MISMATCH, MODEL_NOT_ALLOWED, DUPLICATE_ITEM or INVALID_RUN_TOKEN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: UNAUTHENTICATED (missing/invalid/revoked key) or KEY_SESSION_EXPIRED (sign in to aitopia.ai to reactivate the key)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: FILE_TOO_LARGE or INPUT_TOO_LARGE
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: RATE_LIMIT, RUN_LIMITED or QUEUE_LIMIT_EXCEEDED (see retry_after_seconds and the Retry-After header)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: INTERNAL_ERROR (an unexpected server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Uploads
  /v1/uploads/link:
    post:
      operationId: createUploadLink
      summary: Get a one-time upload URL for files up to 95 MB (PUT the bytes; the answer…
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                file_name:
                  type: string
                content_type:
                  type: string
      responses:
        '200':
          description: Upload link
          content:
            application/json:
              schema:
                type: object
                properties:
                  upload_url:
                    type:
                    - string
                    - 'null'
                  file_url:
                    type: 'null'
                  expires_at:
                    type:
                    - string
                    - 'null'
                  max_bytes:
                    type:
                    - number
                    - 'null'
        '401':
          description: UNAUTHENTICATED (missing/invalid/revoked key) or KEY_SESSION_EXPIRED (sign in to aitopia.ai to reactivate the key)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: RATE_LIMIT, RUN_LIMITED or QUEUE_LIMIT_EXCEEDED (see retry_after_seconds and the Retry-After header)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: INTERNAL_ERROR (an unexpected server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Uploads
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - retryable
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            field:
              type: string
            retry_after_seconds:
              type: number
        request_id:
          type: string
          description: 'Present when the request was recorded before it failed: check GET /v1/requests/{request_id} before retrying.'
  securitySchemes:
    Key:
      type: http
      scheme: bearer
      bearerFormat: aitk_live_... or aitk_test_...
      description: 'Send "Authorization: Key <key>" (Bearer <key> is also accepted). Live keys work on the live server, test keys on the sandbox server. Create keys on your aitopia.ai profile.'