Skip to main content
POST
Generate prompt JSON schema

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body schema.

prompt
string
required

Prompt to generate a JSON schema for.

systemPrompt
string

Instructions given to the model alongside the prompt, used as extra context.

Response

Successful response

jsonSchema
JSON schema · object
required

Generated JSON schema.