/ai/completions

Get a completion from the AI.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
messages
array of objects
required
length ≥ 1

Messages to send for completion generation

messages*
string
enum
required
Allowed:
string
required
string
enum

The model to use for completion generation

Allowed:
number
0 to 2

The temperature of the generated completions

responseSchema
object

A JSON schema to describe the expected structured output as JSON

boolean
Defaults to false

Whether the request should deduct AI credits from the user or not

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json