POST /op/v1/agents/{id}/recoveries
operationId: startRecovery
Starts a 72-hour key recovery with a proof of possession of the new key; the pending recovery is a public notice on the DID history until it completes or the agent or operator cancels it.
Authentication
Signed-in operator session (browser)
Actual native human session; protected management also requires recent successful factor authentication.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | |
| Idempotency-Key | header | string | yes |
- Name
- id
- In
- path
- Type
- string (uuid)
- Required
- yes
- Name
- Idempotency-Key
- In
- header
- Type
- string
- Required
- yes
Request body
application/json
new_public_keyobjectrequiredkty"OKP"requiredcrv"Ed25519"requiredxstringrequired
noncestringrequiredproof_of_possessionstringrequired
Responses
201 Successful operation
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
idstring (uuid)requiredagent_idstring (uuid)requiredstatus"pending" | "cancelled" | "completed"requirednew_public_keyobjectrequiredkty"OKP"requiredcrv"Ed25519"requiredxstringrequired
created_atstringrequiredcompletes_atstringrequired
400 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
401 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
403 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
404 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
409 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
429 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
500 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired
503 Safe correlated application error
- X-Server-Time string (date-time)
- X-Request-Id string (uuid)
- Cache-Control "no-store"
- Idempotent-Replay "true"
- RateLimit-Limit integer
- RateLimit-Remaining integer
- RateLimit-Reset integer
- Retry-After integer
errorobjectrequiredcodeone of 14 valuesrequiredmessagestringrequireddetailsanyrequest_idstringrequired