---
title: "POST /v1/prompt-2025/update"
method: POST
path: "/v1/prompt-2025/update"
tags: ["Prompt2025"]
---

# POST /v1/prompt-2025/update

`POST /v1/prompt-2025/update`

## Request body

- object
  - `promptBody` OpenAIChatRequest, required — Simplified interface for the OpenAI Chat request format
    - `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
            - `url` string, required
          - `text` string
          - `type` string, required
      - `role` string, required
    - `temperature` number, double
    - `top_p` number, double
    - `max_tokens` number, double
    - `max_completion_tokens` number, double
    - `stream` boolean
    - `stop` union
      - string[]
      - string
    - `tools` object[]
      - `function` object, required
        - `strict` boolean
        - `parameters` RecordStringAny — Construct a type with a set of properties K of type T
        - `description` string
        - `name` string, required
      - `type` 'function', required
    - `tool_choice` union
      - object
        - `function` object
          - `name` string, required
          - `type` 'function', required
        - `type` string, required
      - 'none' | 'auto' | 'required'
    - `parallel_tool_calls` boolean
    - `reasoning_effort` 'minimal' | 'low' | 'medium' | 'high'
    - `verbosity` 'low' | 'medium' | 'high'
    - `frequency_penalty` number, double
    - `presence_penalty` number, double
    - `logit_bias` RecordStringNumber — Construct a type with a set of properties K of type T
    - `logprobs` boolean
    - `top_logprobs` number, double
    - `n` number, double
    - `modalities` string[]
    - `prediction` unknown
    - `audio` unknown
    - `response_format` object
      - `json_schema` unknown
      - `type` string, required
    - `seed` number, double
    - `service_tier` string
    - `store` boolean
    - `stream_options` unknown
    - `metadata` RecordStringString — Construct a type with a set of properties K of type T
    - `user` string
    - `function_call` union
      - string
      - object
        - `name` string, required
    - `functions` unknown[]
      - unknown
  - `commitMessage` string, required
  - `environment` string
  - `newMajorVersion` boolean, required
  - `promptVersionId` string, required
  - `promptId` string, required

## Response `200`

Ok

- union
  - ResultSuccessIdString
    - `data` object, required
      - `id` 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)
