API Reference
Errors
Errors
The MVP preserves the existing top-level error envelope:
{
"error": "missing permission grant for action linear.issues.read",
"code": "PERMISSION_DENIED"
}Common codes
MISSING_SCOPEHOSTED_MODEL_UNAVAILABLEPERMISSION_DENIEDRECONNECT_REQUIREDACTION_EXECUTION_FAILED
Every public response also includes X-Request-Id.
In practice, the first three things to check are:
- Is the API key valid and scoped to the right workspace?
- Is the hosted model path ready for sessions and runs?
- Is the integration or permission state correct for the action you asked AP to use?
When you inspect a failed request, use X-Request-Id together with the dashboard run detail page or your server logs.