---
title: "Select models that satisfy stated constraints"
method: GET
path: "/api/v1/databanks/{slug}/models"
tags: ["Data", "Provenance"]
---

# Select models that satisfy stated constraints

`GET /api/v1/databanks/{slug}/models`

## Request

- Base URL: `https://api.daystruct.ai`
- URL: `https://api.daystruct.ai/api/v1/databanks/{slug}/models`
- Auth: one of:
  - none
  - HTTP bearer

Defined for the ai-infrastructure databank. Returns candidates ordered by input price ascending then larger context window, each with the corroboration behind its record. Prices are per million tokens. A model with no published price is returned under undetermined rather than excluded, so an unpriced model never reads as a disqualified one. Repeat capability to require several.

## Path parameters

- `slug` string, required

## Query parameters

- `min_context_window` integer
- `capability` string[]
- `max_input_price` number
- `max_output_price` number
- `provider` string

## Headers

- `X-Daystruct-Client-Id` string
- `X-Daystruct-Agent` string
- `X-Daystruct-Use-Case` string
- `X-Daystruct-Agent-Id` string, uuid

## Response `200`

A bounded JSON envelope with pagination metadata.

## Other responses

- `400`: Invalid query.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/daystruct/apis/daystruct-api.md) · [All operations](https://skmtc.dev/daystruct/apis/daystruct-api/llms.txt) · [OpenAPI document](https://skmtc.dev/daystruct/apis/daystruct-api/revisions/8cd3c7f60e18?raw)
