Skip to main content
POST
Native chat completion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
Maximum string length: 255

Body

application/json
model
string
required

AdSkull LLM model ID, e.g. claude-opus-4.7

messages
object[]
required
Minimum array length: 1
max_tokens
integer | null
temperature
number | null
Required range: 0 <= x <= 2
top_p
number | null
Required range: 0 <= x <= 1
stream
boolean
default:false
tools
object[]
tool_choice
object | null
stop
seed
integer | null
response_format
object | null
attachments
object[]

Response

Completion or SSE stream.

id
string
object
string
Allowed value: "chat.completion"
model
string
created
integer
choices
object[]
usage
object