Cursare
Skip to content
cursareDocs
Sign inGet started
Documentation
  • Overview
  • Index2
  • Organization17
  • Sales6
  • Insights8
  • Automation1
  • Reports and safety7
  • Minor accounts8
  • Minor safety3
  • Offers11
  • Media1
  • Contents11
  • Questions16
  • Learner delivery1
  • Learner runtime5
  • Learners12
  • Cohorts12
  • Intake forms5
  • Campaigns4
  • Teams8
  • Reports8
  • Affiliates7
  • Links7
  • Reviews1
  • Integrations26
  • MCP2
  • Webhooks6

Reports

Reports operations.

8 endpoints

Get the semantic report catalog

GET/reports/catalog

Returns the fixed datasets, measures, dimensions, presentations, compatibility rules, roles, and hard limits accepted by custom team reports.

Responses

200Get the semantic report catalog.
401Missing, invalid or revoked API key.
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/catalog \
  --header 'Authorization: Bearer cr_live_…'
{
  "data": {
    "datasets": [
      {
        "description": "string",
        "filters": [
          "contentId"
        ],
        "id": "learning",
        "label": "string"
      }
    ],
    "dimensions": [
      {
        "datasets": [
          "learning"
        ],
        "description": "string",
        "id": "day",
        "label": "string",
        "valueType": "integer"
      }
    ],
    "limits": {
      "dimensionsPerWidget": 0,
      "executionCooldownMinutes": 0,
      "executionScanUnits": 0,
      "measuresPerWidget": 0,
      "rowsPerWidget": 0,
      "snapshotBytes": 0,
      "statementTimeoutMs": 0,
      "widgets": 0,
      "windowDays": 0
    },
    "measures": [
      {
        "dataset": "learning",
        "description": "string",
        "id": "enrollments",
        "label": "string",
        "presentations": [
          "number"
        ],
        "requiredRole": "finance",
        "unit": "count",
        "valueType": "integer"
      }
    ],
    "presentations": [
      "number"
    ],
    "version": 0
  }
}

List authorized team reports

GET/reports

Returns only reports whose full current team-role requirement the caller satisfies. Results use descending updated-time keyset pagination and omit snapshot rows.

Query parameters

cursorstring

Opaque cursor returned by the previous page.

limitinteger

Page size, up to 100.

stateenum

Defaults to active.

activearchived

teamIdstring

Limit results to one team.

Responses

200List authorized team reports.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports \
  --header 'Authorization: Bearer cr_live_…'
{
  "data": {
    "items": [
      {
        "archivedAt": "2026-01-31T12:00:00.000Z",
        "createdAt": "2026-01-31T12:00:00.000Z",
        "definition": {
          "version": 0,
          "widgets": [
            {
              "dataset": "learning",
              "dimensions": [
                null
              ],
              "filters": {},
              "key": "string",
              "limit": 50,
              "measures": [
                null
              ],
              "presentation": "number",
              "title": "string",
              "order": {
                "by": null,
                "direction": null
              }
            }
          ],
          "window": {
            "kind": "string",
            "preset": "last_7_days"
          }
        },
        "definitionVersion": 0,
        "description": "string",
        "executionStatus": "idle",
        "failureCode": "invalid_definition",
        "id": "string",
        "lastAttemptAt": "2026-01-31T12:00:00.000Z",
        "nextExecutionAt": "2026-01-31T12:00:00.000Z",
        "organizationId": "string",
        "requiredRoles": [
          "finance"
        ],
        "state": "active",
        "teamId": "string",
        "teamName": "string",
        "title": "string",
        "updatedAt": "2026-01-31T12:00:00.000Z"
      }
    ],
    "nextCursor": "string"
  }
}

Create a team report

POST/reports

Creates a report owned permanently by one team. Required roles are derived by the server from the selected measures.

Request body

definitionobjectrequired

A bounded versioned semantic report definition composed only from the published catalog.

descriptionstringrequired

Required brief description of what the report communicates, using public business language.

teamIdstringrequired

Owning team id.

titlestringrequired

Report title using public business language.

Responses

201Create a team report.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports \
  --request POST \
  --header 'Authorization: Bearer cr_live_…' \
  --header 'Content-Type: application/json' \
  --data '{
  "definition": {
    "version": 0,
    "widgets": [
      {
        "dataset": "learning",
        "dimensions": [
          "day"
        ],
        "key": "string",
        "measures": [
          "enrollments"
        ],
        "presentation": "number",
        "title": "string",
        "filters": {},
        "limit": 50,
        "order": {
          "by": "string",
          "direction": "asc"
        }
      }
    ],
    "window": {
      "kind": "string",
      "preset": "last_7_days"
    }
  },
  "description": "string",
  "teamId": "string",
  "title": "string"
}'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Get a team report

