Airia Attachments API

The Attachments API from Airia — 5 operation(s) for attachments.

Operations 5

POST /v1/upload Attachments upload file2 #
POST /v1/upload/onDemandProcessing Attachments upload file for on demand processing2 #
DELETE /v1/upload/{fileId} Attachments delete file2 #
GET /v1/upload/refresh/{fileId} Attachments refresh signed url2 #
GET /v1/upload/file-link/{fileId} Attachments get file link2 #

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/airia:airia-attachments-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

airia-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Airia Web Attachments API
  version: 1.0.0
servers:
- url: https://api.airia.ai
tags:
- name: Attachments
paths:
  /v1/upload:
    post:
      tags:
      - Attachments
      operationId: Attachments_UploadFile2
      parameters:
      - name: x-correlation-id
        in: header
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type:
                  - string
                  - 'null'
                  format: binary
        required: true
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
        400:
          description: ''
          content:
            application/json:
              schema:
                type: string
        401:
          description: ''
        403:
          description: ''
        500:
          description: ''
          content:
            application/json:
              schema:
                type: string
        503:
          description: ''
          content:
            application/json:
              schema:
                type: string
        default:
          description: ''
      summary: Attachments upload file2
      x-summary-source: derived
  /v1/upload/onDemandProcessing:
    post:
      tags:
      - Attachments
      operationId: Attachments_UploadFileForOnDemandProcessing2
      parameters:
      - name: preferredPdfParser
        in: query
        schema:
          type:
          - string
          - 'null'
        x-position: 1
      - name: x-correlation-id
        in: header
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type:
                  - string
                  - 'null'
                  format: binary
          application/pdf:
            schema:
              type: string
              format: binary
          application/vnd.openxmlformats-officedocument.wordprocessingml.document:
            schema:
              type: string
              format: binary
          application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
            schema:
              type: string
              format: binary
          application/vnd.openxmlformats-officedocument.presentationml.presentation:
            schema:
              type: string
              format: binary
          application/vnd.ms-powerpoint:
            schema:
              type: string
              format: binary
          application/msword:
            schema:
              type: string
              format: binary
          application/json:
            schema: {}
          application/x-yaml:
            schema:
              type: string
              format: binary
          application/yaml:
            schema:
              type: string
              format: binary
          application/xml:
            schema:
              type: string
              format: binary
          text/plain:
            schema:
              type: string
              format: binary
          text/html:
            schema:
              type: string
              format: binary
          text/csv:
            schema:
              type: string
              format: binary
          text/markdown:
            schema:
              type: string
              format: binary
          text/x-markdown:
            schema:
              type: string
              format: binary
          text/xml:
            schema:
              type: string
              format: binary
          audio/wav:
            schema:
              type: string
              format: binary
          audio/wave:
            schema:
              type: string
              format: binary
          audio/x-wav:
            schema:
              type: string
              format: binary
          audio/x-wave:
            schema:
              type: string
              format: binary
          audio/flac:
            schema:
              type: string
              format: binary
          audio/x-flac:
            schema:
              type: string
              format: binary
          audio/mpeg:
            schema:
              type: string
              format: binary
          audio/mp3:
            schema:
              type: string
              format: binary
          audio/mp4:
            schema:
              type: string
              format: binary
          audio/m4a:
            schema:
              type: string
              format: binary
          audio/x-m4a:
            schema:
              type: string
              format: binary
          audio/opus:
            schema:
              type: string
              format: binary
          audio/aac:
            schema:
              type: string
              format: binary
          audio/x-aac:
            schema:
              type: string
              format: binary
          audio/x-hx-aac-adts:
            schema:
              type: string
              format: binary
          audio/webm:
            schema:
              type: string
              format: binary
          audio/x-ms-wma:
            schema:
              type: string
              format: binary
          audio/ogg:
            schema:
              type: string
              format: binary
          application/ogg:
            schema:
              type: string
              format: binary
          video/webm:
            schema:
              type: string
              format: binary
          video/mp4:
            schema:
              type: string
              format: binary
          video/x-m4v:
            schema:
              type: string
              format: binary
          video/quicktime:
            schema:
              type: string
              format: binary
          video/x-matroska:
            schema:
              type: string
              format: binary
          application/mxf:
            schema:
              type: string
              format: binary
          video/mp2t:
            schema:
              type: string
              format: binary
          video/avi:
            schema:
              type: string
              format: binary
          video/msvideo:
            schema:
              type: string
              format: binary
          video/x-msvideo:
            schema:
              type: string
              format: binary
          video/x-ms-wma:
            schema:
              type: string
              format: binary
          video/x-ms-wmv:
            schema:
              type: string
              format: binary
          video/x-ms-asf:
            schema:
              type: string
              format: binary
          video/ogg:
            schema:
              type: string
              format: binary
          video/vnd.dlna.mpeg-tts:
            schema:
              type: string
              format: binary
          text/x-python:
            schema:
              type: string
              format: binary
          application/x-python:
            schema:
              type: string
              format: binary
          application/sql:
            schema:
              type: string
              format: binary
          text/x-sql:
            schema:
              type: string
              format: binary
          image/png:
            schema:
              type: string
              format: binary
          image/jpeg:
            schema:
              type: string
              format: binary
          image/jpg:
            schema:
              type: string
              format: binary
          image/tiff:
            schema:
              type: string
              format: binary
          image/bmp:
            schema:
              type: string
              format: binary
          image/heif:
            schema:
              type: string
              format: binary
        required: true
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnDemandProcessingResponse'
        400:
          description: ''
          content:
            application/json:
              schema:
                type: string
        401:
          description: ''
        403:
          description: ''
        500:
          description: ''
          content:
            application/json:
              schema:
                type: string
        503:
          description: ''
          content:
            application/json:
              schema:
                type: string
        default:
          description: ''
      summary: Attachments upload file for on demand processing2
      x-summary-source: derived
  /v1/upload/{fileId}:
    delete:
      tags:
      - Attachments
      operationId: Attachments_DeleteFile2
      parameters:
      - name: fileId
        in: path
        required: true
        schema:
          type: string
          format: guid
        x-position: 1
      - name: x-correlation-id
        in: header
        schema:
          type: string
      responses:
        200:
          description: ''
        400:
          description: ''
          content:
            application/json:
              schema:
                type: string
        401:
          description: ''
        403:
          description: ''
        500:
          description: ''
        default:
          description: ''
      summary: Attachments delete file2
      x-summary-source: derived
  /v1/upload/refresh/{fileId}:
    get:
      tags:
      - Attachments
      operationId: Attachments_RefreshSignedUrl2
      parameters:
      - name: fileId
        in: path
        required: true
        schema:
          type: string
          format: guid
        x-position: 1
      - name: x-correlation-id
        in: header
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentUrlResponse'
        401:
          description: ''
        404:
          description: ''
        403:
          description: ''
        default:
          description: ''
      summary: Attachments refresh signed url2
      x-summary-source: derived
  /v1/upload/file-link/{fileId}:
    get:
      tags:
      - Attachments
      operationId: Attachments_GetFileLink2
      parameters:
      - name: fileId
        in: path
        required: true
        schema:
          type: string
          format: guid
        x-position: 1
      - name: x-correlation-id
        in: header
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentUrlResponse'
        401:
          description: ''
        404:
          description: ''
        403:
          description: ''
        default:
          description: ''
      summary: Attachments get file link2
      x-summary-source: derived
components:
  schemas:
    OnDemandProcessingResponse:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
        signedURL:
          type: string
    AttachmentResponse:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
        imageUrl:
          type: string
    AttachmentUrlResponse:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
        signedUrl:
          type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      description: API Key Authentication
      name: X-API-Key
      in: header
    Cookies:
      type: apiKey
      description: Cookie based Authentication
      name: Cookie
      in: header
x-generator: NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))