APIInputs

Inputs

92 inputs, in the order the schema defines them.

AddWorkspacePluginInputinput

FieldTypeDescription
serverIdID!
statementSignedStatementInput!
statusWorkspacePluginStatus!
bundleUrlString

Only for a bundle source; omitted, this server's copy, which must have been uploaded.

publisherKeyLog[SignedStatementInput!]

Required when the publisher is not enrolled on this server.

Used by Mutation.addWorkspacePlugin

AuditLogFilterInputinput

FieldTypeDescription
actorUserIdID
serverIdID
commandIdString
typedVerbTypedVerbGql
runIdString
sinceString
untilString

Used by Query.listAuditLog

AuditLogPaginationInputinput

FieldTypeDescription
afterString

Opaque cursor from the previous page's nextCursor.

limitInt

Used by Query.listAuditLog

ChannelCursorInputinput

FieldTypeDescription
createdAtDateTime!
conversationIdID!

Used by Query.channels

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.

FieldTypeDescription
joinedOnlyBoolean! = false

Only channels the viewer has joined (the sidebar list).

includeArchivedBoolean! = false

Include archived channels.

Used by Query.channels

ClaimMlsKeyPackagesInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
devices[MlsDeviceRefInput!]!

Used by Mutation.claimMlsKeyPackages

CommandContextInputinput

FieldTypeDescription
workspaceIdID
conversationIdID
threadIdID
selectedTextString
selectedMessageIdID
selectedMessageIds[ID!]
focusedSurfaceString
activePanelString

Used by ExecuteCommandInput, ExecuteMacroInput, Query.commands

ConfirmationProofInputinput

A confirmation proof: the token and args hash of the challenge a previous call returned.

FieldTypeDescription
inBandTokenInBandTokenInput!

Used by ExecuteCommandInput, ExecuteMacroInput

CreateAttachmentInputinput

FieldTypeDescription
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.

FieldTypeDescription
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

CreateChannelLensInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
nameString!
filterSpecFilterSpecInput!
isSharedBoolean

Used by Mutation.createChannelLens

CreateConversationInputinput

FieldTypeDescription
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

CreateCustomEmojiInputinput

FieldTypeDescription
serverIdID!
nameString!
imageBase64String!

Used by Mutation.createCustomEmoji

CreateIncomingWebhookInputinput

Create a channel's incoming webhook.

FieldTypeDescription
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

FieldTypeDescription
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

CreateKeybindInputinput

FieldTypeDescription
scopeKeybindScope!
workspaceIdID
keystrokeString!
commandIdString!
contextKeybindContext!
presetArgsJSON

Used by Mutation.createKeybind

CreateMacroInputinput

FieldTypeDescription
serverIdID!
nameString!
descriptionString
steps[MacroStepInput!]!
aiCallableBoolean! = false
nlDescriptionString! = ""
intentSamples[String!]! = []
sensitivityCommandSensitivity! = SAFE

Used by Mutation.createMacro

CreatePipelineInputinput

FieldTypeDescription
serverIdID!
nameString!
descriptionString
triggerPipelineTriggerInput!
filterPipelineFilterInput
actions[PipelineActionInput!]!
cooldownSecsInt

Used by Mutation.createPipeline

CreateServerInputinput

FieldTypeDescription
nameString!

Used by Mutation.createServer

CreateUserCommandInputinput

FieldTypeDescription
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

DeleteAttachmentInputinput

FieldTypeDescription
serverIdID!
attachmentIdID!

Used by Mutation.deleteAttachment

DeleteKeybindInputinput

FieldTypeDescription
keybindIdID!

Used by Mutation.deleteKeybind

DeleteMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!

Used by Mutation.deleteMessage

DeleteUserCommandInputinput

FieldTypeDescription
commandIdString!

Used by Mutation.deleteUserCommand

DeleteWorkspaceInputinput

Delete a workspace and everything in it.

