v126

OpenAPI 3.1.0MITraw.githubusercontent.com2026-08-04957391.2 MB
Presets

Get a specific version of a preset

Retrieves a specific version of a preset by its slug and version number.

get/presets/{slug}/versions/{version}

Path parameters

slugstring required

URL-safe slug identifying the preset.

Example:my-preset

URL-safe slug identifying the preset.

versionstring required

Version number of the preset.

Example:1

Version number of the preset.

Response

The requested preset version.

Example response

{
  "data": {
    "config": {
      "model": "openai/gpt-4o",
      "temperature": 0.7
    },
    "created_at": "2026-04-20T10:00:00Z",
    "creator_id": "user_2dHFtVWx2n56w6HkM0000000000",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "preset_id": "650e8400-e29b-41d4-a716-446655440001",
    "system_prompt": "You are a helpful assistant.",
    "updated_at": "2026-04-20T10:00:00Z",
    "version": 1
  }
}