Create a chat completion (legacy path)
Supported compatibility surface — kept working indefinitely, but not the path for new integrations. Modern equivalent: POST /responses.
Backward-compatible path for /chat/completions, including historical field spellings and session memory.
post/chat
Request
- Base URL: https://www.ninjachat.ai/api/v1
- URL: https://www.ninjachat.ai/api/v1/chat
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Safely retry the same logical write without duplicate billing or execution.
Request body
object required
Response
Chat completion or SSE stream.
Changes
No recorded changes to this operation across all 1 revision of this API.