# Maintenance

## Manually trigger daily maintenance tasks

> Triggers all daily maintenance tasks including review environment cleanup

```json
{"openapi":"3.0.0","info":{"title":"sfp server","version":"51.9.0"},"security":[{"bearer":[]}],"components":{"securitySchemes":{}},"paths":{"/sfp/api/maintenance/trigger-daily":{"post":{"operationId":"ScheduledTasksController_triggerDailyMaintenance","summary":"Manually trigger daily maintenance tasks","description":"Triggers all daily maintenance tasks including review environment cleanup","parameters":[],"responses":{"202":{"description":"Maintenance tasks started"},"403":{"description":"Forbidden - Requires role: owner"}},"tags":["Maintenance"]}}}}
```

## Get status of scheduled maintenance tasks

> Returns information about all scheduled maintenance cron jobs

```json
{"openapi":"3.0.0","info":{"title":"sfp server","version":"51.9.0"},"security":[{"bearer":[]}],"components":{"securitySchemes":{}},"paths":{"/sfp/api/maintenance/cron-jobs":{"get":{"operationId":"ScheduledTasksController_getCronJobs","summary":"Get status of scheduled maintenance tasks","description":"Returns information about all scheduled maintenance cron jobs","parameters":[],"responses":{"200":{"description":"List of cron jobs"},"403":{"description":"Forbidden - Requires role: owner"}},"tags":["Maintenance"]}}}}
```

## Manually trigger approval reconciliation

> Reconciles approval status with workflow run state. Marks stale approvals.

```json
{"openapi":"3.0.0","info":{"title":"sfp server","version":"51.9.0"},"security":[{"bearer":[]}],"components":{"securitySchemes":{}},"paths":{"/sfp/api/maintenance/trigger-approval-reconciliation":{"post":{"operationId":"ScheduledTasksController_triggerApprovalReconciliation","summary":"Manually trigger approval reconciliation","description":"Reconciles approval status with workflow run state. Marks stale approvals.","parameters":[],"responses":{"202":{"description":"Approval reconciliation started"},"403":{"description":"Forbidden - Requires role: owner"}},"tags":["Maintenance"]}}}}
```

## Manually trigger review cache refresh

> Refreshes pull request review cache for all project repositories

```json
{"openapi":"3.0.0","info":{"title":"sfp server","version":"51.9.0"},"security":[{"bearer":[]}],"components":{"securitySchemes":{}},"paths":{"/sfp/api/maintenance/trigger-review-cache-refresh":{"post":{"operationId":"ScheduledTasksController_triggerReviewCacheRefresh","summary":"Manually trigger review cache refresh","description":"Refreshes pull request review cache for all project repositories","parameters":[],"responses":{"202":{"description":"Review cache refresh started"},"403":{"description":"Forbidden - Requires role: owner"}},"tags":["Maintenance"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flxbl.io/flxbl/sfp-server/api-reference/maintenance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
