Restore a soft-deleted agent
Restores the original configuration and history before retention_expires_at. Requires write:agents in the original mutation tenancy. Schedules remain paused.
Authorizations
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
Response
Restored agent.
agent "functionary-pt"
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
Arbitrary JSON value.
1 <= x <= 1000reject, queue Current configuration version. Incremented on every update or rollback.
x >= 1Whether the deleted agent is within its pinned restoration deadline, independent of caller permission.
Whether the current caller has restoration permission within the pinned deadline.