Overview
The GC AI External API allows you to integrate GC AI’s legal AI capabilities into your workflows and applications. Perfect for:- Workflow automation with tools like Zapier, Make, or n8n
- Custom integrations in your internal tools
- Batch processing of legal questions
- Chatbots and assistants powered by legal AI
Multi-turn Conversations
Conversations can span multiple turns. Pass thechat_id returned by a completion back on your next request to continue the same chat — see Multi-turn Conversations.
Current Limitations
- Interactive clarification is not yet available: the model can’t pause mid-completion to ask you a follow-up question.
Base URL
All API requests should be made to:Authentication
All requests require an API key in theAuthorization header:
GC AI supports two scopes: organization and personal. Learn which to use and how to govern them.
Getting an API Key
Which scope you create depends on whether the integration belongs to the company or to a person (see API Keys). For a company-owned integration (organization key): an org admin opens Settings → API → Organization API Keys and clicks + Create API Key. This needs no org-wide policy change. For an individual’s own access (personal key):- An org admin opens Settings → API and enables Allow team to create personal API keys (User API Keys Policy).
- Each user opens Settings → API → Personal API Keys and clicks + Create API Key.
Quick Start
Here’s a simple example using curl:Usage
Usage is tracked and viewable in the GC AI app under Settings → API → View Usage. The API is free to test.Rate Limits
The API is rate-limited in two tiers: inference endpoints (chat completions, playbook runs) are capped at 60 requests per minute per organization (20 per API key), and all other endpoints at 600 requests per minute per organization (120 per API key). Exceeding a limit returns429 Too Many Requests with a Retry-After header. See Rate Limits for the full breakdown.