Skip to main content
GET
Get a specific version of a preset

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

slug
string
required

URL-safe slug identifying the preset.

Minimum string length: 1
Example:

"my-preset"

version
string
required

Version number of the preset.

Minimum string length: 1
Example:

"1"

Query Parameters

workspace_id
string<uuid>

Workspace to act in. Also accepted as a workspace_id field in a JSON request body. Defaults to the key's workspace for a key limited to one workspace, otherwise to the account's default workspace.

Example:

"750e8400-e29b-41d4-a716-446655440002"

Response

The requested preset version.

A single version of a preset.

data
object | null
required

A specific version of a preset, containing config and optional system prompt.

Example: