Retrieves a paginated list of anomalies with filtering, sorting, and optional extended data support.
READONLY[ADMIN, USER]Only authenticated users with proper site-level permissions can access this route.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
application/json List of site IDs.
"['1', '2']"
Extend options:
"origin": Provides anomaly origin information based on type: observation→reportedBy, prescription→commission, nonconformity→intervention
"site": Get information about the site, avec establishmentName inline
"closest-intervention": Get information about the last intervention
"technical-installation": Get information about the technicalInstallation
"equipment": Get information about the equipment linked to the intervention
"actions-info": Give information about actions that can be done on anomalies
"resolved-by": Get information about the person that resolved the anomaly
"metadata": Get the entire metadata from anomaly
"position": Get information about the position related to the anomaly
origin, site, closest-intervention, technical-installation, equipment, actions-info, resolved-by, metadata, position Filter by status
[1, 2, 3]Filter by title
"string"
Filter by text
"string"
Filter by type
[1, 2, 3]Filter by risk
[1, 2, 3]Filter by reporter firstName or lastName in metadata
"string"
Filter by location in metadata
"string"
Filter by technical installation id
[1, 2, 3]Filter by report id
[1, 2, 3]Filter by intervention id
1
Filter by deletedAt flag
true
Filter by observedAt
{
"start": "2021-01-01T00:00:00.000Z",
"end": "2021-12-31T23:59:59.999Z"
}Filter by createdAt
{
"start": "2021-01-01T00:00:00.000Z",
"end": "2021-12-31T23:59:59.999Z"
}Filter anomalies by the date of their last intervention
"2021-01-01T00:00:00.000Z"
Filter anomalies by report id
1
Filter anomalies by equipment id
1
Filter anomalies that can be positioned (have a location in metadata)
true
Filter anomalies by site ids
[1, 2, 3]Filter anomalies that can be positioned in a plan
1
Include total count in response.
true
Page number.
1
Page size.
50
Get the page where the item with this id is located.
1
Sub page size for grouping items.
10