Hide a suggestion
const url = 'https://api.asklucy.eu/v1/me/insights/suggestions/example/dismiss';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"all":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.asklucy.eu/v1/me/insights/suggestions/example/dismiss \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "all": false }'Hides this suggestion for good. With {"all": true}, hides every
suggestion of its kind (the key’s part before the first :) until
you unmute it (unmuteInsightSuggestions). Works for the keys of
Lucy Insights’ suggestions too.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A suggestion’s key: its kind, then : and what it is about, e.g.
auto_model:mistral-large-2512 or web_search.
Request Body
Section titled “Request Body”object
Hide every suggestion of this kind, not only this one.
Responses
Section titled “Responses”Hidden
The request is invalid; errors lists what’s wrong.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
Missing, expired or invalid token.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
/me/insights/suggestions/{key}/dismiss curl -X POST "https://api.asklucy.eu/v1/me/insights/suggestions/string/dismiss" \
-H "Authorization: Bearer $LUCY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"all": false
}'