OKF Index Bases API

The Bases API from OKF Index — 35 operation(s) for bases.

GitHub OpenAPI

Operations 45

GET /api/bases List bases in your personal account #
POST /api/bases Create a private base #
POST /api/bases/{base_id}/publication Publish the current files in your base #
DELETE /api/bases/{base_id}/publication Make your published base private #
GET /api/bases/{base_id} Read your base and its documents #
GET /api/bases/{base_id}/usage Read your base's search and document-read counts for the last 30 days #
GET /api/bases/{base_id}/documents List the documents in your base #
POST /api/bases/{base_id}/documents Import one Markdown or TXT file #
GET /api/bases/{base_id}/source Read the connected source and its last check #
POST /api/bases/{base_id}/source Connect one public Markdown source to your base #
DELETE /api/bases/{base_id}/source Stop source updates and keep the last document #
GET /api/bases/{base_id}/search Search the full text of your base #
PUT /api/bases/{base_id}/documents/{document_id} Replace your document after reviewing the new text #
DELETE /api/bases/{base_id}/documents/{document_id} Archive your document and end public access. #
GET /api/bases/{base_id}/documents/{document_id} Read the document Markdown and metadata #
GET /api/bases/{base_id}/documents/{document_id}/markdown Download document Markdown #
GET /api/bases/{base_id}/documents/{document_id}/original Download the original file #
GET /api/bases/{base_id}/documents/{document_id}/images/{image_sha} Download a verified image from the document #
GET /api/bases/{base_id}/okf/index.md Read the private OKF root index #
GET /api/bases/{base_id}/okf/{document_id}.md Read an OKF concept with source and hash #
GET /api/bases/{base_id}/okf/originais/{document_id}.txt Read the original source linked by the OKF concept #
GET /api/bases/{base_id}/okf/originais/{document_id}.pdf Download the PDF source linked by the OKF concept #
GET /api/bases/{base_id}/okf/originais/{document_id}.docx Download the DOCX source linked by the OKF concept #
GET /api/bases/{base_id}/okf/originais/{document_id}.doc Download the DOC source linked by the OKF concept #
GET /api/bases/{base_id}/export Get the private OKF ZIP download #
POST /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/restore Restore one retained version as current. Keep all other versions #
POST /api/bases/{base_id}/documents/{document_id}/delete Permanently delete one personal document and all its retained versions. #
GET /api/bases/{base_id}/history Export one page of private document history, including archived versions #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id} Read one retained document version. Only the base owner has history access #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/original Download the original of a retained version #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/markdown Download the text of a retained version #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/okf Download this version's OKF concept and source hash #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/conversion Export the saved manifest, quote and processing result for a retained converted… #
GET /api/bases/{base_id}/documents/{document_id}/versions/{version_id}/images/{image_sha} Download a verified image from a retained version #
POST /api/bases/{base_id}/conversions Upload PDF, DOCX or DOC and get its conversion quote #
GET /api/bases/{base_id}/conversions List saved conversions in your base #
GET /api/bases/{base_id}/conversions/{conversion_id} Read the quote and saved conversion state #
DELETE /api/bases/{base_id}/conversions/{conversion_id} Remove an unauthorized quote #
POST /api/bases/{base_id}/conversions/{conversion_id}/authorize Authorize the quoted price and queue conversion #
POST /api/bases/{base_id}/questions Ask a question with sources from your base #
GET /api/bases/{base_id}/questions/{question_id} Read an answer and its source versions #
PUT /api/bases/{base_id}/dataset Save a dataset description as a private draft #
GET /api/bases/{base_id}/team Read the team grant for your base #
DELETE /api/bases/{base_id}/team Withdraw the team grant from your base #
PUT /api/bases/{base_id}/team/{organization_id} Give an existing team read access to your base #

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/okfindex-com:okfindex-com-bases-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

okfindex-com-bases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OKF Index Bases API
  version: cb36b312
  description: 'The search index of Open Knowledge Format bundles. Index: GET /api/.'
servers:
- url: https://okfindex.com
tags:


# --- truncated at 32 KB (173 KB total) ---
# Full source: https://artifacts.apis.io/okfindex-com/openapi/okfindex-com-bases-api-openapi.yml