Onboard Knowledge Base API

The Knowledge Base API from Onboard — 7 operation(s) for knowledge base.

GitHub OpenAPI

Operations 23

GET /kb/collections GET /kb/collections #
POST /kb/collections POST /kb/collections #
OPTIONS /kb/collections OPTIONS /kb/collections #
GET /kb/collections/{id} GET /kb/collections/{id} #
PUT /kb/collections/{id} PUT /kb/collections/{id} #
PATCH /kb/collections/{id} PATCH /kb/collections/{id} #
DELETE /kb/collections/{id} DELETE /kb/collections/{id} #
OPTIONS /kb/collections/{id} OPTIONS /kb/collections/{id} #
GET /kb/sources GET /kb/sources #
POST /kb/sources POST /kb/sources #
OPTIONS /kb/sources OPTIONS /kb/sources #
GET /kb/sources/{id} GET /kb/sources/{id} #
PUT /kb/sources/{id} PUT /kb/sources/{id} #
PATCH /kb/sources/{id} PATCH /kb/sources/{id} #
DELETE /kb/sources/{id} DELETE /kb/sources/{id} #
OPTIONS /kb/sources/{id} OPTIONS /kb/sources/{id} #
POST /kb/sources/{id}/refresh POST /kb/sources/{id}/refresh #
OPTIONS /kb/sources/{id}/refresh OPTIONS /kb/sources/{id}/refresh #
GET /kb/sources/{id}/chunks GET /kb/sources/{id}/chunks #
OPTIONS /kb/sources/{id}/chunks OPTIONS /kb/sources/{id}/chunks #

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/onboard-io:onboard-io-knowledge-base-api"
All apis
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.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

onboard-io-knowledge-base-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onboard API - Complete Specification Knowledge Base API
  description: OpenAPI 3.0 specification with some apps and/or paths excluded per the openapi-ignore file.
  version: 1.0.0
servers:
- url: https://dev-rest.onboard.io
  description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Knowledge Base
