Overview of the Sudo developer API
https://sudoapp.dev/api
/v1/chat/completions
POST
to /v1/chat/completions
accepts the same fields you’re used to.
Below is an example condensed TypeScript definition (non-exhaustive):
Header | Value |
---|---|
Authorization | Bearer <SUDO_API_KEY> |
Content-Type | application/json |
finish_reason
is one of stop
, length
, tool_calls
, content_filter
, or error
– mirroring OpenAI’s values.