Skip to main content
POST
Create Preset

Authorizations

Authorization
string
header
required

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

Body

application/json

Request model for creating a new preset.

title
string
required

Preset title

Required string length: 1 - 200
prompt_ids
string[]
required

Array of prompt UUIDs

Minimum array length: 1
icon
string | null

Icon identifier

Maximum string length: 100
category
string | null

Category name

Maximum string length: 100
preset_type
string
default:user

Preset type: 'user' or 'system'

Response

Successful Response

Response model for a single preset.

id
string
required
email
string
required
preset_type
string
required
title
string
required
prompt_ids
string[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
icon
string | null
category
string | null