Every API request needs a bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.terrapinfinance.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header. Tokens are tied to your organization and inherit the limits of your subscription tier.
Get an API key
API keys are managed from the app:- Sign in to your Terrapin account.
- Open the API Keys section.
- Click Generate new key and copy the value immediately. We never display it again.
Send the bearer token
AddAuthorization: Bearer <token> to every request.
Responses
200 OK: authenticated and processed.401 Unauthorized: header is missing, malformed, or the token has been revoked. The body is{"errors": [{"detail": "Incorrect or no bearer token"}]}.403 Forbidden: your tier does not include this endpoint or resource. Upgrade from the app.
Rotating and revoking keys
Generate a new key, switch your workload to it, then delete the old key in the app. Deleted keys stop working immediately and any in-flight calls using them will start failing with401.