GET/reports/{id}

Returns the current definition and latest successful bounded snapshot.

Path parameters

idstring

The report id.

Responses

200Get a team report.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/{id} \
  --header 'Authorization: Bearer cr_live_…'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Update a team report

PATCH/reports/{id}

Replaces supplied fields. Replacing the definition increments its version while retaining the previous successful snapshot as stale until the next successful execution.

Path parameters

idstring

The report id.

Request body

definitionobject

A bounded versioned semantic report definition composed only from the published catalog.

descriptionstring

Replacement brief description using public business language.

titlestring

Replacement title using public business language.

Responses

200Update a team report.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/{id} \
  --request PATCH \
  --header 'Authorization: Bearer cr_live_…' \
  --header 'Content-Type: application/json' \
  --data '{
  "definition": {
    "version": 0,
    "widgets": [
      {
        "dataset": "learning",
        "dimensions": [
          "day"
        ],
        "key": "string",
        "measures": [
          "enrollments"
        ],
        "presentation": "number",
        "title": "string",
        "filters": {},
        "limit": 50,
        "order": {
          "by": "string",
          "direction": "asc"
        }
      }
    ],
    "window": {
      "kind": "string",
      "preset": "last_7_days"
    }
  },
  "description": "string",
  "title": "string"
}'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Execute a team report

POST/reports/{id}/execute

Runs the stored semantic definition with bounded aggregate planners and atomically replaces the latest snapshot only after every widget succeeds. A report may start at most once every 15 minutes across dashboard, REST, and MCP callers.

Path parameters

idstring

The report id.

Request body

object

Responses

200Execute a team report.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/{id}/execute \
  --request POST \
  --header 'Authorization: Bearer cr_live_…' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Archive a team report

POST/reports/{id}/archive

Path parameters

idstring

The report id.

Request body

object

Responses

200Archive a team report.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/{id}/archive \
  --request POST \
  --header 'Authorization: Bearer cr_live_…' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Restore a team report

POST/reports/{id}/restore

Path parameters

idstring

The report id.

Request body

object

Responses

200Restore a team report.
400Validation failed or the request body is malformed.
401Missing, invalid or revoked API key.
403The key's organization does not own this resource.
404The resource does not exist (or belongs to another org).
429Rate limit exceeded (240 reads/min, 60 writes/min per key).
500Unexpected server error.
curl https://api.cursare.com/v1/reports/{id}/restore \
  --request POST \
  --header 'Authorization: Bearer cr_live_…' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "archivedAt": "2026-01-31T12:00:00.000Z",
    "createdAt": "2026-01-31T12:00:00.000Z",
    "definition": {
      "version": 0,
      "widgets": [
        {
          "dataset": "learning",
          "dimensions": [
            "day"
          ],
          "filters": {},
          "key": "string",
          "limit": 50,
          "measures": [
            "enrollments"
          ],
          "presentation": "number",
          "title": "string",
          "order": {
            "by": "string",
            "direction": "asc"
          }
        }
      ],
      "window": {
        "kind": "string",
        "preset": "last_7_days"
      }
    },
    "definitionVersion": 0,
    "description": "string",
    "executionStatus": "idle",
    "failureCode": "invalid_definition",
    "id": "string",
    "lastAttemptAt": "2026-01-31T12:00:00.000Z",
    "nextExecutionAt": "2026-01-31T12:00:00.000Z",
    "organizationId": "string",
    "requiredRoles": [
      "finance"
    ],
    "result": {
      "appliedFilters": {
        "campaignId": "string",
        "cohortId": "string",
        "contentId": "string",
        "offerId": "string"
      },
      "catalogVersion": 0,
      "definitionVersion": 0,
      "freshThrough": "2026-01-31T12:00:00.000Z",
      "generatedAt": "2026-01-31T12:00:00.000Z",
      "reportId": "string",
      "source": "string",
      "widgets": [
        {
          "columns": [
            {
              "id": "string",
              "label": "string",
              "unit": "count",
              "valueType": "integer"
            }
          ],
          "key": "string",
          "presentation": "number",
          "rowLimit": 0,
          "rows": [
            {}
          ],
          "title": "string",
          "truncated": true
        }
      ],
      "window": {
        "from": "string",
        "to": "string"
      }
    },
    "state": "active",
    "teamId": "string",
    "teamName": "string",
    "title": "string",
    "updatedAt": "2026-01-31T12:00:00.000Z"
  }
}

Your privacy choices

The technical Tag Manager container is required to apply your choices. Analytics and marketing cookies and storage remain optional and stay off until you authorize them. Privacy Policy.

Sign-in, security, core functions and consent enforcement.

Audience measurement such as Google Analytics.

Marketing storage, campaign attribution and optional tags.