Skip to main content
GET
Fetch intra-day detail data for a whole organization or company (v2)

Authorizations

Authorization
string
header
required

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

Query Parameters

company_id
string

Company ID to filter data. Accepted from an admin, and from a PartnerAdmin naming its own company. An OrgAdmin is refused with 403.

Example:

"company123"

org_id
string

Org ID to filter data. Accepted from an admin, from a PartnerAdmin naming an org its company owns, and from an OrgAdmin naming its own org.

Example:

"org123"

start_day
string

Start date in YYYY-MM-DD format (e.g., 2025-01-01T00:00:00+09:00). Range of start_day and end_day should not exceed 31 days.

Example:

"2025-01-01T00:00:00+09:00"

end_day
string

End date in YYYY-MM-DD format (inclusive), or a datetime that is the exclusive end instant (e.g., 2025-02-01T00:00:00+09:00 to read through 2025-01-31 JST). Range of start_day and end_day should not exceed 31 days.

Example:

"2025-02-01T00:00:00+09:00"

format
enum<string>
default:json

json (default) returns the records inline; csv returns a file download.

Available options:
csv,
json
Example:

"json"

uid_list
string[]

Optional list of user IDs to filter. Must all belong to the org. Max 100 UIDs.

Example:
page
integer
default:0

0-indexed page number when org has more than 100 users and uid_list is not provided.

Required range: x >= 0
Example:

0

Response

Daily detail data fetched successfully with renamed fields. A json request answers with an array, wrapped in pagination / data keys when the org needs more than one page; when nothing matches, the body is the No data found message. format=csv answers with a file download.

Pagination counts eligible users, not measurement records. pagination contains total_users, total_pages, current_page (zero-based), and page_size (100 users). For example, with 105 eligible users in total, page=1 selects the second page (the remaining 5 users) and produces metadata {"total_users":105,"total_pages":2,"current_page":1,"page_size":100}. Request another page while current_page + 1 < total_pages, regardless of record count. A non-empty uid_list disables pagination. A page without measurements can return {"msg":"No data found"} without metadata, even if more pages exist. Use a previously obtained total_pages or explicit uid_list batches; this message alone cannot determine the final page. An out-of-range page returns metadata and data: [].