Skip to content
Tech News
← Back to articles

Launch HN: Coasty (YC S26) – An API for computer-use agents

read original more articles

401 INVALID_API_KEY Key missing, malformed, or revoked (or "Bearer " was wrongly pasted into X-API-Key). 401s carry a WWW-Authenticate header.

403 INSUFFICIENT_SCOPE The key is valid but lacks the scope this endpoint needs. The body lists required_scope and current_scopes; re-mint a key with the scope.

402 INSUFFICIENT_CREDITS Your USD wallet can't cover the request. The body reports required and balance. Add funds, or use a test key while building.

402 WALLET_EXHAUSTED The wallet emptied mid-run. Steps that already completed were billed; top up to continue.

422 VALIDATION_ERROR The body failed schema validation. error.details lists the offending field path and the expected type.

422 INVALID_SCREENSHOT The screenshot is not decodable base64 PNG or JPEG. Strip any data: prefix and remove whitespace before encoding.

413 PAYLOAD_TOO_LARGE The screenshot exceeds the 10 MB base64 limit. Downscale the image or re-encode it as JPEG.

400 INVALID_LIMIT A ?limit= query parameter fell outside the allowed range of 1 to 200.

400 INVALID_STATUS_FILTER A ?status= query parameter is not one of the real statuses for that resource.

404 NOT_FOUND The resource id is unknown or expired. Ids are mode-isolated, so a test key can't see live resources.

... continue reading