Skip to content
gymgym docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Menu
Start
gymgym
Getting started
Architecture
Guides
Using the SDK
GraphQL API and API keys
CLI and AI agents
Authentication
Data isolation
Languages
Import and export
Deploy to Cloudflare
Reference
GraphQL
Inputs
Mutations
Queries
Types
SDK operations
CLI
MCP server
Routine and workout documents
SDK API (TypeDoc)
client
Interfaces
GymClientOptions
Type Aliases
GymClient
Functions
authClientFor
createGymClient
errors
Classes
GymError
Interfaces
GraphQLErrorShape
offline
Interfaces
OfflineQueue
QueuedMutation
QueueStorage
Functions
createOfflineQueue
memoryStorage
Auth REST API
Overview
Default
Overview
socialSignIn
/callback/{id}
/callback/{id}
getSession
getSessionPost
signOut
signUpWithEmailAndPassword
signInEmail
resetPassword
verifyPassword
/verify-email
sendVerificationEmail
changeEmail
changePassword
updateSession
updateUser
deleteUser
requestPasswordReset
resetPasswordCallback
listUserSessions
/revoke-session
/revoke-sessions
/revoke-other-sessions
linkSocialAccount
listUserAccounts
/delete-user/callback
/unlink-account
/refresh-token
/get-access-token
/account-info
/ok
/error
Admin
setUserRole
getUser
createUser
adminUpdateUser
listUsers
adminListUserSessions
unbanUser
banUser
impersonateUser
/admin/stop-impersonating
revokeUserSession
revokeUserSessions
removeUser
setUserPassword
/admin/has-permission
Anonymous
/sign-in/anonymous
/delete-anonymous-user
Passkey
generatePasskeyRegistrationOptions
passkeyGenerateAuthenticateOptions
passkeyVerifyRegistration
passkeyVerifyAuthentication
/passkey/list-user-passkeys
/passkey/delete-passkey
/passkey/update-passkey
Device-authorization
/device/code
/device/token
/device
/device/approve
/device/deny
Multi-session
/multi-session/list-device-sessions
/multi-session/set-active
/multi-session/revoke
Jwt
getJSONWebKeySet
Oauth-provider
/oauth2/authorize
/oauth2/authorize
/oauth2/consent
/oauth2/continue
/oauth2/token
/oauth2/introspect
/oauth2/revoke
/oauth2/userinfo
/oauth2/userinfo
/oauth2/end-session
/oauth2/end-session
/oauth2/end-session/confirm
/oauth2/register
/oauth2/create-client
/oauth2/get-client
/oauth2/public-client
/oauth2/public-client-prelogin
/oauth2/get-clients
/oauth2/update-client
/oauth2/client/rotate-secret
/oauth2/delete-client
/oauth2/get-consent
/oauth2/get-consents
/oauth2/update-consent
/oauth2/delete-consent
Project
Features
Select theme
Dark
Light
Auto
GymClient
GymClient
=
ReturnType
<
typeof
createGymClient
>