<your api>/ai/v1, in OpenAI’s formats. The SDKs wrap it as pawabase.ai.
Servers use a secret key and can call any model. A browser can use only the public key, and only models set to Signed-in users or Anyone. See Providers and models.
Ask a model
Stream the answer
Tools and JSON
Passtools in OpenAI’s format to let a model ask you to call a function, and responseFormat: { type: "json_object" } (response_format= in Python) to ask for JSON. Anthropic’s native format is translated for you, so the same request works for every provider.
Any OpenAI client
Errors
Gateway errors use OpenAI’s shape,{ "error": { "message", "type", "code" } }, and the SDKs raise them with the message and code kept.