Skip to Content
Docs

Return ``{success, chat_prompt_id, chat_prompt_set}`` for the caller

GET
/api/user/preferences

The caller's preferences: {success, chat_prompt_id, chat_prompt_set}. chat_prompt_id is default when none was set or the stored prompt was deleted or is no longer shared with the caller. chat_prompt_set is true once a chat prompt was ever stored, default included, even when it now reads as default.

Personal access token scope: prompts:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/user/preferences'
Example Response200
Empty