Skip to main content
GET
Get exposure breach counts

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Path Parameters

org_id
string<uuid>
required

The unique identifier for the organisation.

Query Parameters

exposure_type
enum<string>
required

The exposure type to resolve the limit for. The type of exposure a limit applies to. havs (hand-arm vibration, in points) is the only type.

Available options:
havs
Example:

"havs"

filter
string
default:""

Selects the breaches. Optional.

  • eq(status,open) or in(status,[open,acknowledged]): only breaches with these statuses.
  • eq(period,daily) or in(period,[daily,weekly]): only daily or weekly breaches.
  • eq(subject,xxx) or in(subject,[xxx,yyy]): only these people.
  • eq(action,xxx) or in(action,[xxx,yyy]): only breaches whose current acknowledgement took one of these exposure breach actions, by id. An open breach has none, so matches no action.
  • eq(over_limit,true) or eq(over_limit,false): only breaches still over their limit, or only those corrected below it.
  • ge(date,YYYY-MM-DD) and le(date,YYYY-MM-DD): only breaches with a day on or after, and on or before, these Europe/London days.

Terms are comma separated, or wrapped in and(...), and combine with AND. Each field other than date may appear in one term. An or(...), a repeated term, text after a term, any other term and a term that does not parse are refused with a 400 rather than ignored.

For more information on using named filters, see the docs

Example:

"and(in(status,[open,acknowledged]),ge(date,2026-11-01))"

Response

Get the counts of the breaches a filter selects.

JSON API response object

data
object
required

The counts of the breaches a filter selects, over the people the caller may view, computed when asked for.

jsonapi
object
required