---
title: "GET /v1/prompt-2025/{promptVersionId}/prompt-body"
method: GET
path: "/v1/prompt-2025/{promptVersionId}/prompt-body"
tags: ["Prompt2025"]
---

# GET /v1/prompt-2025/{promptVersionId}/prompt-body

`GET /v1/prompt-2025/{promptVersionId}/prompt-body`

## Request

- Base URL: `https://api.helicone.ai`
- URL: `https://api.helicone.ai/v1/prompt-2025/{promptVersionId}/prompt-body`
- Auth: API key in header `Authorization`

Get the full prompt body (messages, tools, etc.) for a specific prompt version.

## Path parameters

- `promptVersionId` string, required

## Response `200`

Ok

- union
  - ResultSuccessPrompt2025Version91PromptBody93
    - `data` Prompt2025VersionPromptBody, required
      - `model` string
      - `messages` object[]
        - `tool_calls` object[]
          - `type` 'function', required
          - `function` object, required
            - `arguments` string, required
            - `name` string, required
          - `id` string, required
        - `tool_call_id` string
        - `name` string
        - `content` union, required
          - string
          - object[]
            - `image_url` object
              - …
            - `text` string
            - `type` string, required
        - `role` string, required
      - `temperature` number, double
      - `top_p` number, double
      - `max_tokens` number, double
      - `tools` object[]
        - `function` object, required
          - `parameters` RecordStringUnknown, required: Construct a type with a set of properties K of type T
          - `description` string, required
          - `name` string, required
        - `type` 'function', required
      - `tool_choice` union
        - string
        - object
          - `function` object
            - `name` string, required
            - `type` 'function', required
          - `type` string, required
    - `error` null, nullable, required
  - ResultErrorString
    - `data` null, nullable, required
    - `error` string, required

## Changes

- **2026-02-04** `4b6bf071b695`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/helicone/apis/helicone-api/changes/v1/prompt-2025/:promptVersionId/prompt-body/get.md)

---

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