Skip to content

Hide a suggestion

POST
/me/insights/suggestions/{key}/dismiss
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.

key
required
string
<= 200 characters /^[a-z_]+(:[A-Za-z0-9_.:\-]+)?$/

A suggestion’s key: its kind, then : and what it is about, e.g. auto_model:mistral-large-2512 or web_search.

Media typeapplication/json
object
all

Hide every suggestion of this kind, not only this one.

boolean

Hidden

The request is invalid; errors lists what’s wrong.

Media typeapplication/problem+json

RFC 9457 problem details.

object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
quota

For quota-exceeded, the window that is used up.

object
window
required
string
Allowed values: five_hours week month
percent_used
required
number
<= 100
resets_at
required

Null for a rolling window that hasn’t started.

string | null format: date-time
limited_by
required

organization when the organization’s budget is closer to running out than the member’s own limit.

string
Allowed values: personal organization
request
One of:

A request as its member sees it, where they asked.

object
id
required
string
status
required
string
Allowed values: pending approved declined withdrawn
created_at
required
string format: date-time
decided_at
required
string | null format: date-time
note
required

What the admin who decided wrote back.

string | null
errors

Field-level problems (400 only).

Array<object>
object
field
required

JSON pointer into the request body.

string
message
required
string

Example

{
"type": "https://docs.asklucy.eu/errors/answer-in-progress",
"quota": {
"window": "five_hours",
"limited_by": "personal",
"request": {
"status": "pending"
}
}
}
X-Request-Id
string

Unique per request; quote it to support.

Missing, expired or invalid token.

Media typeapplication/problem+json

RFC 9457 problem details.

object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
quota

For quota-exceeded, the window that is used up.

object
window
required
string
Allowed values: five_hours week month
percent_used
required
number
<= 100
resets_at
required

Null for a rolling window that hasn’t started.

string | null format: date-time
limited_by
required

organization when the organization’s budget is closer to running out than the member’s own limit.

string
Allowed values: personal organization
request
One of:

A request as its member sees it, where they asked.

object
id
required
string
status
required
string
Allowed values: pending approved declined withdrawn
created_at
required
string format: date-time
decided_at
required
string | null format: date-time
note
required

What the admin who decided wrote back.

string | null
errors

Field-level problems (400 only).

Array<object>
object
field
required

JSON pointer into the request body.

string
message
required
string

Example

{
"type": "https://docs.asklucy.eu/errors/answer-in-progress",
"quota": {
"window": "five_hours",
"limited_by": "personal",
"request": {
"status": "pending"
}
}
}
X-Request-Id
string

Unique per request; quote it to support.

POST/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
}'

Try it

Nothing is sent without a token.