GET /reports/activity
snipeit_gen_reportsactivityRetrieves Snipe-IT activity report entries with filters for action type, item, target, and user, plus sorting, search, and pagination to audit asset history.
Instructions
GET /reports/activity. Generated from Snipe-IT OpenAPI operation reportsactivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | What column the results should be sorted by (defaults to created_at date if no value is given) | |
| limit | No | Specify the number of results you wish to return. Defaults to 50, but we have it set to 2 by default so the API explorer doesn't scroll forever. | |
| order | No | Ascending or descending order (defaults to desc if no value is given) | |
| offset | No | The offset from the start of results to use in order to page through the result set | |
| search | No | String to search on | |
| item_id | No | The ID of the item you're querying against. Required if passing item_type | |
| item_type | No | The type of item you're searching against. `App\Models\Asset`, etc. Required when passing item_id. | |
| target_id | No | The ID of the target you're querying against. Required if passing target_type | |
| action_type | No | The action type you'e querying against. Example values here are: "add seats", "checkin from", "checkout", "update" | |
| target_type | No | The type of target (entity something is checked out to) you're searching against. `App\Models\User`, etc. Required when passing target_id. |