CortexPlus Uploads API

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

GitHub OpenAPI

Operations 2

POST /v1/uploads Create an audio, photo, or video upload #
POST /v1/uploads/known Check known upload hashes #

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/cortexplus-io:cortexplus-io-uploads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

cortexplus-io-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cortexplus Io Uploads API
  version: 1.0.0
  description: 'Operations tagged Uploads across 2 of this provider''s published API definitions: cortexplus-io-openapi.json, cortexplus-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cortexplus.io
security:
- bearerAuth: []
tags:
- name: Uploads
paths:
  /v1/uploads:
    post:
      operationId: createUpload
      summary: Create an audio, photo, or video upload
      description: Create a signed upload URL for an audio, photo, or video memory.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - name
              - contentType
              properties:
                name:
                  type: string
                  description: Name of the audio file.
                contentType:
                  type: string
                  description: MIME type of the audio file.
                size:
                  type: integer
                  minimum: 1
                  description: Exact file size in bytes. When sent, oversized files are rejected before signing and the PUT must send this exact Content-Length.
                expiresIn:
                  type: integer
                  minimum: 60
                  maximum: 86400
                  description: Presigned URL lifetime in seconds.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - key
                - uploadUrl
                - expiresIn
                properties:
                  key:
                    type: string
                  uploadUrl:
                    type: string
                    format: uri
                  expiresIn:
                    type: integer
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Uploads
    servers:
    - url: https://api.cortexplus.io
  /v1/uploads/known:
    post:
      operationId: uploadsKnown
      summary: Check known upload hashes
      description: Return which hashes the user already stored, with their nodeId, so the client can skip re-uploading. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - hashes
              properties:
                hashes:
                  type: array
                  minItems: 1
                  maxItems: 500
                  items:
                    type: string
                    pattern: ^[0-9a-f]{64}$
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - known
                properties:
                  known:
                    type: array
                    items:
                      type: object
                      required:
                      - sha256
                      - nodeId
                      properties:
                        sha256:
                          type: string
                        nodeId:
                          type: string
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Uploads
    servers:
    - url: https://api.cortexplus.io
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- cortexplus-io-openapi.json
- cortexplus-io-openapi.yml