POST
/
v2
/
generate
/
{project_id}

Path Parameters

project
any
required

Body

application/json
prompt
string
messages
object[]
temperature
number
default: 0.2
stop
string
max_tokens
integer
default: 100
model
string
required

Response

200 - application/json
id
string
required
object
string
default: text_completion
choices
any[]
required
created
integer
required
model
string
required
system_fingerprint
string
usage
object
required
metadata
object