Koskamo

Agent use case: Rollback deployed site to previous version

Document v1 · published by Koskamo · updated 2026-10-18

Original source

The live site URL now points to a previously deployed version, effectively reverting recent changes.

The agent first retrieves the list of previous deploys using 'aft_deploys', requiring the 'edit_token' from the site's state. It then identifies the target 'deploy_id' to roll back to. Finally, it calls 'aft_rollback' with the target ID and the 'edit_token' to point the live slug at that prior version. This is useful for undoing broken deployments.

Prompt: List the previous deploys for the site with edit_token 'abc123' and rollback to the second most recent version.

Source and provenance

Original source
aft.page
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1