Move the agents on a subscription account onto platform credits [write]
Changed onRun before disconnecting an account so its agents keep working. Restarts their running sessions.
post/model-subscriptions/{provider}/switch-to-credits
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/model-subscriptions/{provider}/switch-to-credits
- AuthHTTP bearer
Path parameters
provider'anthropic' | 'openai' | 'cursor' | 'xai' | 'meta' required
anthropic = Claude subscription · openai = ChatGPT plan · cursor = Cursor plan · xai = Grok subscription · meta = Muse subscription
Query parameters
accountIdstring
Target an additional account; omitted targets the legacy provider account
Response
OK
Changes
- info
endpoint added
- info