Skip to main content
PUT
Update a prompt

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

promptId
string
required

Body

application/json
name
string
collection_id
string
string
string
parameters
object
model
string
virtual_key
string
version_description
string
functions
object[]
tools
object[]
tool_choice
object
is_raw_template
enum<integer>
Available options:
0,
1
prompt_metadata
object

Response

Prompt updated successfully

id
string<uuid>
slug
string
prompt_version_id
string<uuid>
Last modified on February 17, 2026