curl --request GET \
--url https://api.example.com/v1/prompts/{prompt_identifier}/versions{
"data": [
{
"model_provider": "OPENAI",
"model_name": "<string>",
"template": {
"type": "<string>",
"messages": [
{
"role": "user",
"content": "<string>"
}
]
},
"template_type": "STR",
"template_format": "MUSTACHE",
"invocation_parameters": {
"type": "<string>",
"openai": {
"temperature": 123,
"max_tokens": 123,
"max_completion_tokens": 123,
"frequency_penalty": 123,
"presence_penalty": 123,
"top_p": 123,
"seed": 123,
"stop": [
"<string>"
],
"reasoning_effort": "none",
"extra_body": {}
}
},
"id": "<string>",
"description": "<string>",
"tools": {
"type": "<string>",
"tools": [
{
"type": "<string>",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
}
],
"tool_choice": {
"type": "<string>"
},
"disable_parallel_tool_calls": true
},
"response_format": {
"type": "<string>",
"json_schema": {
"name": "<string>",
"description": "<string>",
"schema": {},
"strict": true
}
}
}
],
"next_cursor": "<string>"
}Retrieve all versions of a specific prompt with pagination support. Each prompt can have multiple versions with different configurations.
curl --request GET \
--url https://api.example.com/v1/prompts/{prompt_identifier}/versions{
"data": [
{
"model_provider": "OPENAI",
"model_name": "<string>",
"template": {
"type": "<string>",
"messages": [
{
"role": "user",
"content": "<string>"
}
]
},
"template_type": "STR",
"template_format": "MUSTACHE",
"invocation_parameters": {
"type": "<string>",
"openai": {
"temperature": 123,
"max_tokens": 123,
"max_completion_tokens": 123,
"frequency_penalty": 123,
"presence_penalty": 123,
"top_p": 123,
"seed": 123,
"stop": [
"<string>"
],
"reasoning_effort": "none",
"extra_body": {}
}
},
"id": "<string>",
"description": "<string>",
"tools": {
"type": "<string>",
"tools": [
{
"type": "<string>",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
}
],
"tool_choice": {
"type": "<string>"
},
"disable_parallel_tool_calls": true
},
"response_format": {
"type": "<string>",
"json_schema": {
"name": "<string>",
"description": "<string>",
"schema": {},
"strict": true
}
}
}
],
"next_cursor": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The identifier of the prompt, i.e. name or ID.
Cursor for pagination (base64-encoded promptVersion ID)
The max number of prompt versions to return at a time.
Was this page helpful?