Update a dashboard
Update a dashboard. Send only the keys you want to change. To change the dashboard itself, send the full spec with the revision you read: the write is accepted only while it still matches, and returns 409 otherwise. Settings, icon, sharing, filters and the default flag can be changed without a spec.
Viewer settings
settings controls what viewers of the dashboard's share link see on each media page. Each section (fields, feedback, labels, comments, profiles) is saved on its own: the section you send replaces the stored one in full, and a section you leave out keeps its stored value. Read the dashboard first and resend every key of the section you change.
Labels and comments are off until you turn them on. With labels.mode set to apply or comments.mode set to reply, a viewer picks one of the dashboard's feedback submitter names (feedback.submitters, even while feedback itself is off), or types another name when feedback.allowOtherSubmitter is on, and writes under that name. With no names and other names off, nobody can write. The link has no sign-in, so these writes are not authenticated: the link holder chooses the name and Speak AI records the entry under it without checking who sent it, the same as feedback. Only the dashboard's feedback names are accepted, plus any other name when feedback.allowOtherSubmitter is on. Speak AI accepts this risk by design and limits it: every entry written through the link is shown as made via the dashboard, a name can change or delete only the entries written under it from that dashboard, a name that is not allowed is refused on every write, and revoking the link stops every write at once. List only the names you are happy for link holders to write as.
Errors
- 400 when a field fails validation, the spec is invalid, the payload is too large, or a label group is not an active group of your company ("Choose active label groups from this workspace."). Nothing is saved.
- 404 when the dashboard does not exist or you cannot edit it.
- 409 when the spec revision is stale: "Dashboard was modified by another update. Reload and try again."
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/dashboards/{dashboardId}
- Auth: API key in header x-speakai-key and API key in header x-access-token
Path parameters
Id of the dashboard, as returned when it was created.
Request body
Response
Success