Sweep AI Attachments API

The ai-attachments API from Sweep — 4 operation(s) for ai-attachments.

Operations 4

POST /ai-attachments/parse #
GET /ai-attachments/{id}/download-url #
GET /ai-attachments/{id}/preview #
POST /ai-attachments/chats/{chatId}/upload-urls #

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/sweep-ai-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 email required.

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

OpenAPI Specification

sweep-ai-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sweep AI Attachments API
  description: This is a publicly available Sweep API.
  version: '0.1'
  contact: {}
servers:
- url: https://api.sweep.io
  description: Sweep production API — the host this document was harvested from (GET /api-json); /health responds here
tags:
- name: ai-attachments
paths:
  /ai-attachments/parse:
    post:
      operationId: AiAttachmentsController_parse
      parameters: []
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
      security:
      - bearer: []
      tags:
      - ai-attachments
  /ai-attachments/{id}/download-url:
    get:
      operationId: AiAttachmentsController_getDownloadUrl
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - ai-attachments
  /ai-attachments/{id}/preview:
    get:
      operationId: AiAttachmentsController_getPreview
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - ai-attachments
  /ai-attachments/chats/{chatId}/upload-urls:
    post:
      operationId: AiAttachmentsController_getUploadUrls
      parameters:
      - name: chatId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatAttachmentsUploadUrlsDto'
      responses:
        '201':
          description: ''
      security:
      - bearer: []
      tags:
      - ai-attachments
components:
  schemas:
    ChatAttachmentsUploadUrlsDto:
      type: object
      properties:
        attachmentIds:
          minItems: 1
          type: array
          items:
            type: string
            format: uuid
      required:
      - attachmentIds
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http