quick-filters

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-quick-filters"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/6feadeeb-2010-45dd-a551-4f5cd956b492/social-card.svg?v=3e7ae33eec8b" alt="quick-filters" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/quick-filtersScope insight:read

Parameters

project_idstringpathrequired
surfacestringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/quick-filters"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Page of QuickFilter, by surface then name
Example
{
  "data": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "filters": {},
      "id": "string",
      "name": "string",
      "surface": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataQuickFilter[]required
Show child parameters
created_atstringrequired
filtersobjectrequired
A property filter group (PropertyGroup), applied on top of the page's own filters.
idstringrequired
namestringrequired
surfacestringrequired
dashboard | insight | web
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/quick-filtersScope insight:write

Parameters

project_idstringpathrequired

Request body

application/json
filtersrequired
A PropertyGroup (dashboard, insight) or {range?, dimension?} (web).
namestringrequired
surfacestringrequired
dashboard | insight | web
{
  "filters": {},
  "name": "string",
  "surface": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/quick-filters" \
  -H "Content-Type: application/json" \
  -d '{"filters":{},"name":"string","surface":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "filters": {},
  "id": "string",
  "name": "string",
  "surface": "string"
}
Schema
created_atstringrequired
filtersobjectrequired
A property filter group (PropertyGroup), applied on top of the page's own filters.
idstringrequired
namestringrequired
surfacestringrequired
dashboard | insight | web
400
403
404
409
DELETEhttps://lucidace.com/v1/projects/{project_id}/quick-filters/{id}Scope insight:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/quick-filters/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/projects/{project_id}/quick-filters/{id}Scope insight:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
filters
namestring
{
  "filters": {},
  "name": "string"
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/quick-filters/{id}" \
  -H "Content-Type: application/json" \
  -d '{"filters":{},"name":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409
Updated