4e064cf81dae

latestOpenAPI 3.1.02026-08-131831,331960.0 KB
prompts

Retrieve a prompt version

Retrieve a specific version of a prompt.

get/api/prompts/{prompt_id}/versions/{version}/

Path parameters

prompt_idstring required

The unique prompt identifier.

versioninteger required

The prompt version number.

Headers

Authorizationstring required

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.

Response

Prompt version details.

idstring
prompt_version_idstring
versioninteger
descriptionstring nullable
messagesobject[]
thinkingApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaThinking
modelstring
streamboolean
temperaturenumber double nullable
max_tokensinteger nullable
top_pnumber double nullable
frequency_penaltynumber double nullable
presence_penaltynumber double nullable
reasoning_effortstring nullable
verbositystring nullable
seedinteger nullable
variablesApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaVariables
fallback_modelsstring[] nullable
load_balance_modelsApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaLoadBalanceModelsItems[] nullable
toolsApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaToolsItems[] nullable
response_formatApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaResponseFormat
json_schemaApiPromptsPromptIdVersionsVersionGetResponsesContentApplicationJsonSchemaJsonSchema
is_enforcing_response_formatboolean
readonlyboolean
is_deployedboolean
created_atstring date-time
updated_atstring date-time