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

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

---

[API](https://skmtc.net/helicone/apis/helicone-api.md) · [All operations](https://skmtc.net/helicone/apis/helicone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helicone/helicone-api/revisions/b369e9e3e80c/schema)
