Prompt Management
Create Prompt
Create a new prompt
Example Request:
curl -X POST "http://localhost:4000/prompts" \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"prompt_id": "my_prompt",
"litellm_params": {
"prompt_id": "my_prompt",
"prompt_integration": "dotprompt",
"prompt_data": {"content": "This is a prompt", "metadata": {"model": "gpt-4"}}
},
"prompt_info": {
"prompt_type": "config"
}
}'
post/prompts
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/prompts
- Auth: API key in header x-litellm-api-key
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.