Docs written into every error
When a call fails, Restless pulls the relevant fix from your docs and writes it straight into the response, so the agent has what it needs to recover, right where it hit the wall.
{
"error": "unauthorized",
"message": "currency is required",
"debug": {
"recovery": "Mint a new token with POST /v1/tokens, then retry with the Authorization: Bearer header. Docs: https://docs.acme.com/p/jk23kza/create-token.md",
"log": "https://acme.com/logs/9f18a0e2-4c7b-4e1a-b93f-2c5d8e0a4f61",
"cli": "npx api debug 9f18a0e2-4c7b-4e1a-b93f-2c5d8e0a4f61"
}
}