A read (sent as POST because a proposed scope can hold 3 x 1000 values). Counts use the selection rule of the environment routing, one SQL statement per scope: a device of the company (its own devices only; a child company's devices are not routed by its parent's scopes) that is a member of one of the fleet_ids (static or dynamic membership rows, whatever company owns the fleet), carries one of the tags, or is listed in device_ids, counted once. Scope tags match device tags ignoring case: the proposed scope's tags are trimmed and lower-cased as on save, and a tag matches a string element of the device's tags array whose lower case equals it ("lab" selects a device tagged "Lab" or "LAB"; device tags are not trimmed). Without workflow_id the production environment counts every device of the company, the most it can cover; with workflow_id it counts the devices that run that workflow's production pin: every device of the company that no non-production pin of the workflow in live mode with a version (paused or not) selects. All counts of one answer read one database snapshot. The caller needs the workflow_graph read ability on the company; a company or workflow the caller cannot read is a 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400The request was malformed or contained invalid parameters.
401You are not authorized
404The item you were looking for does not exist
500An unexpected error was encountered.