Skip to main content
The Qontext API gives your applications HTTP access to the files and folders in a workspace’s context repository. Read existing context, search for relevant information, and create or update content from your own systems.

Base URL

Authenticate with a workspace API key. The key selects the workspace, so requests do not include a workspace ID.

Start building

Quickstart

Create a file and read it back with your first API requests.

Authentication

Create a key and configure access to your workspace.

Files

Read, create, update, move, and delete files.

Folders

Organize files and manage folders.

Search

Find files by meaning or matching lines with a regular expression.

OpenAPI specification

Download the machine-readable contract for the public API.

API or MCP?

Use the API when your application controls the requests and handles their responses. To give an AI agent tools for working with your context repository, connect it through MCP. The public API documented here covers files, folders, and search. The endpoint reference lists the supported operations and their exact request and response shapes.