Queries
| Operation | Description |
|---|---|
account | Return an account with the caller's role and capabilities in it. |
accountInvitations | List account invitations. |
accountMembers | List the members of an account with their roles, oldest first. |
accounts | List the personal and team accounts the caller belongs to, oldest first, with the caller's role and capabilities in each. |
apiKey | Return one API key's metadata, status and scopes, without its secret. |
apiKeys | List the caller's API keys, or the keys bound to one project, newest first; every surface returns active keys unless status selects expired, revoked or all. |
currentUser | Return the profile of the signed-in user; GraphQL and MCP also return the profile of the user who owns an API key. |
invitations | List invitations across projects. |
projectInvitation | Return an invitation. |
projectInvitations | List the invitations. |
projectMember | Returns one member of the project with role, capabilities and the read-only AI budget projection. |
projectMembers | Lists everyone with access to the project (its members and the owning account's owners and admins, each once under their higher grant) with role, source and resolved capabilities, one page at a time by user ID cursor. |
projectToolAccessProfile | Return tool access profile. |
Mutations
| Operation | Description |
|---|---|
acceptAccountInvitation | Accept account invitation. |
createAccount | Create a team account that the caller owns. |
createAccountInvitation | Create account invitation. |
createApiKey | Create an API key and return its secret once. |
createProjectInvitation | Create an invitation. |
deleteAccountInvitation | Delete account invitation. |
deleteAccountMember | Remove a member from the account, or leave it yourself; removing another member requires account.members.manage. |
deleteApiKey | Revoke an API key so that it can no longer authenticate; the key stays listed with status revoked. |
deleteProjectInvitation | Delete an invitation. |
deleteProjectMember | Removes a member from the project; the last owner cannot be removed, so transfer ownership first. |
resendProjectInvitation | Resend an invitation. |
updateAccount | Change an account's name or slug. |
updateAccountMember | Change an account member's role. |
updateApiKey | Change an API key's name or expiry. |
updateProjectMember | Changes a non-owner member's role to admin, editor or viewer; the owner changes only through updateProjectOwner. |
updateProjectOwner | Transfers project ownership from the calling owner to another existing member and demotes the previous owner to admin. |