APIDashboards
Create a dashboard
Save a new dashboard from one MDX document (DashboardMeta, layout, and inline Log Query Spec v2 artifacts) plus any static files it references by path. Generate the id yourself and reuse it on retries: an identical retry returns the original result. The response's editBase goes into DashboardMeta before the next update.
POST https://api.sazabi.com/v1/dashboards
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/dashboards" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "input": { "source": "string" } }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": -9007199254740991, "definitionHash": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "editBase": { "organizationId": "string", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "dashboardId": "c82e502a-6fd0-41b6-83a8-d9fffe188952", "revision": -9007199254740991 }}