paths:
  /kb/collections:
    get:
      summary: GET /kb/collections
      description: GET operation for /kb/collections
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      operationId: getKbCollections
      x-operation-id-source: derived
    post:
      summary: POST /kb/collections
      description: POST operation for /kb/collections
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBCollectionSerializer'
            example:
              name: string
              description: string
      operationId: postKbCollections
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/collections
      description: OPTIONS operation for /kb/collections
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      operationId: optionsKbCollections
      x-operation-id-source: derived
  /kb/collections/{id}:
    get:
      summary: GET /kb/collections/{id}
      description: GET operation for /kb/collections/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: getKbCollectionsById
      x-operation-id-source: derived
    put:
      summary: PUT /kb/collections/{id}
      description: PUT operation for /kb/collections/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBCollectionSerializer'
            example:
              name: string
              description: string
      operationId: putKbCollectionsById
      x-operation-id-source: derived
    patch:
      summary: PATCH /kb/collections/{id}
      description: PATCH operation for /kb/collections/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBCollectionSerializer'
            example:
              name: string
              description: string
      operationId: patchKbCollectionsById
      x-operation-id-source: derived
    delete:
      summary: DELETE /kb/collections/{id}
      description: DELETE operation for /kb/collections/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: deleteKbCollectionsById
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/collections/{id}
      description: OPTIONS operation for /kb/collections/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCollectionSerializer'
              example:
                id: 1
                name: string
                description: string
                source_count: 1
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: optionsKbCollectionsById
      x-operation-id-source: derived
  /kb/sources:
    get:
      summary: GET /kb/sources
      description: GET operation for /kb/sources
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      operationId: getKbSources
      x-operation-id-source: derived
    post:
      summary: POST /kb/sources
      description: POST operation for /kb/sources
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      operationId: postKbSources
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/sources
      description: OPTIONS operation for /kb/sources
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      operationId: optionsKbSources
      x-operation-id-source: derived
  /kb/sources/{id}:
    get:
      summary: GET /kb/sources/{id}
      description: GET operation for /kb/sources/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSourceSerializer'
              example:
                id: 1
                collection: string
                name: string
                source_type: url
                source_value: string
                source_file: binary-file-placeholder
                file_size_bytes: 1
                status: ready
                refresh_schedule: manual
                last_refreshed: '2021-01-01T00:00:00Z'
                summary: string
                extracted_text: string
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: getKbSourcesById
      x-operation-id-source: derived
    put:
      summary: PUT /kb/sources/{id}
      description: PUT operation for /kb/sources/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSourceSerializer'
              example:
                id: 1
                collection: string
                name: string
                source_type: url
                source_value: string
                source_file: binary-file-placeholder
                file_size_bytes: 1
                status: ready
                refresh_schedule: manual
                last_refreshed: '2021-01-01T00:00:00Z'
                summary: string
                extracted_text: string
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBSourceSerializer'
            example:
              collection: string
              name: string
              source_type: url
              source_value: string
              source_file: binary-file-placeholder
              file_size_bytes: 1
              refresh_schedule: manual
      operationId: putKbSourcesById
      x-operation-id-source: derived
    patch:
      summary: PATCH /kb/sources/{id}
      description: PATCH operation for /kb/sources/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSourceSerializer'
              example:
                id: 1
                collection: string
                name: string
                source_type: url
                source_value: string
                source_file: binary-file-placeholder
                file_size_bytes: 1
                status: ready
                refresh_schedule: manual
                last_refreshed: '2021-01-01T00:00:00Z'
                summary: string
                extracted_text: string
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBSourceSerializer'
            example:
              collection: string
              name: string
              source_type: url
              source_value: string
              source_file: binary-file-placeholder
              file_size_bytes: 1
              refresh_schedule: manual
      operationId: patchKbSourcesById
      x-operation-id-source: derived
    delete:
      summary: DELETE /kb/sources/{id}
      description: DELETE operation for /kb/sources/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSourceSerializer'
              example:
                id: 1
                collection: string
                name: string
                source_type: url
                source_value: string
                source_file: binary-file-placeholder
                file_size_bytes: 1
                status: ready
                refresh_schedule: manual
                last_refreshed: '2021-01-01T00:00:00Z'
                summary: string
                extracted_text: string
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: deleteKbSourcesById
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/sources/{id}
      description: OPTIONS operation for /kb/sources/{id}
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSourceSerializer'
              example:
                id: 1
                collection: string
                name: string
                source_type: url
                source_value: string
                source_file: binary-file-placeholder
                file_size_bytes: 1
                status: ready
                refresh_schedule: manual
                last_refreshed: '2021-01-01T00:00:00Z'
                summary: string
                extracted_text: string
                created_at: '2021-01-01T00:00:00Z'
                modified_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: optionsKbSourcesById
      x-operation-id-source: derived
  /kb/sources/{id}/refresh:
    post:
      summary: POST /kb/sources/{id}/refresh
      description: POST operation for /kb/sources/{id}/refresh
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: postKbSourcesByIdRefresh
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/sources/{id}/refresh
      description: OPTIONS operation for /kb/sources/{id}/refresh
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: optionsKbSourcesByIdRefresh
      x-operation-id-source: derived
  /kb/sources/{id}/link:
    post:
      summary: POST /kb/sources/{id}/link
      description: POST operation for /kb/sources/{id}/link
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: postKbSourcesByIdLink
      x-operation-id-source: derived
    delete:
      summary: DELETE /kb/sources/{id}/link
      description: DELETE operation for /kb/sources/{id}/link
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: deleteKbSourcesByIdLink
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/sources/{id}/link
      description: OPTIONS operation for /kb/sources/{id}/link
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: optionsKbSourcesByIdLink
      x-operation-id-source: derived
  /kb/sources/{id}/chunks:
    get:
      summary: GET /kb/sources/{id}/chunks
      description: GET operation for /kb/sources/{id}/chunks
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBChunkSerializer'
              example:
                id: 1
                source: string
                content: string
                chunk_index: 1
                created_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: getKbSourcesByIdChunks
      x-operation-id-source: derived
    options:
      summary: OPTIONS /kb/sources/{id}/chunks
      description: OPTIONS operation for /kb/sources/{id}/chunks
      tags:
      - Knowledge Base
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBChunkSerializer'
              example:
                id: 1
                source: string
                content: string
                chunk_index: 1
                created_at: '2021-01-01T00:00:00Z'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: optionsKbSourcesByIdChunks
      x-operation-id-source: derived
components:
  schemas:
    KBCollectionSerializer:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
        description:
          type: string
        source_count:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        modified_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - name
    KBSourceSerializer:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        collection:
          type: string
        name:
          type: string
        source_type:
          type: string
          enum:
          - url
          - pdf
          - docx
          - txt
          x-onboard-source: serializer-or-model-choices
        source_value:
          type: string
        source_file:
          type: string
          format: binary
        file_size_bytes:
          type: integer
        status:
          type: string
          readOnly: true
          enum:
          - ready
          - processing
          - failed
          x-onboard-source: serializer-or-model-choices
        refresh_schedule:
          type: string
          enum:
          - manual
          - daily
          - weekly
          - monthly
          x-onboard-source: serializer-or-model-choices
        last_refreshed:
          type: string
          format: date-time
          readOnly: true
        summary:
          type: string
          readOnly: true
        extracted_text:
          type: string
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        modified_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - name
      - source_type
      - source_value
    KBChunkSerializer:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        source:
          type: string
        content:
          type: string
        chunk_index:
          type: integer
        created_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - source
      - content
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key authentication. Format: Your API key (no "Token" prefix needed)'