CalypsoAI Files API

The Files API from CalypsoAI — 2 operation(s) for files.

Operations 2

POST /backend/v1/files Upload a file #
GET /backend/v1/files/{fileId} Get a file's metadata by the file ID #

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/calypsoai-com:calypsoai-com-files-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

calypsoai-com-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CalypsoAI Files API
  version: 1.0.0
servers:
- description: US1 availability zone
  url: https://us1.calypsoai.app
- description: EU1 availability zone
  url: https://eu1.calypsoai.app
tags:
- name: Files
paths:
  /backend/v1/files:
    post:
      description: Upload a file.
      operationId: post_files
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_post_files'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostSuccessMessage'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: Upload a file
      tags:
      - Files
  /backend/v1/files/{fileId}:
    get:
      description: Get a file's metadata by the file ID.
      operationId: get_files_fileId
      parameters:
      - in: path
        name: fileId
        required: true
        schema:
          format: uuid
          title: Fileid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFileResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: Get a file's metadata by the file ID
      tags:
      - Files
components:
  schemas:
    FileMetadata:
      properties:
        purposes:
          items:
            $ref: '#/components/schemas/FilePurpose'
          title: Purposes
          type: array
          uniqueItems: true
        rowCount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rowcount
        size:
          anyOf:
          - type: integer
          - type: 'null'
          title: Size
      required:
      - purposes
      title: FileMetadata
      type: object
    Body_post_files:
      properties:
        file:
          format: binary
          title: File
          type: string
        purposes:
          items:
            enum:
            - custom_attacks
            - datasets
            type: string
          title: Purposes
          type: array
      required:
      - file
      - purposes
      title: Body_post_files
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    FilePurpose:
      enum:
      - custom_attacks
      - datasets
      - dataset_runs
      - remediation_result
      title: FilePurpose
      type: string
    PostSuccessMessage:
      description: Contains the ID of an object after a successful POST operation.
      properties:
        id:
          anyOf:
          - format: uuid
            type: string
          - type: string
          title: Id
      required:
      - id
      title: PostSuccessMessage
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
    GetFileResponse:
      properties:
        file:
          $ref: '#/components/schemas/File'
          description: The requested file metadata.
      required:
      - file
      title: GetFileResponse
      type: object
    File:
      properties:
        content:
          anyOf:
          - format: binary
            type: string
          - type: 'null'
          title: Content
        contentType:
          title: Contenttype
          type: string
        expiresAt:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Expiresat
        id:
          format: uuid
          title: Id
          type: string
        metadata:
          anyOf:
          - $ref: '#/components/schemas/FileMetadata'
          - type: 'null'
        name:
          title: Name
          type: string
        orgId:
          anyOf:
          - type: string
          - type: 'null'
          title: Orgid
        resourceId:
          anyOf:
          - type: string
          - type: 'null'
          title: Resourceid
      required:
      - id
      - name
      - contentType
      title: File
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http