Prompt Management
Create Prompt
Changed onCreate 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 URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/prompts
- AuthAPI key in header x-litellm-api-key
Request body
Response
Successful Response
unknown required
Changes
- info
api tag
Prompt Managementadded - info
api tag
promptsremoved
- info
- info
api tag
promptsadded - info
api tag
Prompt Managementremoved
- info