Run a saved preset
Chat completion using a preset's saved model, routing, system prompt, and parameters. Send only your messages; pass model/models to override the preset's chain for this call. Response headers include X-Ninja-Preset and X-Ninja-Preset-Version.
post/presets/{slug}/chat/completions
Request
- Base URL: https://www.ninjachat.ai/api/v1
- URL: https://www.ninjachat.ai/api/v1/presets/{slug}/chat/completions
- Auth: HTTP bearer
Path parameters
slugstring required
Headers
Idempotency-Keystring
Safely retry the same logical write without duplicate billing or execution.
Request body
Response
Chat completion or SSE stream.
Changes
No recorded changes to this operation across all 1 revision of this API.