Api Prompts Versions Partial Update
Default PATCH handler with automatic organization injection.
For UPDATE operations:
- Superadmins preserve original ownership (org fields removed from request)
- Regular users are forced to their own organization
Override this method only for custom pre-update logic.
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
prompt_id
Request
This endpoint expects an object.
parent_prompt
messages
variables
tools
load_balance_models
thinking
tool_choice
response_format
json_schema
is_deployed
description
created_at
version
model
stream
temperature
max_tokens
top_p
frequency_penalty
presence_penalty
reasoning_effort
verbosity
seed
readonly
fallback_models
is_enforcing_response_format
prompt
Response
id
edited_by
prompt_version_id
updated_at
prompt
parent_prompt
messages
variables
tools
load_balance_models
thinking
tool_choice
response_format
json_schema
is_deployed
description
created_at
version
model
stream
temperature
max_tokens
top_p
frequency_penalty
presence_penalty
reasoning_effort
verbosity
seed
readonly
fallback_models
is_enforcing_response_format