---
title: "GET /model-hub/prompt-history-executions/{id}/"
method: GET
path: "/model-hub/prompt-history-executions/{id}/"
tags: ["model-hub"]
---

# GET /model-hub/prompt-history-executions/{id}/

`GET /model-hub/prompt-history-executions/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt-history-executions/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Response `200`

OK

- PromptHistoryExecution
  - `id` string, uuid
  - `template_version` string, required
  - `output` object, nullable
  - `prompt_config_snapshot` object: Get prompt_config_snapshot with backward compatibility for modelDetail. If modelDetail is missing from configuration, generate it from the model name.
  - `template_name` string
  - `original_template` string, uuid, nullable
  - `metadata` object, nullable
  - `variable_names` object
  - `evaluation_results` object, nullable
  - `evaluation_configs` object, nullable
  - `created_at` string, date-time
  - `is_default` boolean
  - `commit_message` string, nullable
  - `updated_at` string, date-time
  - `is_draft` boolean
  - `labels` object
  - `placeholders` object, nullable
  - `prompt_base_template` string, uuid, nullable

## Other responses

- `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)
