Dashboards
The Dashboards routes of Amiril's HTTP API that an OAuth access token can call, with their parameters, request bodies and responses.
Shared, auto-built, and your own private dashboards, most recently updated first, each with the person who made it.
Any access token can call this, read-only or full.
accessTokenAuthorizationBearer <JWT>An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.
Dashboards
application/json- response
dashboards*array<>curl -X GET 'https://api.amiril.ai/api/dashboards'{ "dashboards": [ { "id": "string", "workspace": "string", "name": "string", "scope": { "kind": "workspace" }, "origin": "user", "visibility": "private", "ownedByViewer": true, "widgets": [ { "id": "string", "type": "constellation", "title": "string", "filterState": { "grain": "runs", "system": "string", "agents": [ "string" ], "window": { "kind": "preset", "preset": "1h" }, "tools": [ "string" ], "detectionType": "all", "rank": "strongest", "minScore": 0, "extremes": true, "stoodOut": false, "sharedIdValue": "string", "cluster": null, "trackedFieldFilters": [ { "fieldId": "string", "negated": false, "value": "string" } ], "split": true, "reviewed": "hide", "sort": { "column": "score", "dir": "asc" }, "cols": [ "string" ] }, "displaySpec": { "rows": 3, "chartMode": "area", "windowOverride": "1h", "groupByField": "string", "constellation": { "preset": "string", "levels": { "property1": "off", "property2": "off" }, "chain": [ "centroidSeparation" ], "strengths": { "property1": 0, "property2": 0 }, "heightMode": "score", "anomalyCap": 10, "normalCap": 1000 } }, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 } } ], "createdAt": "string", "updatedAt": "string", "owner": { "id": "string", "name": "string", "email": "string" } } ]}Scope is set at creation and immutable. Starts with no widgets, private to you.
Needs a full access token. A read-only token is refused.
accessTokenAuthorizationBearer <JWT>An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.
application/json- body
name*string1 <= length <= 80scope*||The created dashboard
application/json- response
id*stringworkspace*stringname*string|nullscope*||origin*string"user""auto"visibility*string"private""shared"ownedByViewer*booleanwidgets*array<>createdAt*stringupdatedAt*stringcurl -X POST 'https://api.amiril.ai/api/dashboards' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "scope": { "kind": "workspace" }}'{ "id": "string", "workspace": "string", "name": "string", "scope": { "kind": "workspace" }, "origin": "user", "visibility": "private", "ownedByViewer": true, "widgets": [ { "id": "string", "type": "constellation", "title": "string", "filterState": { "grain": "runs", "system": "string", "agents": [ "string" ], "window": { "kind": "preset", "preset": "1h" }, "tools": [ "string" ], "detectionType": "all", "rank": "strongest", "minScore": 0, "extremes": true, "stoodOut": false, "sharedIdValue": "string", "cluster": null, "trackedFieldFilters": [ { "fieldId": "string", "negated": false, "value": "string" } ], "split": true, "reviewed": "hide", "sort": { "column": "score", "dir": "asc" }, "cols": [ "string" ] }, "displaySpec": { "rows": 3, "chartMode": "area", "windowOverride": "1h", "groupByField": "string", "constellation": { "preset": "string", "levels": { "property1": "off", "property2": "off" }, "chain": [ "centroidSeparation" ], "strengths": { "property1": 0, "property2": 0 }, "heightMode": "score", "anomalyCap": 10, "normalCap": 1000 } }, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 } } ], "createdAt": "string", "updatedAt": "string"}Any access token can call this, read-only or full.
accessTokenAuthorizationBearer <JWT>An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.
dashboardId*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidThe dashboard
application/json- response
id*stringworkspace*stringname*string|nullscope*||origin*string"user""auto"visibility*string"private""shared"ownedByViewer*booleanwidgets*array<>createdAt*stringupdatedAt*stringcurl -X GET 'https://api.amiril.ai/api/dashboards/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "string", "workspace": "string", "name": "string", "scope": { "kind": "workspace" }, "origin": "user", "visibility": "private", "ownedByViewer": true, "widgets": [ { "id": "string", "type": "constellation", "title": "string", "filterState": { "grain": "runs", "system": "string", "agents": [ "string" ], "window": { "kind": "preset", "preset": "1h" }, "tools": [ "string" ], "detectionType": "all", "rank": "strongest", "minScore": 0, "extremes": true, "stoodOut": false, "sharedIdValue": "string", "cluster": null, "trackedFieldFilters": [ { "fieldId": "string", "negated": false, "value": "string" } ], "split": true, "reviewed": "hide", "sort": { "column": "score", "dir": "asc" }, "cols": [ "string" ] }, "displaySpec": { "rows": 3, "chartMode": "area", "windowOverride": "1h", "groupByField": "string", "constellation": { "preset": "string", "levels": { "property1": "off", "property2": "off" }, "chain": [ "centroidSeparation" ], "strengths": { "property1": 0, "property2": 0 }, "heightMode": "score", "anomalyCap": 10, "normalCap": 1000 } }, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 } } ], "createdAt": "string", "updatedAt": "string"}An auto-built dashboard is rebuilt while its agent or Agent System exists.
Needs a full access token. A read-only token is refused.
accessTokenAuthorizationBearer <JWT>An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.
dashboardId*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidDeleted
application/json- response
ok*booleancurl -X DELETE 'https://api.amiril.ai/api/dashboards/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "ok": true}Optimistic concurrency: a stale baseUpdatedAt is rejected with a version conflict unless force is set.
Needs a full access token. A read-only token is refused.
accessTokenAuthorizationBearer <JWT>An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.
dashboardId*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json- body
name?|nullwidgets*array<>items <= 60baseUpdatedAt*stringforce?booleanThe saved dashboard
application/json- response
id*stringworkspace*stringname*string|nullscope*||origin*string"user""auto"visibility*string"private""shared"ownedByViewer*booleanwidgets*array<>createdAt*stringupdatedAt*stringcurl -X PUT 'https://api.amiril.ai/api/dashboards/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "widgets": [ { "id": "string", "type": "constellation", "title": "string", "filterState": { "grain": "runs", "system": "string", "agents": [ "string" ], "window": { "kind": "preset", "preset": "1h" }, "tools": [ "string" ], "detectionType": "all", "rank": "strongest", "minScore": 0, "extremes": true, "sharedIdValue": "string", "trackedFieldFilters": [ { "fieldId": "string", "negated": false, "value": "string" } ], "split": true, "reviewed": "hide", "sort": { "column": "score", "dir": "asc" }, "cols": [ "string" ] }, "displaySpec": {}, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 } } ], "baseUpdatedAt": "string"}'{ "id": "string", "workspace": "string", "name": "string", "scope": { "kind": "workspace" }, "origin": "user", "visibility": "private", "ownedByViewer": true, "widgets": [ { "id": "string", "type": "constellation", "title": "string", "filterState": { "grain": "runs", "system": "string", "agents": [ "string" ], "window": { "kind": "preset", "preset": "1h" }, "tools": [ "string" ], "detectionType": "all", "rank": "strongest", "minScore": 0, "extremes": true, "stoodOut": false, "sharedIdValue": "string", "cluster": null, "trackedFieldFilters": [ { "fieldId": "string", "negated": false, "value": "string" } ], "split": true, "reviewed": "hide", "sort": { "column": "score", "dir": "asc" }, "cols": [ "string" ] }, "displaySpec": { "rows": 3, "chartMode": "area", "windowOverride": "1h", "groupByField": "string", "constellation": { "preset": "string", "levels": { "property1": "off", "property2": "off" }, "chain": [ "centroidSeparation" ], "strengths": { "property1": 0, "property2": 0 }, "heightMode": "score", "anomalyCap": 10, "normalCap": 1000 } }, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 } } ], "createdAt": "string", "updatedAt": "string"}