# API documentation

Task-oriented guides for the KleioBase API.

- [Getting started](https://kleiobase.com/developers/docs/getting-started): Create an API key, list your workspaces, and read your first people in a few minutes.
- [Authentication](https://kleiobase.com/developers/docs/authentication): How API keys work, the difference between read and read-write keys, and what happens when your plan changes.
- [Workspaces](https://kleiobase.com/developers/docs/workspaces): Every resource lives under a workspace id. How to find yours, create, rename, archive and restore workspaces, and what archived workspaces allow.
- [Pagination](https://kleiobase.com/developers/docs/pagination): How list endpoints page with limit and cursor.
- [Errors](https://kleiobase.com/developers/docs/errors): The error format and every error code the API returns.
- [Idempotency](https://kleiobase.com/developers/docs/idempotency): Make write requests safe to retry with the Idempotency-Key header.
- [MCP server](https://kleiobase.com/developers/docs/mcp): Connect Claude, ChatGPT or any MCP client to KleioBase. Sign in with OAuth or use an API key, then read, upload, process and confirm records through tools.
- [Uploads and processing](https://kleiobase.com/developers/docs/uploads): Upload a record, start AI extraction, poll for the result, review it and confirm. Includes credits and what happens when processing stalls.
- [Rate limits](https://kleiobase.com/developers/docs/rate-limits): How many requests and uploads your plan allows per minute, and what to do on a 429.
- [Versioning](https://kleiobase.com/developers/docs/versioning): What can change within v1, what counts as a breaking change, and how long old versions are supported.
- [People, families and merges](https://kleiobase.com/developers/docs/people-and-families): Read a person's close family and tree, add or remove relatives, merge and unmerge duplicates, and resolve conflicts.
- [Trash and bulk actions](https://kleiobase.com/developers/docs/trash): Move people and records to the Trash one at a time or in bulk, restore them, and delete them for good.
- [Folders and tags](https://kleiobase.com/developers/docs/organising): Organise people and records with folders and tags, and filter lists by them.
- [Places, search, notifications and health](https://kleiobase.com/developers/docs/places-and-search): Read places with their coordinates, search a workspace, read and clear notifications, and get the tree health score.
- [Research Companion conversations](https://kleiobase.com/developers/docs/conversations): Read past Research Companion conversations with their messages and attached files, rename them or delete them.
- [GEDCOM import and export](https://kleiobase.com/developers/docs/gedcom): Import a GEDCOM file into a workspace, and export a workspace as a GEDCOM file or GEDZIP archive.
- [Background jobs](https://kleiobase.com/developers/docs/background-jobs): Record processing, GEDCOM import and GEDCOM export run in the background. How to start them, poll them and act on the result.
- [API reference](https://kleiobase.com/developers/docs/reference): Every endpoint with its parameters, request bodies and responses.

Canonical: https://kleiobase.com/developers/docs
