Takibi Base Ask API

The Ask API from Takibi Base, for ask.

GitHub OpenAPI

Operations 2

GET /v1/ask Ask a question #
POST /v1/ask Ask with a JSON body #

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/takibibase-com:takibibase-com-ask-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

takibibase-com-ask-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Takibi agent Ask API
  version: 1.0.0
  description: The retrieval and task operations used by the Takibi agent CLI. Human workspace administration and billing are outside this contract.
servers:
- url: https://app.takibibase.com
security:
- ProfileKey: []
tags:
- name: Ask
paths:
  /v1/ask:
    get:
      operationId: ask
      summary: Ask a question
      description: Requires ask capability. Returns verbatim passages and citations; may abstain. Jev failures can fall back to deterministic extraction.
      parameters:
      - name: q
        in: query
        required: true
        description: Question to answer from source evidence.
        schema:
          type: string
      - name: projectId
        in: query
        required: false
        description: Project UUID. May be omitted only when the key resolves to a single project.
        schema:
          type: string
          format: uuid
      - name: folderId
        in: query
        required: false
        description: Narrow retrieval to a granted folder.
        schema:
          type: string
          format: uuid
      - name: k
        in: query
        required: false
        description: Candidate count, clamped to 1–12.
        schema:
          type: integer
          minimum: 1
          maximum: 12
          default: 10
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AskAnswer'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, paused or revoked key, or human-only route.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Capability or access denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found or not visible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Daily budget spent (error.code DAILY_BUDGET_EXCEEDED) or minute throttle (RATE_LIMITED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Ask
    post:
      operationId: askPost
      summary: Ask with a JSON body
      description: Same extractive answer contract as GET. Requires ask capability.
      parameters: []
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AskAnswer'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, paused or revoked key, or human-only route.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Capability or access denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found or not visible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Daily budget spent (error.code DAILY_BUDGET_EXCEEDED) or minute throttle (RATE_LIMITED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                q:
                  type: string
                projectId:
                  type: string
                  format: uuid
                folderId:
                  type: string
                  format: uuid
                k:
                  type: integer
                  minimum: 1
                  maximum: 12
                  default: 10
              required:
              - q
      tags:
      - Ask
components:
  schemas:
    Span:
      type: object
      properties:
        text:
          type: string
        documentName:
          type: string
        title:
          type: string
        documentId:
          type: string
          format: uuid
        chunkId:
          type: string
          format: uuid
      required:
      - text
      - documentName
      - title
      - documentId
      - chunkId
    Citation:
      type: object
      properties:
        documentName:
          type: string
        title:
          type: string
        documentId:
          type: string
          format: uuid
        chunkId:
          type: string
          format: uuid
      required:
      - documentId
      - documentName
      - chunkId
      - title
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - error
    AskAnswer:
      type: object
      properties:
        spans:
          type: array
          items:
            $ref: '#/components/schemas/Span'
        citations:
          type: array
          items:
            $ref: '#/components/schemas/Citation'
        support:
          type: number
          minimum: 0
          maximum: 1
          description: Versioned evidence support; not confidence.
        supportVersion:
          type: string
        abstained:
          type: boolean
        candidateCount:
          type: integer
        answerability:
          type: string
          enum:
          - answerable
          - partial
          - unanswerable
          - unknown
        conflict:
          type: boolean
      required:
      - spans
      - citations
      - support
      - supportVersion
      - abstained
      - candidateCount
      - answerability
      - conflict
  securitySchemes:
    ProfileKey:
      type: http
      scheme: bearer
      description: A Profile credential formatted as publicId.secret. All credentials in a Profile share its document grants.