FieldTypeDescription
serverIdID!
confirmNameString!

The workspace's name, typed again to confirm.

Used by Mutation.deleteWorkspace

DeleteWorkspaceStateInputinput

FieldTypeDescription
serverIdID!
keyString!
scopeWorkspaceStateScopeGql!

Used by Mutation.deleteWorkspaceState

DndWindowInputinput

FieldTypeDescription
startString!

"HH:MM" (or "HH:MM:SS").

endString!

"HH:MM" (or "HH:MM:SS"); must differ from start.

timezoneString!

IANA timezone name, e.g. Europe/Prague.

Used by UpdateNotificationSettingsInput

EditEncryptedMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!
envelopeString!

Used by Mutation.editEncryptedMessage

EditMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!
textString!

Used by Mutation.editMessage

ExecuteCommandInputinput

FieldTypeDescription
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

FieldTypeDescription
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

FilterConditionInputinput

FieldTypeDescription
fieldFilterField!
opFilterOp!
valueJSON!

Used by FilterSpecInput

FilterSpecInputinput

FieldTypeDescription
conditions[FilterConditionInput!]!
logicFilterLogic!

Used by CreateChannelLensInput, UpdateChannelLensInput

FinalizeAttachmentInputinput

FieldTypeDescription
serverIdID!
attachmentIdID!

Used by Mutation.finalizeAttachment

ForwardMessageInputinput

FieldTypeDescription
serverIdID!
sourceConversationIdID!
targetConversationIdID!
messageIdID!

Used by Mutation.forwardMessage

HeartbeatInputinput

FieldTypeDescription
workspaceIdID!
statusPresenceStatus!

Used by Mutation.heartbeat

InBandTokenInputinput

FieldTypeDescription
tokenString!
argsHashString!

Used by ConfirmationProofInput

InboxCursorInputinput

FieldTypeDescription
lastActivityAtDateTime!
conversationIdID!

Used by Query.inboxConversations

JoinRemoteWorkspaceInputinput

Join a workspace on another host through this relay.

FieldTypeDescription
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

JoinRequestCursorInputinput

FieldTypeDescription
createdAtDateTime!
requestIdID!

Used by Query.joinRequests

JoinServerByInviteInputinput

FieldTypeDescription
inviteTokenString!

Used by Mutation.joinServerByInvite

MacroStepInputinput

FieldTypeDescription
commandIdString!
argsJSON

Used by CreateMacroInput, UpdateMacroInput

MarkAllAsReadInputinput

FieldTypeDescription
workspaceIdID!

Used by Mutation.markAllAsRead

MarkAsReadInputinput

FieldTypeDescription
workspaceIdID!
conversationIdID!
readAtDateTime!

Used by Mutation.markAsRead

MarkAsUnreadInputinput

FieldTypeDescription
workspaceIdID!
conversationIdID!
messageIdID!

Used by Mutation.markAsUnread

MessageChangeCursorInputinput

One conversation to read in messageChanges, with the cursor the client stored for it.

FieldTypeDescription
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

Input for messageChanges.

FieldTypeDescription
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

MessageCursorInputinput

FieldTypeDescription
sentAtDateTime!
messageIdID!

Used by Query.messages, Query.threadMessages, SearchMessagesInput

MessageReportCursorInputinput

FieldTypeDescription
createdAtDateTime!
reportIdID!

Used by Query.messageReports

MlsDeviceRefInputinput

FieldTypeDescription
principalIdString!
deviceIdID!

Used by ClaimMlsKeyPackagesInput

MlsWelcomeCursorInputinput

Where a page of pending Welcomes starts: after the Welcome with this createdAt and id.

FieldTypeDescription
createdAtDateTime!
welcomeIdID!

Used by Query.myMlsWelcomes

MuteConversationInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
mutedUntilDateTime

Used by Mutation.muteConversation

NotificationCursorInputinput

