Search dashboard folders
POST/perses-public/api/v1/projects/search
Searches dashboards and returns them grouped by folder.
The search term applies to dashboards, not to folders: results lists every folder in the account whatever the term is, and only the nested dashboards arrays are filtered and paginated. total counts the matching dashboards, not the folders.
filter.searchTerm is matched as a case-insensitive substring of each dashboard's doc.metadata.name. filter.createdBy narrows the results to dashboards created by the given users; get those ids from Get dashboard creators.
For a flat list of dashboards without the folder grouping, use Search dashboards.
Request
- application/json
Body
filter object
Case-insensitive substring matched against each dashboard's doc.metadata.name. An empty or omitted term matches every dashboard.
Numeric user ids from Get dashboard creators. Applied by Search dashboard folders; ignored by Search dashboards.
pagination object
1-based page number. Defaults to 1.
Number of dashboards per page. Defaults to 20.
Responses
- 200
- 401
Every folder, carrying one page of matching dashboards.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
results object[]
project object
A dashboard folder. Carries the Perses project document in doc, wrapped in the fields Logz.io stores alongside it.
The folder's identifier, and the only way to address it.
The folder's name. Set from metadata.name when the folder is created, and replaced by spec.display.name on an update or by newProjectName on a rename.
doc object
A Perses project document. This is the request body for creating and updating a dashboard folder.
Possible values: [Project]
metadata objectrequired
The folder's identity. Required, must be non-empty, and has to be unique within the account.
spec objectrequired
display objectrequired
How the folder is labelled in the app. Required on both create and update.
The name shown in the app. Required, and must be non-empty. On an update it also becomes the folder's name.
Internal handle for the account that owns the folder.
Numeric id of the principal that created the folder. For a folder created through this API this is the id of the API token, not of a user.
Returned as true or false by create, update and rename, and as 1 or 0 by the list, get and search endpoints.
Null unless the folder was deleted.
Null unless the folder was deleted.
dashboards object[]
The folder's dashboards. Empty in Get all dashboard folders unless withDashboards is present, and limited to the matching dashboards in Search dashboard folders.
The dashboard's stable identifier. It survives updates and moves, and every endpoint addresses a dashboard by this value. This is the one to store.
Identifier of the version row holding the current revision. A new value is issued on every update, and it can't be used to address the dashboard. A dashboard that has never been updated has the same value here as in uid, which makes the two easy to confuse.
Internal marker for the dashboard, equal to uid for dashboards created through this API. The name shown in the app is doc.spec.display.name, and the name that search matches is doc.metadata.name.
The id of the folder holding the dashboard.
doc object
A Perses dashboard document. Only metadata.name is validated by Logz.io; spec is stored as sent and has to be a valid Perses dashboard spec for the dashboard to render in the app.
Possible values: [Dashboard]
metadata objectrequired
The dashboard's identity, and the only field both search endpoints match on. Required on create and update.
Set by the server from the folder in the request path. Any value sent here is replaced.
spec objectrequired
Extra properties are allowed. The Perses dashboard spec. See the Perses dashboard specification for the panel, layout and query plugin shapes.
display object
How the dashboard is labelled in the app.
Default time range, as a duration string.
Auto-refresh interval, as a duration string.
Panel definitions, keyed by panel name.
Grid layouts placing the panels.
Datasources scoped to this dashboard, keyed by name.
Revision number. Starts at 1 and increments on every update.
Numeric id of the principal that created the dashboard. For a dashboard created through this API this is the id of the API token, not of a user.
Numeric id of the principal that last updated the dashboard.
When this version was written. An update stamps a new value, so this is not the creation time of the original dashboard.
Whether the dashboard was made private in the Logz.io app. Privacy can't be changed through this API, and dashboards created through it are never private.
Null unless the dashboard was deleted.
Null unless the dashboard was deleted.
Number of matching dashboards before pagination. This counts dashboards, not folders.
pagination object
1-based page number. Defaults to 1.
Number of dashboards per page. Defaults to 20.
{
"results": [
{
"project": {
"id": "0b9f6e2a-3c1d-4e8f-9a7b-1c2d3e4f5a6b",
"name": "team-dashboards",
"doc": {
"kind": "Project",
"metadata": {
"name": "team-dashboards"
},
"spec": {
"display": {
"name": "Team Dashboards",
"description": "Dashboards owned by the platform team"
}
}
},
"entityId": 11111,
"createdBy": 22222,
"updatedBy": 22222,
"createdAt": "2026-08-14T09:12:31.000Z",
"updatedAt": "2026-08-14T09:12:31.000Z",
"isDeleted": false,
"deletedAt": "2026-09-15T09:37:20.028Z",
"deletedBy": 0
},
"dashboards": [
{
"uid": "3fa2c4b1-6d5e-4a90-8b21-7c4e5f6a8b90",
"id": "7d1e5a90-2b44-4c18-9f03-5a6b7c8d9e01",
"name": "3fa2c4b1-6d5e-4a90-8b21-7c4e5f6a8b90",
"projectId": "0b9f6e2a-3c1d-4e8f-9a7b-1c2d3e4f5a6b",
"doc": {
"kind": "Dashboard",
"metadata": {
"name": "cpu-usage",
"project": "string",
"tags": [
"infra"
]
},
"spec": {
"display": {
"name": "CPU usage",
"description": "string"
},
"duration": "1h",
"refreshInterval": "30s",
"variables": [
{}
],
"panels": {},
"layouts": [
{}
],
"datasources": {}
}
},
"version": 2,
"createdBy": 22222,
"updatedBy": 22222,
"createdAt": "2026-08-14T09:12:31.000Z",
"updatedAt": "2026-08-15T10:03:02.000Z",
"isPrivate": false,
"isDeleted": false,
"deletedAt": "2026-09-15T09:37:20.028Z",
"deletedBy": 0
}
]
}
],
"total": 7,
"pagination": {
"pageNumber": 1,
"pageSize": 20
}
}
The API token is missing or invalid.
- application/json
- Schema
- Example (from schema)
Schema
Quote this when contacting support about a failed request.
Null for most dashboard errors.
Extra context for the error, when there is any.
{
"statusCode": 400,
"message": "Dashboard name is required",
"requestId": "string",
"errorCode": "string",
"parameters": {}
}