Base URL
/v1/messages themselves, so give them the origin
(https://compute.prentis.ai) rather than the base above.
Authentication
/v1/messages also accepts x-api-key: $PRENTIS_API_KEY. See
Authentication.
Endpoints
On every response
Two conventions worth knowing before you read on
Unknown parameters are ignored, not rejected. Sending an OpenAI parameter this API does not implement will not fail your call. The exceptions are marked not supported on each endpoint — those returnINVALID_REQUEST, because silently ignoring them would change the
answer in a way you could not detect.
Errors are OpenAI-shaped, and code is the stable part. Messages get reworded; codes
are append-only and a retired one is never reused. Branch on error.code. The full list is
on Errors.