FieldTypeDescription
createdAtDateTime!
notificationIdID!

Used by Query.myNotifications

PinMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!

Used by Mutation.pinMessage

PipelineActionInputinput

FieldTypeDescription
commandIdString!

The command to run; chat.post_message with postAsBot.

argsJSON

The command's arguments; left out with postAsBot.

postAsBotPipelinePostAsBotInput

Makes this a Post as bot action, on the Member Joined trigger only. Owner or Moderator.

Used by CreatePipelineInput, UpdatePipelineInput

PipelineFilterConditionInputinput

FieldTypeDescription
conditionTypeString!
patternString
userIdID
conversationIdID

Used by PipelineFilterInput

PipelineFilterInputinput

FieldTypeDescription
conditions[PipelineFilterConditionInput!]!

Used by CreatePipelineInput, UpdatePipelineInput

PipelinePostAsBotInputinput

A message a bot posts when someone joins.

FieldTypeDescription
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

PipelineTriggerInputinput

FieldTypeDescription
kindPipelineTriggerKindGql!
conversationIdID

Used by CreatePipelineInput, UpdatePipelineInput

PredecessorInputinput

The conversation a successor replaces.

FieldTypeDescription
hostServerIdString!
conversationIdID!

Used by CreateConversationInput

RemoteMemberInputinput

Someone from another server to start a conversation with.

FieldTypeDescription
principalIdString!
relayUrls[String!]!

Their relays, tried in order to fetch their identity.

Used by CreateConversationInput, Mutation.addConversationMembers

ReplyToMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
rootMessageIdID!
textString!
parentMessageIdID

Used by Mutation.replyToMessage

ReportEncryptedMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!
reasonString!
contentString!

The decrypted content, exactly as committed to.

frankingKeyString!
receiptString!
receiptKeyIdInt!
senderUserIdID!
senderDeviceIdID!
sentAtUsString!

Decimal microseconds.

Used by Mutation.reportEncryptedMessage

RequestAccountDeletionInputinput

Ask for the signed-in account to be deleted.

FieldTypeDescription
confirmUsernameString!

The account's username, typed again to confirm.

Used by Mutation.requestAccountDeletion

RequestMlsReaddInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
requestSignedStatementInput!

The mls-readd statement, signed by the session's device key.

Used by Mutation.requestMlsReadd

RotateIdentityKeyInputinput

FieldTypeDescription
entrySignedStatementInput!
deviceSignedStatementInput

Device certificate under the new identity key. Required for a recovery rotation.

Used by Mutation.rotateIdentityKey

SealedMessageInputinput

A sealed offer or answer: the 12-byte nonce and the AES-GCM ciphertext with its 16-byte tag appended, both unpadded base64url. The server checks only the encoding and the size.

FieldTypeDescription
nonceString!
ciphertextString!

Used by Mutation.sendDeviceLinkOffer, Mutation.sendDeviceLinkAnswer

SearchMessagesInputinput

Input for the searchMessages full-text-search query. query accepts free text plus the from:, in:, has:, before: and after: operators.

FieldTypeDescription
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

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!

Chosen by the client (UUID v7).

envelopeString!
threadRootMessageIdID
forwardedFromMessageIdID

Used by Mutation.sendEncryptedMessage

SendMessageInputinput

FieldTypeDescription
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

SetWorkspaceStateInputinput

FieldTypeDescription
serverIdID!
keyString!
valueJSON!
scopeWorkspaceStateScopeGql!
ttlSecondsInt

Used by Mutation.setWorkspaceState

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).

FieldTypeDescription
payloadString!
signatureString!

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.

FieldTypeDescription
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

FieldTypeDescription
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

ToggleReactionInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!
emojiString!

Used by Mutation.toggleReaction

TransferWorkspaceOwnershipInputinput

Hand a workspace's ownership to another member.

FieldTypeDescription
serverIdID!
userIdID!

The member, not a guest, who becomes the owner.

