Prompt Management
Update Prompt
Changed onUpdate an existing prompt
👉 Prompt docs
Example Request:
curl -X PUT "http://localhost:4000/prompts/my_prompt_id" \
-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_directory": "/path/to/prompts"
},
"prompt_info": {
"prompt_type": "config"
}
}
}'
put/prompts/{prompt_id}
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/prompts/{prompt_id}
- AuthAPI key in header x-litellm-api-key
Path parameters
prompt_idstring required
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