Skip to main content
GET
/
presets
Get Presets
curl --request GET \
  --url https://api.example.com/presets/ \
  --header 'Authorization: Bearer <token>'
{
  "presets": [
    {
      "id": "<string>",
      "email": "<string>",
      "preset_type": "<string>",
      "title": "<string>",
      "prompt_ids": [
        "<string>"
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "icon": "<string>",
      "category": "<string>"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

Response model for a list of presets.

presets
PresetResponse · object[]
required
total
integer
required