Used by Mutation.transferWorkspaceOwnership

UnmuteConversationInputinput

FieldTypeDescription
serverIdID!
conversationIdID!

Used by Mutation.unmuteConversation

UnpinMessageInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
messageIdID!

Used by Mutation.unpinMessage

UpdateBotInputinput

Change a bot; a field left out stays as it is.

FieldTypeDescription
botUserIdID!
nameString
runByString
readsGoToString
seesMemberJoinsBoolean

Whether it sees members joining the workspace.

Used by Mutation.updateBot

UpdateChannelLensInputinput

FieldTypeDescription
serverIdID!
lensIdID!
nameString
filterSpecFilterSpecInput
isSharedBoolean

Used by Mutation.updateChannelLens

UpdateConversationTopicInputinput

FieldTypeDescription
serverIdID!
conversationIdID!
topicString

Used by Mutation.updateConversationTopic

UpdateKeybindInputinput

FieldTypeDescription
keybindIdID!
keystrokeString!
commandIdString!
contextKeybindContext!
presetArgsJSON
isEnabledBoolean!

Used by Mutation.updateKeybind

UpdateMacroInputinput

FieldTypeDescription
macroIdID!
nameString!
descriptionString
steps[MacroStepInput!]!
aiCallableBoolean! = false
nlDescriptionString! = ""
intentSamples[String!]! = []
sensitivityCommandSensitivity! = SAFE

Used by Mutation.updateMacro

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.

FieldTypeDescription
displayNameString
avatarUrlString
statusTextString
bioString

Used by Mutation.updateMyProfile

UpdateNotificationSettingsInputinput

Replaces the editable settings (the manual pause is separate: setDoNotDisturb).

FieldTypeDescription
defaultLevelNotificationLevel!
keywords[String!]!

At most 20, each 2 to 40 characters; stored lower-cased and deduplicated.

dndDndWindowInput

Null turns the daily window off.

digestDigestFrequency!
reactionsBoolean

Whether reactions to the viewer's messages notify them; null keeps the current value.

Used by Mutation.updateNotificationSettings

UpdatePipelineInputinput

FieldTypeDescription
pipelineIdID!
nameString!
descriptionString
triggerPipelineTriggerInput!
filterPipelineFilterInput
actions[PipelineActionInput!]!
cooldownSecsInt

Used by Mutation.updatePipeline

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.

FieldTypeDescription
serverIdID!
enabledBoolean
modePublicJoinLinkMode
roleServerMemberRoleGql

MEMBER or GUEST; any other role is VALIDATION.

allowRemoteBoolean

Used by Mutation.updatePublicJoinLink

UpdateUserCommandInputinput

FieldTypeDescription
commandIdString!
titleString!
descriptionString!
steps[UserCommandStepInput!]!
isEnabledBoolean!
aiCallableBoolean

Omitted, keeps the stored value, which turns off when the new steps no longer let the agent run the macro.

nlDescriptionString

Omitted, keeps the stored value.

intentSamples[String!]

Omitted, keeps the stored value.

Used by Mutation.updateUserCommand

UpdateWorkspacePluginInputinput

FieldTypeDescription
serverIdID!
pluginIdString!
statementSignedStatementInput

A new version, or a re-signed one, of the same plugin.

statusWorkspacePluginStatus
bundleUrlString
publisherKeyLog[SignedStatementInput!]

Used by Mutation.updateWorkspacePlugin

UserCommandStepInputinput

One step of a macro.

FieldTypeDescription
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

WebhookHeaderInputinput

A header of a sample delivery.

FieldTypeDescription
nameString!
valueString!

Used by Query.previewWebhookFormat

WorkspaceInviteCursorInputinput

FieldTypeDescription
createdAtDateTime!
inviteIdID!

Used by Query.workspaceInvites

Generated from rim-ui/schema.graphql, the committed copy of the server's /api/sdl, at bcefe82