---
title: "Api Llm Presets List"
method: GET
path: "/api/llm-presets/"
tags: ["platformApi"]
---

# Api Llm Presets List

`GET /api/llm-presets/`

GET/POST /api/llm-presets/ — List and create LLM presets.

Presets store LLMConfigMixin-compatible request configuration in
model_config (model, temperature, top_p, tools, tool_choice, etc.)
plus template variable values. Reusable across Playground,
Experiments, and Prompt testing.

GET: Returns all presets for the current org.
POST: Creates a new preset.

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `Authorization` string, required

## Response `200`

- PaginatedLLMPresetListList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `total_count` integer
  - `current_filters` FilterParamDictPydantic — Pydantic model for FilterParamDict. A dictionary that maps metric names to their filter parameters. Each key is a metric name (str), and each value can be: - A single MetricFilterParamPydantic (one condition) - A List[MetricFilterParamPydantic] (multiple conditions for same metric) - A FilterBundlePydantic (nested filter bundle with connector) Note: Uses extra="allow" for dynamic metric name fields. The __pydantic_extra__ annotation tells Pydantic what types to expect for extra fields, and generates typed additionalProperties in JSON Schema.
  - `filters_data` PaginatedLlmPresetListListFiltersData
  - `results` LLMPresetList[], required
    - `id` string, required
    - `name` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `created_by` Editor, required
      - `id` integer, required
      - `email` string, required
      - `name` string, required
      - `username` string
      - `first_name` string
      - `last_name` string

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
