---
title: "Get Favorites"
method: GET
path: "/api/favorites"
tags: ["project"]
---

# Get Favorites

`GET /api/favorites`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/favorites`
- Auth: none declared

Get all favorited queries and charts for the current user.

Without ``contextId`` the listing is org-wide: every favorite whose query
lives on a database the user can access (same access rule as /queries).

## Query parameters

- `contextId` string, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
