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, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
OR
AuthorizationBearer
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
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