Set Claude Credentials
Configure Claude OAuth credentials in the sandbox
Writes Claude credentials to .claude/.credentials.json inside the sandbox and restarts the Claude WebSocket server.
idstringrequired(path)
Sandbox ID.
accessTokenstringrequired(body)
Claude access token.
refreshTokenstringrequired(body)
Claude refresh token.
expiresAtstringrequired(body)
Token expiry (ISO 8601).
accountobject(body)
Account info with
id and name.selectedModelstring(body)
Preferred Claude model.
subscriptionInfoobject(body)
Subscription details.
Response
Returns confirmation that credentials were set.