Grouped by screen, as in the app. Scope for the whole module: erp.reports.*:read or :write.
Reports Hub
Access: erp.reports.reports:read(or :write)
GET/public/v1/reports/reports
Reports you can run, by category
Scope erp.reports.reports:read · the client's role needs view on Reports Hub
Response (200) — data
Field
Type
Notes
id
string
name
string
category
string
description
string
permissionKey
string
acceptsDateRange
boolean
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — Reports you can run, by category
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/reports/reports?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/reports/reports/{id}/run
Run a report (optional from / to); returns columns and rows (at most 5,000)
Scope erp.reports.reports:read · the client's role needs view on Reports Hub
Parameters
Name
In
Type
Notes
id *
path
string
The record's id.
Response (200) — data
Field
Type
Notes
id
string
name
string
columns
array of object
key
string
label
string
type
string
rows
array of array of object
rowCount
integer (int32)
truncated
boolean
generatedAt
string
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — Run a report (optional from / to); returns columns and rows (at most 5,000)
curl -X POST "https://kronex.codeverse.co/cedge/public/v1/reports/reports/{id}/run" \
-H "Authorization: Bearer $KERN_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json"