Skip to main content
POST
Create a chat completion

Authorizations

Authorization
string
header
required

AtlasFlux API key. Get yours from the Developer Dashboard.

Body

application/json
messages
object[]
required
Minimum array length: 1
model
string
default:atlasflux/nenas-flash
temperature
number
default:1
Required range: 0 <= x <= 2
max_tokens
integer
Required range: 1 <= x <= 32000
stream
boolean
default:false
reasoning
object

Response

Chat completion created successfully.

id
string
object
string
Example:

"chat.completion"

created
integer
model
string
choices
object[]
usage
object