Base URL
v1 in its path: POST https://sitegpt.ai/api/v1/chatbots/{chatbotId}/links (“Add Content to Chatbot”). It uses the same API key and response format as v0.
API key
API v0 and v1 use the legacy API key. Scopedsgpt_ tokens from the Agents page do not work with v0.
- Plan: Growth plan and above. See Plans and limits.
- Where to find it: Open the Billing page. The key shows in the line “Your API Key is …”.
- SiteGPT creates the key for you. You cannot create or rotate it yourself. If your plan includes API access but you do not see a key, contact support.
Authorization header:
Response format
Success:error.details is a list of field errors. Each item has a path and a message:
Error codes
Pagination
API v0 has no pagination. List endpoints return all items in one response. If you need pagination, use API v2. See API conventions.Rate limits
API v0 has no per-request rate limit and sends no rate-limit headers. A429 status means that a plan quota is used up.
SDKs
The official SDKs use API v2, not v0:- TypeScript SDK (
@sitegpt/sdk) - Python SDK (
sitegpt) - Go SDK
Names in API v0
API v0 uses older names for some features:
Move from API v0 to v2 maps every v0 endpoint to its v2 endpoint.