Youniton Docs

Reports & dashboards

Saved reports, report runs and schedules, and the dashboard.

#The member's home — counts, My work, the pinned panel and Needs attention, all under the member's access

GET/dashboard
Session (app only)F-WSP-05

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The Dashboard read model.application/json
Errors404429503One problem shape

#The full Needs attention list — over-estimate and approval-pending tickets in the member's scope

GET/dashboard/needs-attention
Session (app only)F-WSP-07

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 25 with the total.application/json
Errors400404One problem shape

#The caller's own deliveries, newest first

GET/me/report-deliveries
Session (app only)F-RPT-05

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 25 deliveries with their files while they live.application/json
Errors400404One problem shape

#One run of the caller — state, columns, totals and notices

GET/report-runs/{reportRunId}
Session (app only)F-RPT-02

Path parameters

reportRunIdrequiredstring (uuid)

A run's id; another reader's run and a missing one are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The run.application/json
Errors404409One problem shape

#Download a finished run of the caller as CSV, written from the stored result

POST/report-runs/{reportRunId}/export
Session (app only)F-RPT-04

Path parameters

reportRunIdrequiredstring (uuid)

A run's id; another reader's run and a missing one are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The CSV file (Content-Disposition attachment), UTF-8 with a byte-order mark; the notices in X-Kanso-Report-Notices.text/csv
Errors403404409429503One problem shape

#The rows of a finished run in the result's order, up to 100 a page

GET/report-runs/{reportRunId}/rows
Session (app only)F-RPT-02

Path parameters

reportRunIdrequiredstring (uuid)

A run's id; another reader's run and a missing one are one 404.

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

page[size]integer

Default: 100 · Min 1 · Max 100

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of rows.application/json
Errors400404409One problem shape

#One schedule

GET/report-schedules/{reportScheduleId}
Session (app only)F-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The schedule (ETag is its version).application/json
Errors403404One problem shape

#Change the cadence, the period or the recipients

PATCH/report-schedules/{reportScheduleId}
Session (app only)If-MatchF-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The schedule.application/json
Errors403404412422428One problem shape

#Delete a schedule and its delivery records

DELETE/report-schedules/{reportScheduleId}
Session (app only)If-MatchF-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Deleted.

No body.

Errors403404412428One problem shape

#The deliveries of a schedule with their states (its editors), newest first

GET/report-schedules/{reportScheduleId}/deliveries
Session (app only)F-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 50 deliveries; another recipient's file id is never included.application/json
Errors400403404One problem shape

#Pause a schedule

POST/report-schedules/{reportScheduleId}/pause
Session (app only)Idempotency-KeyIf-MatchF-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The paused schedule.application/json
Errors403404412428One problem shape

#Resume a paused or suspended schedule when its cause is gone

POST/report-schedules/{reportScheduleId}/resume
Session (app only)Idempotency-KeyIf-MatchF-RPT-05

Path parameters

reportScheduleIdrequiredstring (uuid)

A schedule's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The active schedule with its next occurrence.application/json
Errors403404409412428One problem shape

#The fact-source catalogue with the reader's availability per source and measure

GET/reports/catalogue
Session (app only)F-RPT-01

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The catalogue version and its sources.application/json
Errors403404One problem shape

#The headline figure of each catalogue source that the reader may use (the Reports landing's catalogue panels)

GET/reports/catalogue/summary
Session (app only)F-RPT-01

XM-955 (G-RPT-01): per source, its headline measure in the current period and in the period before (the change in whole per cent) and up to 12 weekly points, each computed as the reader's own synchronous run (the same visibility, time level and money rules); only totals leave; nothing is stored. A source the reader cannot use is left out; a withheld total is absent. The estimates source is a snapshot: logged of estimate in per cent, no previous period and no points.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The figures in the catalogue's order.application/json
Errors403404503One problem shape

#The values of an entity dimension that the reader's own facts hold for the builder's definition (the Filters bar)

POST/reports/dimension-values
Session (app only)F-RPT-01

