Skip to main content

Overview

ContextOne provides easy-to-use APIs to search and query documentation from GitHub, LLMs.txt files, and websites. It works with both public and private data.

Key Features

  • Repository Indexing: Index documentation from GitHub repositories with branch and release versioning support.
  • Web Crawling: Extract and index documentation from websites.
  • LLMs.txt Indexing: Add documentation from LLMs.txt.
  • Version Control: Manage different documentation versions.
  • Public & Private: Works with both public and private sources.

Authentication

Most endpoints require authentication via Bearer token:
Authorization: Bearer <your-token>
For private sources, include the organization ID:
X-Org-Id: <organization-id>

Response Format

All responses follow this structure:
{
  "success": boolean,
  "message": "string", // Present on errors or specific messages
  "data": object      // Present on successful responses
}

Error Codes

  • 200 - Success
  • 400 - Bad Request
  • 401 - Unauthorized
  • 402 - Payment Required (insufficient credits)
  • 403 - Forbidden
  • 404 - Not Found
  • 409 - Conflict
  • 500 - Internal Server Error
I