---
title: "Search Incidents"
method: GET
path: "/v1/incident/"
tags: ["Incidents"]
---

# Search Incidents

`GET /v1/incident/`

Search for incidents that match the provided search terms.

Keywords are searched for in the _id_, _user id_, _title_, _status_, _severity_, _site name_, _site address_, _site city_, _and _site country_ fields.

Additional explicit filters are also supported

## Query parameters

- `query` string, nullable
- `skip` integer, nullable
- `limit` integer, nullable
- `sort_direction` 'asc' | 'desc' — Direction to sort the `sort_column` - ascending or descending.
- `date_start` string, date-time, nullable
- `date_cut_off` string, date-time, nullable
- `sort_column` 'updated_at' | 'created_at' | 'id' | 'incident_date' — Sort columns for incident search. Extends DefaultSortColumn with `incident_date` (when the incident occurred), which differs from `created_at` (when the row was logged in the system, often days/weeks later).
- `status` string, nullable
- `project_id` integer, nullable
- `user_id` integer, nullable
- `is_archived` boolean, nullable

## Response `200`

Successful Response

- ApiGenericListResponseIncidentSearchModel
  - `error` boolean — A boolean error indicator.
  - `message` string, nullable — Optional message.
  - `data` IncidentSearchModel[], nullable — The response data for any given request.
    - `id` integer, required
    - `incidentDate` string, date-time, nullable
    - `backToWorkDate` string, date-time, nullable
    - `userId` integer, nullable
    - `title` string, nullable
    - `status` string, nullable
    - `severity` string, nullable
    - `lostTime` integer, nullable
    - `companyName` string, nullable
    - `companyAddress` string, nullable
    - `companyCity` string, nullable
    - `companyCountry` string, nullable
    - `projectName` string, nullable
    - `projectAddress` string, nullable
    - `projectCity` string, nullable
    - `projectLatitude` number, nullable
    - `projectLongitude` number, nullable
    - `projectCountry` string, nullable
    - `incidentColumns` IncidentColumnModel[], nullable
      - `name` string, required
      - `sortOrder` integer, required
      - `values` string[], required
    - `updatedAt` string, date-time, nullable
    - `createdAt` string, date-time, nullable

## Other responses

- `400` — Business Logic Error
- `403` — Permission Error
- `404` — Records Not Found
- `409` — Integrity Error or Data Conflict
- `422` — Validation Error

---

[API](https://skmtc.dev/salussafety/apis/salus-developer-api.md) · [All operations](https://skmtc.dev/salussafety/apis/salus-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salussafety/salus-developer-api/revisions/ef065f44da25/schema)
