Inputs
92 inputs, in the order the schema defines them.
Nothing matches.
ChannelListFilterinput
Narrows the channels query. By default it lists every channel the viewer can see (public
channels plus private channels they belong to) that is not archived.
Field Type Description
joinedOnlyBoolean ! = false Only channels the viewer has joined (the sidebar list).
includeArchivedBoolean ! = false Include archived channels.
Used by Query.channels
CommandContextInputinput
Field Type Description
workspaceIdID
conversationIdID
threadIdID
selectedTextString
selectedMessageIdID
selectedMessageIds[ID !]
focusedSurfaceString
activePanelString
Used by ExecuteCommandInput , ExecuteMacroInput , Query.commands
CreateAttachmentInputinput
Field Type Description
serverIdID !
conversationIdID !
messageIdID
filenameString !
contentTypeString !
sizeBytesInt !
blobSha256String Required in an encrypted conversation: unpadded base64url SHA-256 of the blob.
Used by Mutation.createAttachment
CreateBotInputinput
Create a bot in a workspace.
Field Type Description
serverIdID !
nameString !
runByString !Who runs it: 1 to 200 characters of plain text.
readsGoToString !Where what it reads goes: 1 to 200 characters of plain text.
seesMemberJoinsBoolean Whether it sees members joining the workspace; off when left out.
Used by Mutation.createBot
CreateConversationInputinput
Field Type Description
serverIdID !
otherUserIdID For DM conversations.
memberIds[ID !]For Group conversations.
isChannelBoolean For Channel conversations.
titleString
isPrivateBoolean ! = false Channels only: visible to invited members alone. Cannot be changed later.
encryptedBoolean DMs and groups only: end-to-end encrypted from creation. Every member needs a device set
up for encryption. Defaults to false.
remoteMembers[RemoteMemberInput !]People from other servers, in the direct space only. With no otherUserId or
memberIds and one remote member, the conversation is a DM with them.
predecessorPredecessorInput The conversation this one succeeds, when its home is gone.
Used by Mutation.createConversation
CreateIncomingWebhookInputinput
Create a channel's incoming webhook.
Field Type Description
conversationIdID !
botUserIdID !The bot it posts as, an active bot of the channel's workspace.
presetWebhookPreset !
templateJSON The webhook's own format, with the preset PLAIN. Sent only to a server that lists the
capability webhook_formats.
testSessionIdID The caller's unbound test session whose URL the webhook keeps. Sent only to a server that
lists the capability webhook_test_sessions.
Used by Mutation.createIncomingWebhook
CreateInviteInputinput
Field Type Description
serverIdID !
expiresAtDateTime When the invite stops admitting anyone: in the future and at most 30 days from now
(VALIDATION otherwise). Seven days from now when omitted.
maxUsesInt
recipientEmailString Optional recipient to email the invite link to. Validated server-side;
malformed addresses return a validation error.
roleServerMemberRoleGql Role granted on join: MEMBER (default) or GUEST. Any other value is a
VALIDATION error.
Used by Mutation.createInvite
CreateUserCommandInputinput
Field Type Description
commandIdString !
titleString !
descriptionString !
steps[UserCommandStepInput !]!
aiCallableBoolean ! = false Lets the AI agent run the macro; refused unless every step is an AI-callable built-in
the server runs, with every argument fixed.
nlDescriptionString How the macro is described to the AI agent, at most 1,000 characters.
intentSamples[String !]Up to 10 example phrases for the AI agent, each at most 200 characters.
Used by Mutation.createUserCommand
DeleteWorkspaceInputinput
Delete a workspace and everything in it.
Field Type Description
serverIdID !
confirmNameString !The workspace's name, typed again to confirm.
Used by Mutation.deleteWorkspace
ExecuteCommandInputinput
Field Type Description
commandIdString !
argsJSON
commandContextCommandContextInput
confirmationConfirmationProofInput Confirmation proof from a previous executeCommand that returned
status: CONFIRMATION_REQUIRED. Required when re-submitting that call. The server
binds the proof to the actor, command id, arguments and context, so it cannot confirm a
different call.
isPipeBoolean
initiatorCommandInitiator Who issued this command. When omitted, the server treats the call as PALETTE, a
human action, never as an agent action. AGENT fails with FEATURE_DISABLED while the
instance has the AI command surface off.
runIdString An identifier the desktop app gives one stretch of an agent's calls. Kept on the audit
entry when the initiator is AGENT, and ignored otherwise.
Used by Mutation.executeCommand
ExecuteMacroInputinput
Field Type Description
macroIdID !
commandContextCommandContextInput
confirmationConfirmationProofInput Confirmation proof, as in ExecuteCommandInput.confirmation. One proof issued for the
macro covers every step of it.
initiatorCommandInitiator Who triggered this macro, as in ExecuteCommandInput.initiator: PALETTE when omitted.
Every step runs with this initiator.
Used by Mutation.executeMacro
JoinRemoteWorkspaceInputinput
Join a workspace on another host through this relay.
Field Type Description
hostServerIdString !
hostOriginString !The host's origin, from the invite link.
inviteTokenString The invite token; null for a current member or a join through a public link.
proofSignedStatementInput !A login statement over a remoteJoinChallenge , naming the host's server id.
delegationSignedStatementInput !A delegation of the signing device for this relay, the host and the workspace.
publicLinkTokenString The workspace's public link token (rim_pjl_…), instead of an invite.
messageString A note to the moderators, at most 500 characters, when the public link takes join
requests.
Used by Mutation.joinRemoteWorkspace
MessageChangeCursorInputinput
One conversation to read in messageChanges , with the cursor the client stored for it.
Field Type Description
conversationIdID !
afterString The cursor a previous messageChanges call returned for this conversation. Opaque.
Omit (or pass null) to read the conversation's whole history from the beginning.
Used by MessageChangesInput
MessageChangesInputinput
Field Type Description
serverIdID !
conversations[MessageChangeCursorInput !]!At most 100 conversations. One the caller cannot read comes back with status NO_ACCESS.
limitInt Maximum changes per conversation. Clamped to 1..=200; defaults to 100.
Used by Query.messageChanges
MlsWelcomeCursorInputinput
Where a page of pending Welcomes starts: after the Welcome with this createdAt and id.
Field Type Description
createdAtDateTime !
welcomeIdID !
Used by Query.myMlsWelcomes
PipelinePostAsBotInputinput
A message a bot posts when someone joins.
Field Type Description
botUserIdID !An active bot of the workspace.
conversationIdID !A plaintext channel that is not archived, which the bot is already in.
textString !What it posts, which may hold {username} and {name}.
Used by PipelineActionInput
RequestAccountDeletionInputinput
Ask for the signed-in account to be deleted.
Field Type Description
confirmUsernameString !The account's username, typed again to confirm.
Used by Mutation.requestAccountDeletion
SearchMessagesInputinput
Input for the searchMessages full-text-search query. query accepts free text plus the
from:, in:, has:, before: and after: operators.
Field Type Description
serverIdID !
queryString !
conversationIdID Optional explicit single-conversation scope, in addition to the in: search operator.
limitInt Clamped server-side; defaults to 25 if omitted.
cursorMessageCursorInput
dirPageDir Defaults to AFTER (most-recent-first) if omitted.
Used by Query.searchMessages
SendEncryptedMessageInputinput
Field Type Description
serverIdID !
conversationIdID !
messageIdID !Chosen by the client (UUID v7).
envelopeString !
threadRootMessageIdID
forwardedFromMessageIdID
Used by Mutation.sendEncryptedMessage
SendMessageInputinput
Field Type Description
serverIdID !
conversationIdID !
textString !
parentMessageIdID
forwardedFromMessageIdID The message this one forwards by sending its content again (an encrypted message's
content, after the person confirmed it is posted unencrypted). The caller must be able
to read it.
Used by Mutation.sendMessage
SignedStatementInputinput
A signed statement as the client sends it: the exact JSON text that was signed, and its
signature (ed25519:<base64url> in version 2 statements, bare base64url in version 1).
Used by AddWorkspacePluginInput , JoinRemoteWorkspaceInput , Mutation.loginWithKey , Mutation.addDeviceKey , Mutation.revokeDeviceKey , Mutation.publishProfileCard , Mutation.renewDelegations , Mutation.applyRemoteRevocation , Mutation.passwordResetStart , RequestMlsReaddInput , RotateIdentityKeyInput , SignupWithKeyInput , UpdateWorkspacePluginInput
SignupWithKeyInputinput
Input for signupWithKey : an account created from a key identity and an OPAQUE password.
The registration mode decides the tokens: exactly one of instanceInviteToken and
workspaceInviteToken in invite-only mode, none in open mode, and in pow mode one token or
proofOfWork. The account has no email unless an instance invite bound to an address gives
it that address.
Field Type Description
usernameString !
displayNameString Optional display name, stored without control and invisible format characters and with
whitespace collapsed; at most 64 characters after that. Falls back to username when
absent or when nothing visible is left.
keyLog[SignedStatementInput !]!The whole key log, inception first.
deviceSignedStatementInput !Certificate of the device signing up; the new session belongs to it.
proofSignedStatementInput !A login statement signed by that device over a fresh keyLoginChallenge .
passwordRegistrationString !The OPAQUE RegistrationUpload of the account's password, unpadded base64url,
registered for this principal with passwordRegistrationStart .
instanceInviteTokenString
workspaceInviteTokenString
proofOfWorkString In pow registration mode: an 8-byte nonce, unpadded base64url, such that
SHA-256("rim.pow.v1\0" || server id || "\0" || inception payload || nonce) starts with
the descriptor's powBits zero bits.
acceptedTermsUrlString The terms of service the person accepted: serverInfo.termsUrl, sent back unchanged.
Required when the server has terms (VALIDATION when missing or different); ignored
when it has none.
confirmedMinimumAgeInt The minimum age the person confirmed reaching: serverInfo.minimumAge, sent back
unchanged once they confirm it. Required when the server has a minimum age
(VALIDATION when missing or different); ignored when it has none.
keepSignedInBoolean !"Keep me signed in", as for loginWithKey .
keepKeyHeldBoolean !The client holds its own keep key, as for loginWithKey .
Used by Mutation.signupWithKey
SubmitMlsCommitInputinput
Field Type Description
serverIdID !
conversationIdID !
incarnationInt !
epochInt !
cipherSuiteInt Required for an incarnation's first Commit (epoch 0).
commitString !
welcomeString Required when the Commit adds devices.
Used by Mutation.submitMlsCommit
TransferWorkspaceOwnershipInputinput
Hand a workspace's ownership to another member.
Field Type Description
serverIdID !
userIdID !The member, not a guest, who becomes the owner.
Used by Mutation.transferWorkspaceOwnership
UpdateBotInputinput
Change a bot; a field left out stays as it is.
Field Type Description
botUserIdID !
nameString
runByString
readsGoToString
seesMemberJoinsBoolean Whether it sees members joining the workspace.
Used by Mutation.updateBot
UpdateMyProfileInputinput
Patch fields on the authenticated user's profile.
Each field is independently optional. Omitting a field leaves the existing
value unchanged. Sending an explicit empty string clears the field
(after trim + control-char strip).
avatarUrl is empty or the url that POST /api/files/avatar answered the caller.
Setting it deletes the caller's other stored avatar files; clearing it deletes all of them.
Used by Mutation.updateMyProfile
UpdatePublicJoinLinkInputinput
The Owner's change to a workspace's public link; an omitted field stays as it is. Turning
the link on for the first time issues its token.
Used by Mutation.updatePublicJoinLink
UserCommandStepInputinput
Field Type Description
commandIdString !A built-in, app or plugin command id.
argsJSON
ask[String !]Names of the arguments the client asks for when the macro runs: at most 32, each 1 to
64 bytes, none twice and none a key of args. Omitted, none on create, and on update
what the stored step at the same position asked for when it names the same command.
Used by CreateUserCommandInput , UpdateUserCommandInput