XM-1269 (G-RPT-05, G-RPT-09): the builder's definition (its source, period and other filters) planned and computed in the reader's own context with the one dimension, exactly as a synchronous run of the reader; only labelled values leave (a hidden value, a small group or a former member is never named); nothing is stored. q keeps the labels that hold the text. At most 50, in label order; capped when more matched.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The values, each its id (the filter's value) and its label.application/json
Errors400403404413422503One problem shape

#The effective limits of the report engine and the usage the caller may know

GET/reports/limits
Session (app only)F-RPT-06

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The limits; the tenant counts are zero for a caller who is not an Admin.application/json
Errors403404One problem shape

#Run a definition in the caller's own access — the result at once, or an operation for a large run

POST/reports/runs
Session (app only)Idempotency-KeyF-RPT-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The finished run (Location /api/v1/report-runs/{id}); its rows are read page by page.application/json
202A large run continues in the background; the run in state running with its operationId (Location names the operation).application/json
Errors400403404409422429503One problem shape

#The logged time of the current and the previous timesheet week as the reader's own worklogs report (the Reports sidebar)

GET/reports/this-week
Session (app only)F-RPT-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The two weeks' totals, or available false.application/json
Errors403404503One problem shape

#Validate a definition, resolve its period and estimate its size; returns no data

POST/reports/validate
Session (app only)F-RPT-01

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The validation; valid is false with field errors when the definition is invalid.application/json
Errors400403404429One problem shape

#The caller's own reports and the shared reports the caller can open

GET/saved-reports
Session (app only)F-RPT-03

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

filter[scope]string

One of: mine shared all · Default: "mine"

filter[state]string

any lists both states in one list (XM-1266; the designed grid shows a State column).

One of: active archived any · Default: "active"

filter[source]string

One source key or several, separated by commas (XM-1266).

Pattern ^(worklogs|costs|plans|expenses|estimates)(,(worklogs|costs|plans|expenses|estimates)){0,4}$

filter[sharing]string

One sharing level or several, separated by commas (XM-1266; the designed "Shared with" filter).

Pattern ^(personal|team|tenant)(,(personal|team|tenant)){0,2}$

filter[owner]string

The reports of these owners (member ids, separated by commas, at most 50; XM-1266; the designed Owner filter "is").

Max length 1900

filter[notOwner]string

The reports of every owner except these (member ids, separated by commas, at most 50; XM-1266; the Owner filter "is not").

Max length 1900

qstring

Min length 1 · Max length 120

sortstring

The order (XM-1266). A cursor page takes only -updatedAt; every other order needs page[number]. owner orders by the owner's display name ("Former member" for a removed owner); each order ends on the id.

One of: -updatedAt updatedAt name -name source -source owner -owner sharing -sharing state -state scheduleCount -scheduleCount · Default: "-updatedAt"

page[number]integer

An offset page (XM-1266; the designed grid's page numbers); not with page[cursor].

Min 1 · Max 999999

page[size]integer

The rows of an offset page (the designed "Rows per page").

One of: 10 20 25 30 50 100 · Default: 25

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 25 reports, newest change first (a cursor page); or an offset page (page[number]) in sort with its total, the counts of the segments and the owners of the scope (XM-1266).application/json
Errors400403404One problem shape

#Save a definition as a new report, version 1

POST/saved-reports
Session (app only)Idempotency-KeyF-RPT-03

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The saved report.application/json
Errors400403404409413422One problem shape

#One saved report with its current definition and what the caller may do

GET/saved-reports/{savedReportId}
Session (app only)F-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The report (ETag is its version).application/json
Errors400403404One problem shape

#Rename a report or change its description

PATCH/saved-reports/{savedReportId}
Session (app only)If-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The report.application/json
Errors400403404409412413422428One problem shape

#Delete a report with its versions and schedules

DELETE/saved-reports/{savedReportId}
Session (app only)If-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Deleted.

No body.

Errors400403404412428One problem shape

#Archive a report and suspend its schedules

POST/saved-reports/{savedReportId}/archive
Session (app only)Idempotency-KeyIf-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The archived report.application/json
Errors400403404409412422428One problem shape

#Make a personal copy of a report the caller can open

POST/saved-reports/{savedReportId}/duplicate
Session (app only)Idempotency-KeyF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/json

Loading the schema…

Responses

201The copy, owned by the caller.application/json
Errors400403404409413422One problem shape

#Restore an archived report

POST/saved-reports/{savedReportId}/restore
Session (app only)Idempotency-KeyIf-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The active report; its schedules stay suspended.application/json
Errors400403404409412422428One problem shape

#Run a saved report in the caller's own access, optionally with another period or an earlier version

POST/saved-reports/{savedReportId}/runs
Session (app only)Idempotency-KeyF-RPT-02

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/json

Loading the schema…

Responses

201The finished run.application/json
202A large run continues in the background; the run in state running with its operationId.application/json
Errors400403404409413422429503One problem shape

#The schedules of a saved report (its editors)

GET/saved-reports/{savedReportId}/schedules
Session (app only)F-RPT-05

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The schedules, at most 20.application/json
Errors403404One problem shape

#Schedule a saved report for recipients

POST/saved-reports/{savedReportId}/schedules
Session (app only)Idempotency-KeyF-RPT-05

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The schedule with its next occurrence.application/json
Errors403404409422One problem shape

#Set who may open the report — personal, a team or the tenant

PUT/saved-reports/{savedReportId}/sharing
Session (app only)If-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The report with its sharing.application/json
Errors400403404409412413422428One problem shape

#Make another internal member the report's owner

POST/saved-reports/{savedReportId}/transfer
Session (app only)Idempotency-KeyIf-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The report with its new owner; for a caller who no longer opens it, the report as the transfer left it with every can false (R18).application/json
Errors400403404409412413422428One problem shape

#The versions of a report, newest first

GET/saved-reports/{savedReportId}/versions
Session (app only)F-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 25 versions.application/json
Errors400403404One problem shape

#Save a changed definition as the next version

POST/saved-reports/{savedReportId}/versions
Session (app only)Idempotency-KeyIf-MatchF-RPT-03

Path parameters

savedReportIdrequiredstring (uuid)

A saved report's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

201The report at its new version.application/json
Errors400403404409412413422428One problem shape

Was this helpful?