Governance
Change own password
PUT
/api/users/me/passwordAllows any authenticated user to change their own password. Requires the current password for verification. All sessions are invalidated after password change.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "http://localhost:8080/api/users/me/password" \ -H "Content-Type: application/json" \ -d '{ "current_password": "string", "new_password": "stringst" }'{
"message": "string"
}Empty
Empty
{
"event_id": "string",
"type": "string",
"is_bifrost_error": true,
"status_code": 0,
"error": {
"type": "string",
"code": "string",
"message": "string",
"param": "string",
"event_id": "string"
},
"extra_fields": {
"provider": "openai",
"model_requested": "string",
"request_type": "string"
}
}Upload file (Gemini format) POST
Uploads a file using Google Gemini API format. This is a multipart upload with two parts: - "metadata": JSON object containing file metadata - "file": Binary file content Note: Direct file content download is not supported by Gemini Files API. Use the file.uri field from the response to access uploaded files.
Create customer POST
Creates a new customer.