# Maintenance

Squawks, maintenance reminders, work orders, and work-order status aggregates (GET /work-orders/summary)

## List squawks

 - [GET /squawks](https://docs.trueflight.app/tf-docs/maintenance/listsquawks.md)

## Create squawk

 - [POST /squawks](https://docs.trueflight.app/tf-docs/maintenance/createsquawk.md)

## Get squawk

 - [GET /squawks/{id}](https://docs.trueflight.app/tf-docs/maintenance/getsquawk.md)

## Update squawk

 - [PATCH /squawks/{id}](https://docs.trueflight.app/tf-docs/maintenance/patchsquawk.md)

## Delete squawk

 - [DELETE /squawks/{id}](https://docs.trueflight.app/tf-docs/maintenance/deletesquawk.md)

## List maintenance reminders

 - [GET /maintenance-reminders](https://docs.trueflight.app/tf-docs/maintenance/listmaintenancereminders.md)

## Create maintenance reminder

 - [POST /maintenance-reminders](https://docs.trueflight.app/tf-docs/maintenance/createmaintenancereminder.md)

## Get maintenance reminder

 - [GET /maintenance-reminders/{id}](https://docs.trueflight.app/tf-docs/maintenance/getmaintenancereminder.md)

## Update maintenance reminder

 - [PATCH /maintenance-reminders/{id}](https://docs.trueflight.app/tf-docs/maintenance/patchmaintenancereminder.md)

## Soft-delete maintenance reminder

 - [DELETE /maintenance-reminders/{id}](https://docs.trueflight.app/tf-docs/maintenance/deletemaintenancereminder.md)

## List work orders

 - [GET /work-orders](https://docs.trueflight.app/tf-docs/maintenance/listworkorders.md)

## Create work order

 - [POST /work-orders](https://docs.trueflight.app/tf-docs/maintenance/createworkorder.md)

## Work order counts by status

 - [GET /work-orders/summary](https://docs.trueflight.app/tf-docs/maintenance/getworkorderssummary.md): Returns aggregate counts for the organization (and location when the API key is location-scoped). active is draft + in_progress + on_hold. total matches the list endpoint filter scope.

## Get work order

 - [GET /work-orders/{id}](https://docs.trueflight.app/tf-docs/maintenance/getworkorder.md)

## Update work order

 - [PATCH /work-orders/{id}](https://docs.trueflight.app/tf-docs/maintenance/patchworkorder.md)

## Cancel work order (sets status cancelled)

 - [DELETE /work-orders/{id}](https://docs.trueflight.app/tf-docs/maintenance/cancelworkorder.md)

