Skip to content

API Reference

Complete reference for all ExoGraph API endpoints.

Base URL: https://exograph.ai

Integration Methods

REST API (this page)

Use HTTP requests for programmatic access. Best for production applications.

MCP (Model Context Protocol) ⭐ NEW

Use ExoGraph from Claude Desktop and other AI tools with natural language.
Setup in 30 seconds →


Authentication

All endpoints require authentication via API key:

bash
Authorization: Bearer exo_key_live_...

Endpoints Overview

Documents API

EndpointMethodDescription
/api/documentsPOSTUpload a document
/api/documentsGETList all documents
/api/documents/{id}GETGet document details
/api/documents/{id}DELETEDelete a document

View Documents API →


Agent API (Core Features)

EndpointMethodDescription
/agent/interactionsPOSTChat with AI reasoning
/agent/researchPOSTStart research job
/agent/modelsGETList available models

View Agent API →


Knowledge Graphs API

EndpointMethodDescription
/api/graphsPOSTCreate a graph
/api/graphsGETList all graphs
/api/graphs/{id}GETGet graph data
/api/graphs/{id}/import-from-documentPOSTImport document to graph

View Graphs API →


Search API

EndpointMethodDescription
/api/searchGETSearch document content
/api/search/entitiesGETSearch entities in graphs

View Search API →


Billing API

EndpointMethodDescription
/api/billing/tokensGETCheck token balance

View Billing API →


Utility Endpoints

EndpointMethodDescription
/healthGETAPI health check

Rate Limits

All API keys are subject to rate limits:

WindowLimit
Per minute60 requests
Per day10,000 requests

Headers in every response:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45
X-RateLimit-Reset: 1697712000
X-RateLimit-Limit-Day: 10000
X-RateLimit-Remaining-Day: 9823

Token Pricing

Purchase

  • $1 = 4 tokens
  • Available in web app: Settings → Billing

Costs Per Operation

OperationSnapPonder
Chat query3 tokens10 tokens
Research job30 tokens100 tokens
Document upload5 + 1/page5 + 1/page
Search/GraphsFreeFree

Models:

  • Snap: Fast responses (gpt-3.5-turbo)
  • Ponder: Deep thinking (gpt-4o, gpt-4o-mini, o1-mini)

Error Codes

CodeDescription
401Invalid or expired API key
402Insufficient tokens
429Rate limit exceeded
400Bad request (invalid parameters)
404Resource not found
500Internal server error

Error Response Format:

json
{
  "error": {
    "code": "insufficient_tokens",
    "message": "Insufficient tokens. Need 10, have 3.",
    "details": {
      "required": 10,
      "available": 3
    }
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2025-10-19T12:00:00Z"
  }
}

Detailed Endpoint Documentation


Questions? Contact support@exograph.ai

Released under the MIT License.