Continue this one session on AgentSky credits [write]
Changed onConsent to continue this session on platform credits from revision (from the GET), as the chat's blocked notice does. Only this session moves; POST /model-subscriptions/{provider}/switch-to-credits moves every agent on a plan. 402 insufficient_credits when the balance cannot cover it; 503 continuation_pending means the consent is saved and the continuation retries on its own. A workspace key is refused: this consent is the person's.
post/sessions/{id}/subscription-recovery
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/subscription-recovery
- AuthHTTP bearer
Path parameters
idstring required
The session id
Request body
Response
OK
object required
Changes
- info
endpoint added
- info