Skip to main content
GET
/
api
/
v2
/
reporting
/
users
Get company members report
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/reporting/users/ \
  --header 'Authorization: Bearer <token>'
{
  "reporting": [
    {
      "company": {
        "id": 123,
        "name": "<string>"
      },
      "total_historical_members": 123,
      "current_active_members": 123
    }
  ],
  "metadata": {
    "total_historical_members": {
      "description": "<string>",
      "unit": "<string>"
    },
    "current_active_members": {
      "description": "<string>",
      "unit": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

company_id
integer

The unique identifier of the company (for admin users only).

end_date
string<date>

The end date for the report (defaults to today).

start_date
string<date>
required

The start date for the report.

Response

200 - application/json
reporting
object[]
required
metadata
object
required