Skip to content

Get a Solution's sample report

GET
/api/solutions/{slug}/sample/
curl --request GET \
--url http://localhost:8000/api/solutions/example/sample/ \
--header 'Authorization: Bearer <token>'

The assembled report ({ manifest, meta, data }) for the Solution’s seeded demo run — used by the Detail page to preview what the report looks like before producing one. Same shape as the produced-run report; built from synthetic demo data only. 404 when no demo run exists for the slug (the FE falls back to a static placeholder).

slug
required
string
Media typeapplication/json

GET /api/solutions/runs/<id>/ — the produced report. manifest, meta, and data are open objects: the @aikynetix/ui renderer owns the block shapes, and data (ReportData) is keyed by block id. Absent block ids render as empty (the renderer’s BlockSlot skips them).

object
manifest
required

The SolutionDefinition.

object
key
additional properties
meta
required

ShellComponentMeta — title/subtitle/branding/sourceSession/cameraView.

object
key
additional properties
data
required

ReportData — { blockId: payload } assembled from the run’s sessions.

object
key
additional properties
Examplegenerated
{
"manifest": {
"additionalProperty": "example"
},
"meta": {
"additionalProperty": "example"
},
"data": {
"additionalProperty": "example"
}
}
Media typeapplication/json
object
detail
required

Human-readable message, or a stable machine code for the cases a client branches on. The standard envelope for 400 (validation — a field-keyed object may appear instead), 401 (missing / invalid credentials), 403 (authenticated but not permitted), and 404 (absent — cross-team records are collapsed to 404 so the API never leaks the existence of another team’s data).

string
Examplegenerated
{
"detail": "example"
}