Analytics boards
Create an analysis board
POST
Creates an active board with no insights. Active board names are unique case-insensitively; archived boards do not reserve their names. Use Idempotency-Key for safe retries. A duplicate active name returns the stable 409 analysis_board_name_taken response without leaving a partial write or degrading idempotency persistence into a server error.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
Idempotency-Key*stringRequired. Reuse the same key to retry this write safely. Retries and idempotency.
Match
^[A-Za-z0-9!#$%&'*+.^_`|~-]+$Length
1 <= length <= 255application/json- body
name*stringTrimmed display name. Active names are unique case-insensitively.
Length
1 <= length <= 120Analysis board created.
application/json- response
A complete analysis board. Insights are always present and ordered by position, then ID.
id*stringFormat
uuidname*stringLength
1 <= length <= 120archived_at*|Format
date-timecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timeinsights*array<>curl -X POST 'https://api.kejue.co/v1/analysis/boards' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "insights": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "board_id": "75e8c400-2dbc-43a3-9af4-ff9e6c099385", "name": "string", "chart_type": "bar", "time_range": "24h", "bucket": "hour", "group_by": "none", "config": { "queries": [ { "name": "string", "group_by": { "source": "call", "column": "string" }, "extraction_object_id": "dd58f28a-20cf-4d0e-af7a-6fd115475937", "column": "string", "operation": "count", "filters": [ { "source": "call", "column": "string", "value": "string", "op": "is_null" } ], "agent_ids": [ "06fc211d-6a87-43c8-9a41-e3b40320420d" ], "source": "extraction" } ], "formula": "string", "group_by_2": "time", "range_from": "2019-08-24T14:15:22Z", "range_to": "2019-08-24T14:15:22Z", "display": { "series_colors": { "property1": "string", "property2": "string" }, "legend": true, "value_format": "number", "stack_mode": "none", "orientation": "vertical", "goal": 0, "lower_is_better": true } }, "position": 0, "layout": { "x": 0, "y": 0, "w": 1, "h": 1 }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}