Try Bifrost Enterprise free for 14 days. Explore now
A valid request URL is required to generate request examples{
"prompt": {
"id": "<string>",
"name": "<string>",
"folder_id": "<string>",
"folder": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"prompts_count": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"versions": [
{
"id": 123,
"prompt_id": "<string>",
"version_number": 123,
"commit_message": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"is_latest": true,
"created_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
],
"sessions": [
{
"id": 123,
"prompt_id": "<string>",
"version_id": 123,
"name": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
],
"latest_version": {
"id": 123,
"prompt_id": "<string>",
"version_number": 123,
"commit_message": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"is_latest": true,
"created_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
}
}Updates a prompt’s name or folder.
A valid request URL is required to generate request examples{
"prompt": {
"id": "<string>",
"name": "<string>",
"folder_id": "<string>",
"folder": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"prompts_count": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"versions": [
{
"id": 123,
"prompt_id": "<string>",
"version_number": 123,
"commit_message": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"is_latest": true,
"created_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
],
"sessions": [
{
"id": 123,
"prompt_id": "<string>",
"version_id": 123,
"name": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
],
"latest_version": {
"id": 123,
"prompt_id": "<string>",
"version_number": 123,
"commit_message": "<string>",
"model_params": {},
"provider": "<string>",
"model": "<string>",
"is_latest": true,
"created_at": "2023-11-07T05:31:56Z",
"messages": [
{
"id": 123,
"order_index": 123,
"message": {}
}
]
}
}
}Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Prompt updated
Prompt
Show child attributes
Was this page helpful?