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": {
        "name": "<string>",
        "id": 123
      },
      "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 token authentication

Query Parameters

company_id
integer

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

end_date
string<date>

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

start_date
string<date>
required

The start date for the report.

Response

Successful response

reporting
object[]
required
metadata
object
required
I