quivr/docs/developers/useQuivr/brain/set_default_brain.mdx
Stan Girard 33eec50a09
docs: ✏️ mintlify (#1917)
moved to mintlify
2023-12-24 17:49:27 +01:00

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
```