Leo1 documents API

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

Operations 4

GET /api/v1/documents/ Get Document #
GET /api/v1/documents/response_file_manager Get Response File Manager Data #
GET /api/v1/documents/download/response_file_manager Download Response File Manager #
DELETE /api/v1/documents/delete/expired_file_manager_records Delete Expired File Manager Records #

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/leo1-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 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

leo1-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: leofees_backend Documents API
  version: version
  description: General system endpoints for the API.
servers:
- url: https://api.leo1.in
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: documents
paths:
  /api/v1/documents/:
    get:
      tags:
      - documents
      summary: Get Document
      operationId: get_document_api_v1_documents__get
      parameters:
      - required: true
        schema:
          title: Document Id
          type: integer
        name: document_id
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/documents/response_file_manager:
    get:
      tags:
      - documents
      summary: Get Response File Manager Data
      operationId: get_response_file_manager_data_api_v1_documents_response_file_manager_get
      parameters:
      - required: true
        schema:
          title: Institutes
          type: string
        name: institutes
        in: query
      - required: false
        schema:
          title: Branches
          type: string
          default: ''
        name: branches
        in: query
      - required: false
        schema:
          title: Limit
          type: integer
        name: limit
        in: query
      - required: false
        schema:
          title: Offset
          type: integer
        name: offset
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/documents/download/response_file_manager:
    get:
      tags:
      - documents
      summary: Download Response File Manager
      operationId: download_response_file_manager_api_v1_documents_download_response_file_manager_get
      parameters:
      - required: true
        schema:
          title: File Manager Id
          type: integer
        name: file_manager_id
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/documents/delete/expired_file_manager_records:
    delete:
      tags:
      - documents
      summary: Delete Expired File Manager Records
      operationId: delete_expired_file_manager_records_api_v1_documents_delete_expired_file_manager_records_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
    ValidationError:
      title: ValidationError
      required:
      - loc
      - msg
      - type
      type: object
      properties:
        loc:
          title: Location
          type: array
          items:
            anyOf:
            - type: string
            - type: integer
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: secret-key