---
title: "Filter models"
method: POST
path: "/api/models/list/"
tags: ["models"]
---

# Filter models

`POST /api/models/list/`

List models using POST-for-filtering. Authentication is optional: anonymous callers receive managed global models, while API-key and dashboard callers also receive their organization's custom models. Anonymous requests are rate-limited per client IP.

## Query parameters

- `page` integer
- `page_size` integer
- `sort_by` string

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` ApiModelsListPostRequestBodyContentApplicationJsonSchemaFilters — Filter criteria using the standard Respan filter format.
  - `is_exporting` boolean — Reserved for dashboard exports.

## Response `200`

Paginated filtered list of models.

- ModelsFilterModelsResponse200
  - `count` integer, required — Total number of matching models.
  - `next` string, nullable — URL for the next page, if any.
  - `previous` string, nullable — URL for the previous page, if any.
  - `current_filters` ApiModelsListPostResponsesContentApplicationJsonSchemaCurrentFilters — Normalized filters applied to this request.
  - `results` ApiModelsListPostResponsesContentApplicationJsonSchemaResultsItems[], required
    - `id` string, required — Model string ID. Same value as `model_name`.
    - `model_name` string, required — Model name used in API calls.
    - `display_name` string — Human-readable model name.
    - `base_model_name` string — Base model inherited from, when configured.
    - `affiliation_category` 'respan' | 'custom' — Whether the model is built in or organization-specific.
    - `is_called_by_custom_name` boolean — Whether requests are sent upstream using this custom model name.
    - `input_cost` number, double — Cost per 1M input tokens in USD.
    - `output_cost` number, double — Cost per 1M output tokens in USD.
    - `cache_hit_input_cost` number, double — Cost per 1M cached input tokens in USD.
    - `cache_creation_input_cost` number, double — Cost per 1M cache creation input tokens in USD.
    - `max_context_window` integer — Maximum context window size.
    - `streaming_support` '0' | '1' — Streaming support. `0` = no, `1` = yes.
    - `function_call` '0' | '1' — Function/tool calling support. `0` = no, `1` = yes.
    - `image_support` '0' | '1' — Vision input support. `0` = no, `1` = yes.
    - `source` 'db' | 'hardcoded' — Source of the model definition.
    - `model_type` 'chat' | 'embedding' | 'audio' — Model type.
    - `supported_params` object — Computed parameter support after applying model-specific overrides.
    - `throughput` ApiModelsListPostResponsesContentApplicationJsonSchemaResultsItemsThroughput
      - `average_tps` number, double, nullable — Average output tokens per second over the recent global window.
      - `average_ttft` number, double, nullable — Average time to first token in seconds over the recent global window.
      - `average_latency` number, double, nullable — Average request latency in seconds over the recent global window.
      - `number_of_requests` integer, nullable — Request count over the recent global window.
    - `provider` ApiModelsListPostResponsesContentApplicationJsonSchemaResultsItemsProvider
      - `id` string, required — Provider string ID. Same value as `provider_id`.
      - `provider_id` string, required — Unique provider identifier within your organization.
      - `provider_name` string, required — Human-readable provider name.
      - `extra_kwargs` object — Provider configuration such as `base_url` and timeout values. Secret values are not returned here.
      - `created_at` string, date-time, nullable
      - `updated_at` string, date-time, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `is_officially_supported` boolean, required — Whether the model's bare slug is in Respan's first-party supported catalog.

## Other responses

- `400` — Bad Request

---

[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/revisions/4e064cf81dae/schema)
