---
title: "POST /model-hub/eval-templates/list-charts/"
method: POST
path: "/model-hub/eval-templates/list-charts/"
tags: ["model-hub"]
---

# POST /model-hub/eval-templates/list-charts/

`POST /model-hub/eval-templates/list-charts/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/eval-templates/list-charts/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Returns 30-day chart data (run counts + error rates) for a list of template IDs.
Uses ClickHouse for fast analytics. Called separately from the list API so the
table renders instantly while charts load async.

## Request body

- EvalTemplateListChartsRequest
  - `template_ids` string[], required

## Response `200`

OK

- EvalTemplateListChartsResponse
  - `status` boolean, required
  - `result` EvalTemplateListChartsResponseResult, required
    - `charts` object, required
    - `query_complete` boolean, required
    - `query_status` 'complete' | 'stale' | 'degraded', required
    - `query_sampled` boolean, required
    - `query_error_code` 'read_budget_exceeded' | 'template_limit_exceeded' | 'query_failed'
    - `data_stale` boolean, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
