quivr/docs/developers/useQuivr/brain/set_default_brain.mdx

23 lines
576 B
Plaintext
Raw Normal View History

---
sidebar_position: 3
2023-11-05 02:24:43 +03:00
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
```