Bunch Files API

The files API from Bunch — 2 operation(s) for files.

Operations 2

POST /v1/files/extract/ Extract Data Model #
POST /v1/files/map-columns/ Map Columns #

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/joinbunch-com:joinbunch-com-files-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

joinbunch-com-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: bunch AI Docs Files API
  description: This documentation provides an overview of the bunch AI platform.
  contact:
    name: Data & Automation
    email: '#team-automation'
  version: 0.0.1
  x-logo:
    url: https://assets-global.website-files.com/61955627879747fa5333c3cd/637823ba8c7bd89dd2c35e26_bunch-logo-dark_146px.svg
tags:
- name: Files
paths:
  /v1/files/extract/:
    post:
      tags:
      - Files
      summary: Extract Data Model
      description: Extract pre-defined data models from one or many file.
      operationId: extract_data_model_v1_files_extract__post
      parameters:
      - name: categories
        in: query
        required: true
        schema:
          type: array
          uniqueItems: true
          items:
            $ref: '#/components/schemas/ModelCategory'
          description: Categories to extract.
          title: Categories
        description: Categories to extract.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_extract_data_model_v1_files_extract__post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/files/map-columns/:
    post:
      tags:
      - Files
      summary: Map Columns
      description: Map columns of a csv to a pre-defined data model.
      operationId: map_columns_v1_files_map_columns__post
      parameters:
      - name: category
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/MappingCategory'
          description: The category for mapping.
        description: The category for mapping.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_map_columns_v1_files_map_columns__post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MappingResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FileMetadataList:
      properties:
        files:
          items:
            $ref: '#/components/schemas/FileMetadata'
          type: array
          title: Files
          description: List of file metadata.
      type: object
      required:
      - files
      title: FileMetadataList
      description: Data model for a list of file metadata.
    Body_map_columns_v1_files_map_columns__post:
      properties:
        file:
          type: string
          format: binary
          title: File
          description: Only csv files are supported.
      type: object
      required:
      - file
      title: Body_map_columns_v1_files_map_columns__post
    FileMetadata:
      properties:
        fileName:
          type: string
          title: Filename
        contentType:
          type: string
          title: Contenttype
        extension:
          type: string
          title: Extension
        size:
          type: integer
          title: Size
      type: object
      required:
      - fileName
      - contentType
      - extension
      - size
      title: FileMetadata
      description: Data model for a file metadata.
    Body_extract_data_model_v1_files_extract__post:
      properties:
        files:
          items:
            type: string
            format: binary
          type: array
          title: Files
          description: 'Currently, only the following file types are supported: [''.pdf'', ''.xml.doc'', ''.docx'', ''.pptx'', ''.rtf'', ''.pages'', ''.key'', ''.epub'']'
        context:
          anyOf:
          - type: string
          - type: 'null'
          title: Context
          description: Provide additional context for the model when evaluating your extraction request (up to 1000 characters).
      type: object
      required:
      - files
      title: Body_extract_data_model_v1_files_extract__post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MappingCategory:
      type: string
      enum:
      - InvestmentColumns
      title: MappingCategory
      description: Enum for categories of mapped columns.
    MappingResponse:
      properties:
        fileMetadata:
          $ref: '#/components/schemas/FileMetadata'
        data:
          title: Data
      type: object
      required:
      - fileMetadata
      - data
      title: MappingResponse
      description: Data model for a mapping response.
    ModelCategory:
      type: string
      enum:
      - CapitalCall
      - GeneralInformation
      - OperationalKPIsList
      - CapitalEventsList
      - Other
      title: ModelCategory
      description: Enum for metadata categories.
    ExtractResponse:
      properties:
        requestMetadata:
          title: Requestmetadata
          description: Returns all metadata passed in the request.
        fileMetadata:
          $ref: '#/components/schemas/FileMetadataList'
        data:
          title: Data
      type: object
      required:
      - fileMetadata
      - data
      title: ExtractResponse
      description: Data model for an extract response.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError