Geniemode Documents Controller API

Documents Controller

Operations 5

POST /api/documents/AddDocument addDocument #
POST /api/documents/GetAllDocument get_all #
POST /api/documents/GetDocument get_document #
POST /api/documents/GetOnlyDocument get_other_document #
POST /api/documents/UploadDocument upload_document #

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/geniemode-documents-controller-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

geniemode-documents-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cataloguing API.
  version: API V
  title: Cataloguing Documents Controller API
  termsOfService: Terms of service
  contact:
    name: Mani Bhushan
    url: www.geniemode.com
    email: mani.kumar@geniemode.com
  license:
    name: License of API
    url: API license URL
servers:
- url: https://portal.geniemode.com
tags:
- name: documents-controller
  description: Documents Controller
paths:
  /api/documents/AddDocument:
    post:
      tags:
      - documents-controller
      summary: addDocument
      operationId: addDocumentUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadDocumentResponsePayload'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UploadResponsePayload'
        description: uploadResponsePayload
        required: true
  /api/documents/GetAllDocument:
    post:
      tags:
      - documents-controller
      summary: get_all
      operationId: get_allUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentSearchRequestPayload'
        description: documentSearchRequestPayload
        required: true
  /api/documents/GetDocument:
    post:
      tags:
      - documents-controller
      summary: get_document
      operationId: get_documentUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocDetailsDto'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetDocumentRequestPayload'
        description: documentRequestPayload
        required: true
  /api/documents/GetOnlyDocument:
    post:
      tags:
      - documents-controller
      summary: get_other_document
      operationId: get_other_documentUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocDetailsDto'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetDocumentRequestPayload'
        description: documentRequestPayload
        required: true
  /api/documents/UploadDocument:
    post:
      tags:
      - documents-controller
      summary: upload_document
      operationId: upload_documentUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadDocumentResponsePayload'
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: string
              format: binary
        description: file_content
components:
  schemas:
    DocDetailsDto:
      type: object
      properties:
        doc_display_name:
          type: string
        id:
          type: integer
          format: int64
        order_id:
          type: integer
          format: int64
        s3_path:
          type: string
        s3_version:
          type: integer
          format: int64
        step_name:
          type: string
      title: DocDetailsDto
    UploadDocumentResponsePayload:
      type: object
      properties:
        doc:
          $ref: '#/components/schemas/Doc'
        doc_id:
          type: integer
          format: int64
        message:
          type: string
      title: UploadDocumentResponsePayload
    GetDocumentRequestPayload:
      type: object
      properties:
        doc_id:
          type: integer
          format: int64
      title: GetDocumentRequestPayload
    UploadResponsePayload:
      type: object
      properties:
        bucket_name:
          type: string
        doc_id:
          type: integer
          format: int64
        error_file:
          type: string
          format: byte
        error_messages:
          type: array
          items:
            type: string
        filename:
          type: string
        key:
          type: string
        status:
          type: string
        url:
          type: string
      title: UploadResponsePayload
    Pair_string_string:
      type: object
      properties:
        key:
          type: string
        left:
          type: string
        right:
          type: string
        value:
          type: string
      title: Pair«string,string»
    Doc:
      type: object
      properties:
        bucketAndKey:
          $ref: '#/components/schemas/Pair_string_string'
        createdBy:
          type: string
        docDisplayName:
          type: string
        id:
          type: integer
          format: int64
        s3Path:
          type: string
        s3Version:
          type: integer
          format: int64
      title: Doc
    DocumentSearchRequestPayload:
      type: object
      properties:
        doc_id:
          type: integer
          format: int64
        doc_ids:
          type: array
          items:
            type: integer
            format: int64
        document_name:
          type: string
        order_id:
          type: integer
          format: int64
        order_ids:
          type: array
          items:
            type: integer
            format: int64
        search:
          type: string
      title: DocumentSearchRequestPayload