Use the REST API
The control-plane API is https://api.stage.nyas.io. Storage operations use https://storage.stage.nyas.io; the interactive reference assigns the correct server per operation.
Authentication
Send the account access token as Authorization: Bearer <token>. OAuth and device authorization endpoints are public; project and account resources require authentication.
Errors
Check the HTTP status before decoding a success body. Validation, conflict, authorization, and not-found responses are distinct so callers can recover deliberately.
OpenAPI
Download the live contract from /openapi.json or use the interactive reference.