Structify documents API

The documents API from Structify — 4 operation(s) for documents.

Operations 4

DELETE /documents/delete Delete a file from the database #
POST /documents/download Download a file from the database #
GET /documents/list List all files for your user account in the database. #
POST /documents/upload Add a new file to the database #

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/structify-documents-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

structify-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: team@structify.ai
    name: Structify Team
  description: Every enterprise's data team.
  license:
    name: Discuss directly with founders for license.
    url: https://structify.ai
  title: Structify account Documents API
  version: 0.1.0
servers:
- description: Production server
  url: https://api.structify.ai
- description: Local server
  url: http://localhost:8080
security:
- api_key: []
- session_token: []
tags:
- name: documents
paths:
  /documents/delete:
    delete:
      operationId: documents_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FilePath'
        required: true
      responses:
        '200':
          description: Document deleted successfully
      summary: Delete a file from the database
      tags:
      - documents
  /documents/download:
    post:
      operationId: documents_download
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FilePath'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadResponse'
          description: Document downloaded successfully
        '400':
          description: Failed to download document
      summary: Download a file from the database
      tags:
      - documents
  /documents/list:
    get:
      operationId: documents_list
      parameters:
      - in: query
        name: dataset
        required: false
        schema:
          type:
          - string
          - 'null'
      - in: query
        name: project_id
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/ProjectId'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/File'
                type: array
          description: Listed all files
      summary: List all files for your user account in the database.
      tags:
      - documents
  /documents/upload:
    post:
      operationId: documents_upload
      parameters:
      - in: query
        name: dataset
        required: false
        schema:
          type:
          - string
          - 'null'
      - in: query
        name: project_id
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/ProjectId'
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UserFileMultipart'
        description: The form to add a new file.
        required: true
      responses:
        '200':
          description: Document added successfully
      summary: Add a new file to the database
      tags:
      - documents
components:
  schemas:
    UserFileMultipart:
      properties:
        content:
          format: binary
          type: string
        file_type:
          $ref: '#/components/schemas/FileType'
        path:
          format: binary
          type: string
      required:
      - path
      - file_type
      - content
      title: FileMultipart
      type: object
    UserId:
      format: uuid
      type: string
    DocumentId:
      format: uuid
      type: string
    File:
      properties:
        created_at:
          format: date-time
          type: string
        created_from_job:
          allOf:
          - $ref: '#/components/schemas/JobId'
        dataset_id:
          allOf:
          - $ref: '#/components/schemas/DatasetId'
        file_bytes:
          format: binary
          type: string
        file_type:
          $ref: '#/components/schemas/FileType'
        id:
          $ref: '#/components/schemas/DocumentId'
        name:
          type: string
        project_id:
          allOf:
          - $ref: '#/components/schemas/ProjectId'
        user_id:
          $ref: '#/components/schemas/UserId'
      required:
      - id
      - name
      - file_bytes
      - file_type
      - created_at
      - user_id
      type: object
    FileType:
      enum:
      - Text
      - PDF
      - SEC
      type: string
    ProjectId:
      format: uuid
      type: string
    DownloadResponse:
      properties:
        content:
          format: binary
          type: string
      required:
      - content
      type: object
    FilePath:
      properties:
        file_path:
          description: The path of the file to delete
          type: string
      required:
      - file_path
      type: object
    JobId:
      format: uuid
      type: string
    DatasetId:
      format: uuid
      type: string
  securitySchemes:
    api_key:
      in: header
      name: api_key
      type: apiKey
    session_token:
      scheme: bearer
      type: http