Structify Documents API
The documents API from Structify — 4 operation(s) for documents.
The documents API from Structify — 4 operation(s) for documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/structify:structify-documents-api"
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.
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: 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 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:
DatasetId:
format: uuid
type: string
UserId:
format: uuid
type: string
DocumentId:
format: uuid
type: string
JobId:
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
DownloadResponse:
properties:
content:
format: binary
type: string
required:
- content
type: object
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
FilePath:
properties:
file_path:
description: The path of the file to delete
type: string
required:
- file_path
type: object
ProjectId:
format: uuid
type: string
FileType:
enum:
- Text
- PDF
- SEC
type: string
securitySchemes:
api_key:
in: header
name: api_key
type: apiKey
session_token:
scheme: bearer
type: http