---
title: "GET /api/{org_id}/prompts/{entity_id}/versions/{version}"
method: GET
path: "/api/{org_id}/prompts/{entity_id}/versions/{version}"
tags: ["Prompts"]
---

# GET /api/{org_id}/prompts/{entity_id}/versions/{version}

`GET /api/{org_id}/prompts/{entity_id}/versions/{version}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/prompts/{entity_id}/versions/{version}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/prompts/:entity_id/versions/:version/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `entity_id` string, required
- `version` integer, required

## Response `200`

- object
  - `baseVersion` integer, nullable
  - `commitMessage` string, required
  - `config` PromptConfig, required
    - `model` string, nullable
    - `params` unknown
    - `responseFormat` unknown
    - `tools` unknown
  - `contentHash` string, required
  - `createdAt` integer, required
  - `createdBy` string, required
  - `entityId` string, required
  - `id` string, required
  - `payload` unknown, required
  - `source` string, required
  - `version` integer, required

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
