Presets

Lists all presets for the authenticated user, ordered by most recently updated first.

get/presets

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Query parameters

offset, integer nullable

Number of records to skip for pagination

limit, integer

Maximum number of records to return (max 100)

Example:50
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

Paginated list of presets.

ListPresetsResponse required

A paginated list of presets.

data, Preset[] required
total_count, integer required

Example response

{
  "data": [
    {
      "created_at": "2026-04-20T10:00:00Z",
      "creator_user_id": "user_2dHFtVWx2n56w6HkM0000000000",
      "description": null,
      "designated_version_id": "550e8400-e29b-41d4-a716-446655440000",
      "id": "650e8400-e29b-41d4-a716-446655440001",
      "name": "my-preset",
      "slug": "my-preset",
      "status": "active",
      "status_updated_at": null,
      "updated_at": "2026-04-20T10:00:00Z",
      "workspace_id": "750e8400-e29b-41d4-a716-446655440002"
    }
  ],
  "total_count": 1
}

Changes