# OKF Index Bases API

**Canonical:** https://apis.io/apis/okfindex-com/okfindex-com-bases-api/  
**Provider:** OKF Index — https://apis.io/providers/okfindex-com/  
**Base URL:** https://okfindex.com  
**Documentation:** https://okfindex.com/developers

OKF Index Bases API is one of 34 APIs that [OKF Index](https://apis.io/providers/okfindex-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Bases. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

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

## Operations (45)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/okfindex-com/openapi/okfindex-com-bases-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/okfindex-com/json-schema/okfindex-com-document-schema.json
- **JSONSchema** — https://artifacts.apis.io/okfindex-com/json-schema/okfindex-com-base-schema.json

## Other OKF Index APIs (12)

- [OKF Index Account API](https://apis.io/apis/okfindex-com/okfindex-com-account-api/)
- [OKF Index Agent.json API](https://apis.io/apis/okfindex-com/okfindex-com-agent-json-api/)
- [OKF Index Apis.json API](https://apis.io/apis/okfindex-com/okfindex-com-apis-json-api/)
- [OKF Index Auth API](https://apis.io/apis/okfindex-com/okfindex-com-auth-api/)
- [OKF Index B API](https://apis.io/apis/okfindex-com/okfindex-com-b-api/)
- [OKF Index Billing API](https://apis.io/apis/okfindex-com/okfindex-com-billing-api/)
- [OKF Index Bundles API](https://apis.io/apis/okfindex-com/okfindex-com-bundles-api/)
- [OKF Index Collections API](https://apis.io/apis/okfindex-com/okfindex-com-collections-api/)
- [OKF Index Contact API](https://apis.io/apis/okfindex-com/okfindex-com-contact-api/)
- [OKF Index Credito API](https://apis.io/apis/okfindex-com/okfindex-com-credito-api/)
- [OKF Index Erro Cliente API](https://apis.io/apis/okfindex-com/okfindex-com-erro-cliente-api/)
- [OKF Index Favorites API](https://apis.io/apis/okfindex-com/okfindex-com-favorites-api/)

## Tags

Bases

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/okfindex-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/okfindex-com/okfindex-com-bases-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/okfindex-com/.
