Base URL
/scripts.json (no authentication required).
Authentication
SendAuthorization: Bearer <token> with every request.
Scopes
If the scope is missing, the response is
403 MISSING_SCOPE.
Format
- Requests and responses in JSON (
Content-Type: application/json). - Errors:
{ "code": "…", "message": "…", "errors": { … } }.errorsappears when a field is invalid. See the error list. - Dates in ISO 8601 (UTC).
- Accounts always appear as
@username.
Limits
When exceeded, the response is
429 RATE_LIMITED with Retry-After: 60.
Webhooks
Verify the signature (Node.js):
Examples
Read a file
Commit with race protection
AI
Routes
Scripts
6 route(s)
Script token
3 route(s)
Repository
7 route(s)
Backend functions and deployment
3 route(s)
Collections and documents
6 route(s)
Webhooks
6 route(s)
AI and logs
2 route(s)
Authorized apps
2 route(s)
Studio
Versions, users, configuration

