Skip to main content
POST
Set Claude Credentials
Writes Claude credentials to .claude/.credentials.json inside the sandbox and restarts the Claude WebSocket server.
string
required
Sandbox ID.
string
required
Claude access token.
string
required
Claude refresh token.
string
required
Token expiry (ISO 8601).
object
Account info with id and name.
string
Preferred Claude model.
object
Subscription details.

Response

Returns confirmation that credentials were set.