---
title: "GET /model-hub/prompt/metrics/"
method: GET
path: "/model-hub/prompt/metrics/"
tags: ["model-hub"]
---

# GET /model-hub/prompt/metrics/

`GET /model-hub/prompt/metrics/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt/metrics/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Query parameters

- `prompt_template_id` string, uuid, required
- `filters` string
- `page_number` integer
- `page_size` integer

## Response `200`

OK

- PromptMetricsResponse
  - `status` boolean, required
  - `result` PromptMetricsResult, required
    - `prompt_template_id` string, uuid
    - `prompt_template_name` string
    - `table` object[], required
    - `config` PromptMetricFieldConfig[], required
      - `id` string, required
      - `name` string, required
      - `is_visible` boolean, required
      - `group_by` string, nullable
      - `output_type` string, nullable
      - `reverse_output` boolean, nullable
      - `annotation_label_type` string, nullable
      - `choices` object[], nullable
      - `settings` object, nullable
      - `choices_map` object, nullable
      - `eval_template_id` string, uuid, nullable
      - `annotators` object, nullable
      - `source_field` string, nullable
      - `parent_eval_id` string, nullable
      - `property_id` string, required
      - `property_kind` 'system_attribute' | 'eval_config', required
      - `property_source` string, required
      - `filter_type` 'number' | 'text' | 'datetime' | 'boolean' | 'array'
      - `supported_filter_ops` string[]
    - `metadata` PromptMetricsMetadata, required
      - `total_rows` integer, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable
- `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)
