POST
/
models

Authorizations

Authorization
string
headerrequired

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

Body

application/json
datasetId
string
required
slug
string
required
trainingConfig
object
required
pruningRuleIds
string[]

Response

200 - application/json
id
string
required
name
string
required
object
enum<string>
required
Available options:
model
description
string | null
required
created
string
required
updated
string
required
openpipe
object
required
contextWindow
number
required
maxCompletionTokens
number
required
capabilities
enum<string>[]
required
Available options:
chat,
tools,
json
pricing
object
required
owned_by
string
required