List Accident Logs
list_accident_logsRetrieve accident logs for a Procore project, filtered by date or pagination. Get current-day entries or specify start/end dates to review incident records.
Instructions
Returns all Accident Logs for the current date. See Working with Daily Logs for information on filtering the response using the log_date, start_date, and end_date parameters. Note that if none of the date parameters are provided in the call, only logs from the current date are returned. Use this to discover accident logs or to look up the id of one before calling a tool that needs it. project_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of accident logs; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id. Procore API: Project Management > Daily Log. Endpoint: GET /rest/v1.0/projects/{project_id}/accident_logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Query string parameter — page number for paginated results (default: 1) | |
| end_date | No | Query string parameter — end date of specific logs desired in YYYY-MM-DD format (use together with start_date) | |
| log_date | No | Query string parameter — date of specific logs desired in YYYY-MM-DD format | |
| per_page | No | Query string parameter — number of items per page (default: 100, max: 100) | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| start_date | No | Query string parameter — start date of specific logs desired in YYYY-MM-DD format (use together with end_date) | |
| filters__location_id | No | Query string parameter — return item(s) with the specified Location IDs. | |
| filters__created_by_id | No | Query string parameter — return item(s) created by the specified User ID | |
| filters__daily_log_segment_id | No | Query string parameter — daily Log Segment ID filter |