Jwt Prompt Version Retrieve

Unified view for single prompt version operations (retrieve/update/delete). Supports both JWT (dashboard) and API key (public API) authentication. Uses NestedResourceMixin for parent-aware access control: - READ child = READ parent → superadmin can view any - WRITE child = WRITE parent → requires org match (for JWT auth) JWT auth: uses pk lookup API key auth: uses prompt_id + version lookup

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

idstringRequired

Response

idintegerRead-only
edited_byobject
updated_atdatetimeRead-only
promptinteger
parent_promptstring or null
messageslist of objects
variablesmap from strings to strings or objects
toolslist of objects or null
load_balance_modelslist of objects or null
thinkingobject or any
tool_choicestring or object or any
response_formatobject or null
json_schemaobject or null
is_deployedboolean
prompt_version_idstring<=70 characters
descriptionstring
created_atdatetime
versioninteger-2147483648-2147483647
modelstring<=70 characters
streamboolean
temperaturedouble or null
max_tokensinteger or null-2147483648-2147483647
top_pdouble or null
frequency_penaltydouble or null
presence_penaltydouble or null
reasoning_effortstring or null<=70 characters
verbositystring or null<=50 characters
seedinteger or null-2147483648-2147483647
readonlyboolean
fallback_modelslist of strings or null
is_enforcing_response_formatboolean