Retrieve a prompt version
Retrieve a specific version of a prompt.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Path parameters
prompt_id
The unique prompt identifier.
version
The prompt version number.
Response
Prompt version details.
id
prompt_version_id
version
description
messages
thinking
model
stream
temperature
max_tokens
top_p
frequency_penalty
presence_penalty
reasoning_effort
verbosity
seed
variables
fallback_models
load_balance_models
tools
tool_choice
response_format
json_schema
is_enforcing_response_format
readonly
is_deployed
edited_by
created_at
updated_at
Errors
401
Unauthorized Error
404
Not Found Error