Resources
Most single-resource endpoints return the resource under a named field."error": false on success and "error": true on failure instead of success.
Collections
The collection key names the resource. Counts and pagination fields sit beside the array, and their names vary by module.Actions
Start, stop, restart, trigger, and delete endpoints return a short result. Some also return the updated resource.201 or 202. Deploys, redeploys, rollbacks, and rebuilds return a deploymentId. Cron triggers return a runId. Server actions return an action you can poll.
Idempotent creation
Database, storage bucket, storage access key, and cron job creation accept anIdempotency-Key header of 8 to 180 characters. Retrying with the same key and body does not create a duplicate. Reusing a key with a different body returns 409 with code idempotency_key_reused.
Downloads
Download endpoints return binary content. Read theContent-Type and Content-Disposition response headers instead of parsing JSON.
Errors
Errors use the HTTP status code and a JSON body with amessage. Some add a code, reason, or plan details.
Examples show stable fields used by clients. Pxxl can add response fields without breaking existing integrations.

