Retrieve the number of locations
Locations
Retrieve the number of locations
Retrieve the number of locations for the authenticated workspace. Query parameters filter the count. Requires locations.read scope.
GET
Retrieve the number of locations
Authorizations
Bearer API key from Settings → API Keys. Use restricted keys (prefix retrac_) with the minimum scopes required.
Query Parameters
The ID of the workspace.
Example:
"ws_cluuwcv0r..."
The slug of the project. This field is deprecated – use workspaceId instead.
Available options:
warehouse, van, truck, site, other Available options:
true, false Required range:
x >= 1Required range:
1 <= x <= 50Response
The number of locations matching the query
The number of locations matching the query.