mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-16 18:52:12 +03:00
33eec50a09
moved to mintlify
23 lines
576 B
Plaintext
23 lines
576 B
Plaintext
---
|
|
sidebar_position: 3
|
|
title: Set a Default Brain
|
|
---
|
|
|
|
To set a brain as the default for the current user, you need to make a POST request to the following endpoint:
|
|
|
|
Replace `{brain_id}` with the unique identifier of the brain you want to set as the default.
|
|
|
|
### Request Parameters
|
|
|
|
You should include the following parameters in the request:
|
|
|
|
- **brain_id**: The unique identifier (UUID) of the brain you want to set as the default.
|
|
|
|
### Example Request
|
|
|
|
```http
|
|
POST /brains/{brain_id}/default HTTP/1.1
|
|
Host: your-api-host.com
|
|
Authorization: Bearer YOUR_ACCESS_TOKEN
|
|
```
|