latestOpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

Prompt Management

List Prompts

List the prompts that are available on the proxy server

👉 Prompt docs

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

Response

Successful Response