Performance, pipeline & forecast
Records from a chart
Records behind a bar / slice — the list has as many records as the chart shows. Empty label = all records of the report. labels / sers are all names in the chart (to resolve the 'Other' group).
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Module: reportsScope:
crm.readPath parameters
idintegerrequiredDashboard id.
widstringrequiredReport id.
Body application/json
labelstringoptionalx label.
seriesstringoptionalSeries name.
labelsarrayoptionalLabels in the chart.
sersarrayoptionalSeries in the chart.
rangestringoptionalDate range.
Errors
| HTTP | error | Meaning |
|---|---|---|
400 | invalid | Missing or invalid field (`message` explains). |
404 | not_found | Record not found. |
403 | module | The module is off in the licence or for the user. |
Request
curl -X POST https://ornek.solk.app/api/v1/dashboards/{id}/w/{wid}/drill \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/dashboards/{id}/w/{wid}/drill", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
},
});
const data = await res.json();import os, requests
r = requests.post(
"https://ornek.solk.app/api/v1/dashboards/{id}/w/{wid}/drill",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Response