latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
Prompt Management
List Prompts
List the prompts that are available on the proxy server
Example Request:
curl -X GET "http://localhost:4000/prompts/list" -H "Authorization: Bearer <your_api_key>"
Example Response:
{
"prompts": [
{
"prompt_id": "my_prompt_id",
"litellm_params": {
"prompt_id": "my_prompt_id",
"prompt_integration": "dotprompt",
"prompt_directory": "/path/to/prompts"
},
"prompt_info": {
"prompt_type": "config"
},
"created_at": "2023-11-09T12:34:56.789Z",
"updated_at": "2023-11-09T12:34:56.789Z"
}
]
}
get/prompts/list
Query parameters
environmentstring nullable
Response
Successful Response