Error
A valid request URL is required to generate request examples{
"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": {}
}
]
}
]
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}Prompt Repository
List prompt sessions
Returns all sessions for a prompt.
GET
/
api
/
prompt-repo
/
prompts
/
{id}
/
sessions
Error
A valid request URL is required to generate request examples{
"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": {}
}
]
}
]
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}Authorizations
ManagementBearerAuthBasicAuth
Management API authentication for /api/* endpoints. Use the Authorization header
with Bearer <token>, where <token> is one of:
- a Bifrost management API key,
- a dashboard session token issued by
POST /api/session/login, - base64 of
<admin-username>:<admin-password>(legacy equivalent ofBasicAuth).
Virtual keys (sk-bf-*) and the x-api-key header are not accepted on management APIs -
the sole exception is GET /api/governance/virtual-keys/quota, which is virtual-key-only.
Path Parameters
Prompt ID
Response
Successful response
Show child attributes
Show child attributes
Was this page helpful?

