Skip to main content

Chat and agents

The three chat endpoints reach the same models. Pick the one your SDK or tool already speaks. For new code, choose by the features you need:
  • Chat Completions is the format most third-party tools expect. NagaAI adds the model’s reasoning text to it as reasoning_content.
  • Responses returns typed output items and streams named events. NagaAI keeps no state between Responses calls, so you send the whole conversation each time.
  • Messages uses Anthropic content blocks and requires max_tokens.

Other tasks

Field-by-field contracts for every endpoint are in the API reference.