# Jobs

The Jobs API lets you retrieve all details and operations of a specific job or revert a job to undo changes made during an operation.

## Revert a job

 - [POST /api/v1/jobs/{jobId}/revert](https://api-docs.sitecore.com/sai/agent-api/jobs/jobs-revert_job.md): Reverts the operations linked to a specific job ID, restoring the state prior to execution. This is useful for undoing changes made by automated processes.

## Retrieve job details

 - [GET /api/v1/jobs/{jobId}](https://api-docs.sitecore.com/sai/agent-api/jobs/jobs-get_job.md): Retrieves the details of a specific job.

## List job operations

 - [GET /api/v1/jobs/{jobId}/operations](https://api-docs.sitecore.com/sai/agent-api/jobs/jobs-list_operations.md): Retrieves a list of actions associated with a specific job ID, including operation type, status, and timestamps, to support tracing and potential reversion of those actions.

