API Overview

All endpoints are JSON over HTTPS and authenticated with Bearer API keys.

Common Request Headers

Authorization: Bearer nsc_live_YOUR_KEY
Content-Type: application/json
Accept: application/json

Common Response Fields

  • id: unique identifier for this response object
  • model: model used for generation
  • usage: token counts for prompt and completion
  • created_at: UTC timestamp for response creation

Authentication Reminder

Requests without a valid key return authentication_error. See Authentication for setup details.