ackDB
Create a dashboard
Create a dashboard. EVERY panel is validated: the pinned segment exists AND is visible to the caller, it is a BASE segment (derived segments are refused), the spec compiles against the grain's catalog, sql specs and artifact queries are execution-probed on the read-only role, and the artifact HTML is scanned for credentials. A 400 lists every failure at once under error.details.errors[] = { panel, message }. Ownership is stamped from the caller's JWT (null for a service call = org-visible), never from the body.
post/api/v1/ackdb/observe/dashboards
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Request body
Example request
{
"panels": [
{
"spec": {
"metric": {
"eventType": "invoice.paid"
}
},
"degradedReason": "segment deleted"
}
]
}Response
The created dashboard, with the caller's effective access.
Example response
{
"data": {
"panels": [
{
"spec": {
"metric": {
"eventType": "invoice.paid"
}
},
"degradedReason": "segment deleted"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.