APIObjects

Objects

155 objects, in the order the schema defines them.

AccountDeletionScheduleobject

A pending account deletion.

FieldTypeDescription
scheduledForDateTime!

When the grace period ends and the account is purged. Until then the account works as before and cancelAccountDeletion keeps it.

Used by Mutation.requestAccountDeletion

Attachmentobject

FieldTypeDescription
idID!
statusAttachmentStatusEnum!
filenameString!
contentTypeString!
sizeBytesInt!
blobSha256String

Unpadded base64url SHA-256 of an encrypted conversation's blob.

Used by Message, Mutation.finalizeAttachment

AuditLogEntryobject

FieldTypeDescription
idID!
actorUserIdID!
serverIdID!
commandIdString!
initiatorString!
argsRedactedJSON!
sensitivityString!
dangerousBoolean!
confirmationKindString!
typedVerbTypedVerbGql
outcomeAuditOutcomeGql!
errorKindString
capabilityCheckOutcomeString
confirmationOutcomeString
runIdString

The identifier the desktop app gave the stretch of an agent's calls this entry belongs to. Null unless the initiator was AGENT.

createdAtString!

Used by AuditLogPage

AuditLogPageobject

FieldTypeDescription
items[AuditLogEntry!]!
nextCursorString

Opaque cursor pointing after the last item; pass to after on next query.

pageInfoAuditLogPageInfo!

Used by Query.listAuditLog

AuditLogPageInfoobject

FieldTypeDescription
hasNextPageBoolean!
hasPrevPageBoolean!

Used by AuditLogPage

BlockedPrincipalobject

A principal the caller blocked: its DM requests are ignored and its invites and key package claims refused.

FieldTypeDescription
principalIdString!

The blocked principal's id.

userIdID

The account on this server that holds the principal; null when none does.

usernameString

That account's username; null when no account here holds the principal.

displayNameString

That account's display name; null when it has none or no account here holds the principal.

blockedAtDateTime!

When the caller blocked the principal.

Used by Query.myBlockedPrincipals

Botobject

A bot account of a workspace.

FieldTypeDescription
userIdID!
serverIdID!
nameString!
runByString!

Who runs it, as the person who added it says.

readsGoToString!

Where what it reads goes, as the person who added it says.

addedByNameString

Who added it.

createdAtDateTime!
deactivatedAtDateTime

When it was deactivated; null while it is active.

seesMemberJoinsBoolean!

Whether an Owner or Moderator let it see members joining the workspace.

Used by CreatedBot, Mutation.updateBot, Mutation.deactivateBot, Query.bots

BotInfoobject

What the person who added a bot says about it. RIM cannot check it.

FieldTypeDescription
runByString!

Who runs it.

readsGoToString!

Where what it reads goes.

addedByNameString

Who added it.

Used by ServerMember, User

BotTokenobject

A bot's token, without its secret, which is shown once when it is created.

FieldTypeDescription
idID!
labelString!
createdAtDateTime!
lastUsedAtDateTime

When it was last used, to the minute; null when it never was.

revokedAtDateTime

When it was revoked; null while it works.

Used by CreatedBotToken, Mutation.revokeBotToken, Query.botTokens

ChannelCursorOutputobject

FieldTypeDescription
createdAtDateTime!
conversationIdID!

Used by ChannelPage

ChannelLensobject

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
createdByID!
nameString!
filterSpecFilterSpecGql!
isSharedBoolean!
createdAtDateTime!
updatedAtDateTime!

Used by Mutation.createChannelLens, Mutation.updateChannelLens, Query.channelLenses

ChannelPageobject

FieldTypeDescription
items[Conversation!]!
nextChannelCursorOutput
prevChannelCursorOutput
pageInfoPageInfo!

Used by Query.channels

ClaimedKeyPackageobject

FieldTypeDescription
userIdID!
principalIdString!
deviceIdID!
keyPackageString!
keyPackageRefString!
lastResortBoolean!

Used by Mutation.claimMlsKeyPackages

Commandobject

FieldTypeDescription
idString!
titleString!
descriptionString!
categoryString!
sourceKindCommandSourceKind!
executionTargetCommandExecutionTarget!
arguments[CommandArgument!]!

The arguments the command accepts, in order. Clients build the palette form and the AI tool schema from them.

requiredContext[String!]!
requiredCapabilities[String!]!
visibleInPaletteBoolean!
visibleInContextMenusBoolean!
keybindCapableBoolean!
dangerousBoolean!
nlDescriptionString

AI-optimised natural-language description; falls back to description when absent. Sanitized at registration time, so the frontend can trust this field even when rendering inside a prompt template.

intentSamples[String!]!

Example phrases a user might speak/type to invoke this command. Individually sanitized at registration; bounded in count and length.

aiCallableBoolean!

true when an AI agent may call the command. Only these commands appear on the AI surface and in commandDiscover. Always false while the instance has the AI command surface off.

sensitivityCommandSensitivity!

Classification tier driving audit verbosity, mutating-call caps, and the UX confirm-modal placement.

Used by Mutation.createUserCommand, Mutation.updateUserCommand, Query.commands, Query.commandDiscover, Query.macroStepCommands

CommandArgumentobject

One argument a command accepts. defaultValue is JSON because arguments may be strings, numbers, booleans or objects; allowedValues lists the choices of an ENUM argument.

FieldTypeDescription
nameString!
titleString!
descriptionString!
argumentTypeCommandArgumentType!
requiredBoolean!
defaultValueJSON
allowedValues[String!]

Used by Command

CommandResultobject

FieldTypeDescription
statusCommandResultStatus!
messageString!
payloadJSON
followUpCommands[String!]!
pipelineStages[PipeStageResult!]
confirmationRequiredConfirmationChallenge

Populated iff status == CONFIRMATION_REQUIRED. Carries the server-issued challenge (token + argsHash + expiresAt). The frontend presents the modal, then re-issues the original executeCommand mutation with confirmation: { inBandToken: { ... } }.

Used by Mutation.executeCommand, Mutation.executeMacro

ConfirmationChallengeobject

A confirmation challenge the server issued for one command call. The client asks the user to confirm, then re-submits the call with token and argsHash as its confirmation proof before expiresAt.

FieldTypeDescription
tokenString!
argsHashString!
expiresAtDateTime!

Used by CommandResult

Contactobject

FieldTypeDescription
principalIdString!
relayUrls[String!]!
addedAtDateTime!

Used by Mutation.addContact, Query.contacts

Conversationobject

FieldTypeDescription
idID!
serverIdID!
conversationTypeConversationTypeEnum!
titleString
topicString
memberIds[ID!]!
isPrivateBoolean!

Channels only: visible to its members alone. Fixed at creation.

isArchivedBoolean!
archivedAtDateTime
memberCountInt!
createdByID
slowModeSecondsInt!

Slow mode: minimum seconds between two messages of the same non-moderator member; 0 when off.

encryptedAtDateTime

When the conversation became end-to-end encrypted; null for plaintext. Messages from then on are encrypted.

pendingMemberIds[ID!]!

Members invited to an encrypted conversation who have no device set up for encryption yet. They cannot read or send; they join with acceptConversationInvite once a device is ready, without the history before that, or declineConversationInvite. Not in memberIds or memberCount.

postingPolicyPostingPolicy!

Who may post in the channel: EVERYONE or MODERATORS (the workspace's Owner and Moderators). Always EVERYONE for DMs and groups.

postingAllowsThreadsBoolean!

Under MODERATORS, whether everyone else may still add reactions and reply in threads. Ignored under EVERYONE.

isMutedBoolean!
isMemberBoolean!

Whether the viewer is a member (for channels: has joined it).

notificationLevelNotificationLevel

The viewer's own notification level for this conversation; null inherits the workspace default.

effectiveNotificationLevelNotificationLevel!

The level that applies to the viewer now: NONE while muted, else notificationLevel, else the workspace default.

mlsGroupMlsGroup

The conversation's current MLS group; null for plaintext, before the first Commit, and for a pending member.

predecessorConversationPredecessor

The conversation this one succeeds, on the host that held it; null for any other.

dmRequestPendingBoolean

For a DM: whether the other member's DM request for it is still pending, so the caller sees their messages wait for acceptance; false once it is accepted or ignored, when there is none, and for another member whose relay is another server. Null for groups and channels.

Used by ChannelPage, ConversationPage, Mutation.createConversation, Mutation.updateConversationTopic, Mutation.joinChannel, Mutation.addConversationMembers, Mutation.setConversationArchived, Mutation.setSlowMode, Mutation.setChannelPosting, Mutation.acceptConversationInvite, Notification, Query.conversation

ConversationMemberRemovalobject

Someone an Owner or Moderator removed from a channel.

FieldTypeDescription
idID!
conversationIdID!
userIdID!

The person removed.

removedByIdID!

The Owner or Moderator who removed them.

removedAtDateTime!
userUser

The person removed (null if the account no longer exists).

removedByUser

Who removed them (null if the account no longer exists).

Used by Query.conversationMemberRemovals

ConversationMessageChangesobject

The changes of one conversation after the requested cursor, oldest first.

FieldTypeDescription
conversationIdID!
statusConversationChangesStatus!
changes[MessageChange!]!
cursorString!

Store this and pass it as after next time. Opaque.

hasMoreBoolean!

More changes follow cursor; ask again with it right away.

Used by Query.messageChanges

ConversationNotificationLevelobject

The viewer's level for one conversation, as returned by setConversationNotificationLevel.

FieldTypeDescription
conversationIdID!
levelNotificationLevel

The conversation's own level; null inherits the workspace default.

effectiveLevelNotificationLevel!

What applies now: NONE while muted, else level, else the workspace default.

mutedUntilDateTime

Used by Mutation.setConversationNotificationLevel

ConversationPageobject

FieldTypeDescription
items[Conversation!]!
nextInboxCursorOutput
prevInboxCursorOutput
pageInfoPageInfo!

Used by Query.inboxConversations

ConversationPredecessorobject

The conversation a successor replaces, on the host that held it.

FieldTypeDescription
hostServerIdString!
conversationIdID!

Used by Conversation

CreateInvitePayloadobject

FieldTypeDescription
inviteTokenString!
inviteIdID!

Used by Mutation.createInvite

CreatedBotobject

A new bot and its first token.

FieldTypeDescription
botBot!
tokenString!

rimbot_…, shown this once.

Used by Mutation.createBot

CreatedBotTokenobject

A new token of a bot.

FieldTypeDescription
botTokenBotToken!
tokenString!

rimbot_…, shown this once.

Used by Mutation.createBotToken

CreatedIncomingWebhookobject

A new incoming webhook and its token.

FieldTypeDescription
webhookIncomingWebhook!
tokenString!

rimhook_…, shown this once. The URL is /api/hooks/ and this on the server's address, and it is a secret. The empty string when keptTestUrl is true: the client already has the URL, and the server held only its hash.

keptTestUrlBoolean!

Whether the webhook kept the token of the test session named in testSessionId.

Used by Mutation.createIncomingWebhook

CustomEmojiobject

FieldTypeDescription
idID!
serverIdID!
nameString!
imageUrlString!

Where a member of the workspace loads the image: /api/emoji/<id> on this server, with the session cookie.

uploadedByID!
createdAtDateTime!

Used by Mutation.createCustomEmoji, Query.customEmojis

DeleteWorkspacePayloadobject

FieldTypeDescription
deletedBoolean!

Whether the workspace was deleted.

Used by Mutation.deleteWorkspace

DeletedMemberMessagesobject

The outcome of one deleteMemberMessages call.

FieldTypeDescription
deletedInt!

Messages deleted by this call.

channelsInt!

Channels those messages were in.

hasMoreBoolean!

Whether matching messages remain; call again to delete them.

Used by Mutation.deleteMemberMessages

DeviceKeyobject

FieldTypeDescription
deviceIdID!

The client-chosen device id from the certificate.

publicKeyString!

The device key in tagged form, <algorithm>:<base64url> (today always ed25519:…).

nameString!
keySeqInt!

Key log seq whose identity key signed the certificate.

certificateSignedStatement!
addedAtDateTime!
lastUsedAtDateTime
revokedAtDateTime

Used by KeyIdentity, Mutation.addDeviceKey, Mutation.revokeDeviceKey

DeviceLinkobject

FieldTypeDescription
stateDeviceLinkState!
expiresAtDateTime!
offerSealedMessage

The new device's sealed offer, while OFFERED or ANSWERED.

Used by Mutation.sendDeviceLinkAnswer, Query.deviceLink

DmFloorSourceobject

Where the floor that refuses DMs from outside comes from.

FieldTypeDescription
kindDmFloorSourceKind!
workspaceIdID

The workspace, for WORKSPACE.

workspaceNameString

Used by MyDmSettings

DmRequestobject

A conversation started by someone outside the caller's contacts.

FieldTypeDescription
idID!
fromPrincipalIdString!
cardSignedStatement!

The sender's profile card as the host sent it.

hostServerIdString!
conversationIdID!
heldItems[RelayItem!]!

Up to three items of the conversation, held while the request is pending.

statusDmRequestStatus!
createdAtDateTime!
expiresAtDateTime!

Used by Mutation.acceptDmRequest, Mutation.ignoreDmRequest, Query.dmRequests

DndWindowobject

A daily do-not-disturb window. start/end are "HH:MM" wall-clock times in timezone (an IANA name); the window crosses midnight when end is before start.

FieldTypeDescription
startString!
endString!
timezoneString!

Used by NotificationSettings

FilterConditionGqlobject

FieldTypeDescription
fieldFilterField!
opFilterOp!
valueJSON!

Used by FilterSpecGql

FilterSpecGqlobject

FieldTypeDescription
conditions[FilterConditionGql!]!
logicFilterLogic!

Used by ChannelLens

HomeLayoutobject

The signed-in person's Home layout, kept on their home server.

FieldTypeDescription
layoutJSON!

The layout: { "version": 1, "boxes": [{ "id", "kind", "width", "settings"? }] }.

editedAtDateTime!

When the person made the edit, never later than the server's clock when it was stored.

updatedAtDateTime!

When the server stored it.

Used by HomeLayoutSaved, Query.homeLayout

HomeLayoutSavedobject

The answer to saveHomeLayout.

FieldTypeDescription
keptBoolean!

True when the layout sent was stored; false when the stored layout had a later editedAt and was kept instead.

layoutHomeLayout!

The layout just stored, or the stored one that was kept.

Used by Mutation.saveHomeLayout

InboxCursorOutputobject

FieldTypeDescription
lastActivityAtDateTime!
conversationIdID!

Used by ConversationPage

IncomingWebhookobject

A URL that posts to one channel as one bot, without its token, which is shown once.

FieldTypeDescription
idID!
conversationIdID!
botUserIdID!

The bot it posts as.

presetWebhookPreset!
templateJSON

Its own format; null for a webhook that follows its preset, such as an unedited GitHub one.

createdAtDateTime!
lastUsedAtDateTime

When it was last used, to the minute; null when it never was.

revokedAtDateTime

When it was revoked; null until then.

Used by CreatedIncomingWebhook, Mutation.revokeIncomingWebhook, Mutation.updateIncomingWebhookFormat, Query.incomingWebhooks

InstanceAbuseReportobject

An abuse report filed with this server, by a local user or from the abuse address.

FieldTypeDescription
idID!

The report's id.

reporterUserIdID

The local user who filed the report; null for one the operator filed from the abuse address.

reporterUsernameString

The reporter's username; null with reporterUserId.

subjectPrincipalIdString

The principal reported (rimp1_…); null for a report naming only a server.

subjectUsernameString

The username of the account holding the reported principal here; null when no local account holds it.

subjectServerIdString

The server reported (rims1_…); null for a report naming only a principal.

requestIdID

The DM request the report was filed on; null for one filed otherwise.

reasonString!

Why the report was filed.

createdAtDateTime!

When the report was filed.

resolvedAtDateTime

When the report was resolved; null while it is open.

resolvedBoolean!

Whether the report is resolved.

Used by Mutation.instanceResolveReport, Query.instanceReports

InstanceAccountobject

A local account, as the moderation queue names it.

FieldTypeDescription
userIdID!

The account's user id.

usernameString!

The account's username.

principalIdString

The account's principal (rimp1_…); null for a purged account that never had one.

createdAtDateTime!

When the account was created.

Used by InstancePrincipalBlockOutcome, InstanceProfileClearOutcome

InstanceIpBlockobject

An address or range on this server's IP deny list, refused on every route but the liveness probe.

FieldTypeDescription
cidrString!

The address or range in CIDR form, IPv4 or IPv6.

reasonString!

Why the address or range was blocked.

expiresAtDateTime

When the block lifts; null for a block that lasts until it is removed.

createdAtDateTime!

When the block was made, or its reason and expiry last replaced.

expiredBoolean!

Whether the block has expired and is no longer in force.

Used by InstanceIpBlockOutcome, Query.instanceIpBlocks

InstanceIpBlockOutcomeobject

What blocking an address or range did.

FieldTypeDescription
blockInstanceIpBlock!

The block now in force.

newlyBlockedBoolean!

False when the range was blocked already; its reason and expiry were replaced.

Used by Mutation.instanceBlockIp

InstancePrincipalBlockobject

A principal this server refuses: its sessions were ended, and its signups, logins and deliveries are refused.

FieldTypeDescription
principalIdString!

The principal blocked (rimp1_…).

usernameString

The username of the account holding the principal here; null when no local account holds it.

reasonString!

Why the principal was blocked.

createdAtDateTime!

When the principal was blocked.

Used by Query.instancePrincipalBlocks

InstancePrincipalBlockOutcomeobject

What blocking one principal or account did.

FieldTypeDescription
principalIdString

The principal blocked; null for an account of a cascade that never had a key identity.

newlyBlockedBoolean!

False when it was blocked already; its reason was replaced.

accountInstanceAccount

The local account blocked; null when no local account holds the principal.

reasonString!

The reason recorded; a cascade's accounts carry an "(invited by …)" suffix.

endedSessionsInt!

How many of the account's sessions were ended.

ignoredRequestsInt!

How many pending DM requests from the principal were ignored.

revokedInvitesInt!

How many of the account's invites with uses left were revoked.

emailBlockedBoolean!

Whether the account's email is now refused at signup.

invitees[InstanceAccount!]!

The accounts the account's invites created, oldest first.

Used by Mutation.instanceBlockPrincipal

InstancePrincipalUnblockOutcomeobject

What lifting a principal's block did.

FieldTypeDescription
liftedBoolean!

Whether the principal was blocked.

emailUnblockedBoolean!

Whether the account's email was blocked and no longer is.

Used by Mutation.instanceUnblockPrincipal

InstanceProfileClearOutcomeobject

What clearing an account's profile did.

FieldTypeDescription
principalIdString!

The principal whose account was cleared (rimp1_…).

accountInstanceAccount!

The local account whose display name, picture, status and bio were cleared.

lockedUntilDateTime

Until when the account cannot set its display name, picture, status or bio; null when it was not locked.

Used by Mutation.instanceClearProfile

InviteTokenPreviewGqlobject

Read-only preview of a registration token.

Does NOT consume the token. Workspace-invite previews carry server and inviter info; instance-invite previews are minimal.

FieldTypeDescription
tokenTypeInviteTokenTypeGql!
expiresAtDateTime

None for workspace invites that were issued without an expiry.

workspaceWorkspaceInvitePreviewGql

Populated only when token_type == WORKSPACE.

Used by Query.previewInviteToken

JoinByPublicLinkPayloadobject

FieldTypeDescription
outcomeJoinByPublicLinkOutcome!
serverIdID!
joinRequestJoinRequest

The filed request, with REQUESTED.

Used by Mutation.joinByPublicLink

JoinRequestobject

A person's request to join a workspace through its public link.

FieldTypeDescription
idID!
serverIdID!
workspaceNameString!
userIdID!
messageString

The person's note to the moderators, at most 500 characters.

statusJoinRequestStatus!
createdAtDateTime!
expiresAtDateTime!

When an open request expires: 30 days after it was filed.

decidedAtDateTime
decidedByIdID
userUser

The person asking (null once the account no longer exists).

Used by JoinByPublicLinkPayload, JoinRequestPage, Mutation.withdrawJoinRequest, Mutation.acceptJoinRequest, Mutation.declineJoinRequest, Query.myJoinRequests

JoinRequestCursorOutputobject

FieldTypeDescription
createdAtDateTime!
requestIdID!

Used by JoinRequestPage

JoinRequestPageobject

A workspace's open join requests ordered createdAt DESC, id DESC (newest first), with the standard cursor semantics: AFTER pages go to older requests.

FieldTypeDescription
items[JoinRequest!]!
nextJoinRequestCursorOutput
prevJoinRequestCursorOutput
pageInfoPageInfo!

Used by Query.joinRequests

JoinServerByInvitePayloadobject

FieldTypeDescription
serverIdID!

Used by Mutation.joinServerByInvite

KeyIdentityobject

What this server holds about the signed-in account's key identity. For an account without one, principalId and keySeq are null and the lists are empty.

FieldTypeDescription
principalIdString
keySeqInt
keyLog[KeyLogEntry!]!

Oldest entry first.

devices[DeviceKey!]!

Every device, revoked ones included, oldest first.

profileCardProfileCard

Used by Mutation.rotateIdentityKey, Query.myKeyIdentity

KeyLogEntryobject

FieldTypeDescription
seqInt!
kindKeyLogEntryKind!
statementSignedStatement!
createdAtDateTime!

Used by KeyIdentity, Query.keyLog

KeyLoginChallengeobject

FieldTypeDescription
challengeIdID!
nonceString!

Copy into the login statement's nonce.

expiresAtDateTime!

Used by Mutation.keyLoginChallenge, Mutation.passwordResetChallenge

Keybindobject

FieldTypeDescription
idID!
sourceKeybindSource!
scopeKeybindScope!
workspaceIdID
keystrokeString!
commandIdString!
contextKeybindContext!
presetArgsJSON
isEnabledBoolean!

Used by Mutation.createKeybind, Mutation.updateKeybind, Query.resolvedKeybinds

LinkPreviewobject

FieldTypeDescription
idID!
messageIdID!
urlString!
titleString
descriptionString
imageUrlString
siteNameString
fetchedAtDateTime!

Used by Message

LoginPayloadobject

Payload returned from loginWithKey.

FieldTypeDescription
userIdID!
csrfTokenString!

The new session's CSRF token, the value of the rim_csrf cookie. A client that cannot read that cookie keeps it in memory and sends it in the X-CSRF-Token header.

sessionSecretString

After loginWithKey without keepSignedIn: the session secret, unpadded base64url, in the clear. The client keeps it in memory only and sends it in the X-RIM-Session-Secret header of every request and in the WebSocket's connection_init payload as sessionSecret. null for a kept session.

keepKeyString

After loginWithKey with keepSignedIn and without keepKeyHeld: the keep key the server holds for this session, 32 bytes as unpadded base64url, in the clear. null otherwise.

Used by Mutation.loginWithKey

MacroDefobject

FieldTypeDescription
idID!
serverIdID!
userIdID!
nameString!
descriptionString
steps[MacroStep!]!
aiCallableBoolean!
nlDescriptionString!
intentSamples[String!]!
sensitivityCommandSensitivity!
createdAtDateTime!

Used by Mutation.createMacro, Mutation.updateMacro, Query.myMacros, Query.macroByName

MacroStepobject

FieldTypeDescription
commandIdString!
argsJSON

Used by MacroDef

MemberMessageCountsobject

How many of a person's messages in the workspace's channels deleteMemberMessages would reach with the same since.

FieldTypeDescription
readableMessageTally!

In public channels and the private channels the caller is a member of.

unjoinedPrivateMessageTally!

In private channels the caller is not a member of; counts only, never the channels.

Used by Query.memberMessageCounts

MemberTimeoutobject

A member's timeout: until until they can read but not write in the workspace.

FieldTypeDescription
serverIdID!
userIdID!
untilDateTime!
reasonString
setByID
createdAtDateTime!

Used by Mutation.timeoutMember

Messageobject

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
threadIdID
rootThreadIdID
authorIdID!
textString
hasAttachmentsBoolean!
attachments[Attachment!]!
parentMessageIdID
forwardedFromMessageIdID
forwardedFromMessage

The forwarded message; null when the viewer cannot read its conversation or it is gone.

isDeletedBoolean!
flaggedBoolean!

Whether the automatic text art check flagged the message and no Owner or Moderator has cleared it. False for a deleted message. Listed in serverInfo.capabilities as message_flag.

sentAtDateTime!
editedAtDateTime

When the text last changed, the value MessageChange.editedAt carries; null for a never-edited message and for a deleted one. Listed in serverInfo.capabilities as message_edited_at.

postedViaMessagePostedVia

How the message was posted when not by the person's own client: AGENT when an agent's call posted it (the initiator is the client's word, as on every executeCommand call); null otherwise and for a deleted message. Kept when the message is edited. Listed in serverInfo.capabilities as message_posted_via.

authorUser
reactions[ReactionGroup!]!
isPinnedBoolean!
mentionedUserIds[ID!]!
linkPreviews[LinkPreview!]!
mentions[User!]!
encryptionMessageEncryption

The MLS envelope of an encrypted message, whose text is always null; null for plaintext messages.

threadReplyCountInt

Replies in the thread this timeline message is the root of, deleted ones not counted; null on a message without a thread and on thread replies.

Used by Message, MessageChange, MessagePage, Mutation.sendMessage, Mutation.replyToMessage, Mutation.editMessage, Mutation.forwardMessage, Mutation.sendEncryptedMessage, Mutation.editEncryptedMessage, Notification, Query.message, Query.pinnedMessages, Query.applyChannelLens

MessageChangeobject

A message as it is now, at its newest change. A message appears at most once per page.

FieldTypeDescription
kindMessageChangeKind!
versionString!

The message's position in its conversation's change sequence, as a decimal string. Increases with every change; compare it to a cached copy to keep the newer one.

editedAtDateTime

When the text last changed; null for a never-edited message.

messageMessage!

The message. Deleted messages come back with isDeleted: true and null text.

Used by ConversationMessageChanges

MessageCursorOutputobject

FieldTypeDescription
sentAtDateTime!
messageIdID!

Used by MessagePage, SearchResultPage

MessageEncryptionobject

The MLS envelope of an encrypted message.

FieldTypeDescription
incarnationInt!
epochInt!

The epoch the message was sent in.

senderDeviceIdID!
ciphertextString

The MLSMessage; null once the message is deleted.

frankingReceiptString!
frankingKeyIdInt!
sentAtUsString!

sentAt in microseconds since the Unix epoch, as decimal text, as the receipt covers it.

Used by Message

MessagePageobject

FieldTypeDescription
items[Message!]!
nextMessageCursorOutput
prevMessageCursorOutput
pageInfoPageInfo!

Used by Query.messages, Query.threadMessages

MessageReportobject

A member's report of a message. messageText and messageAuthorId are present only when the viewing moderator can read the conversation (messageReadable); otherwise only the ids and the reporter's reason are shown. messageText is also null for a deleted message.

A report of the direct space (DMs and groups) goes to the instance operators, who are not members of its conversations: they see the author, send time and text of the one reported message when it is not encrypted, and the author's principal id (messageAuthorPrincipalId) whenever the author is shown.

A report of an encrypted message is franked: the server verified that its content is what the sender's device sent (frankingVerifiedAt). Its author, send time and sender device are shown to every moderator; its content (frankedContent) only by messageReport.

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
messageIdID!
reporterUserIdID

The member who filed the report; null for a report the automatic text art check filed.

reasonString!
statusMessageReportStatus!
resolvedByID
resolvedAtDateTime
createdAtDateTime!
messageReadableBoolean!
messageTextString
messageAuthorIdID
messageAuthorPrincipalIdString

The author's principal id, for instanceBlockPrincipal: filled for a report of the direct space whenever messageAuthorId is, null elsewhere and for an author without one.

messageSentAtDateTime

When the reported message was sent; null when its details are not shown.

frankingVerifiedAtDateTime

Set when the server verified a franked report of an encrypted message.

frankedSenderDeviceIdID

The client device id that sent the reported encrypted message.

frankedContentString

The exact content bytes of a verified report, unpadded base64url. Only messageReport fills it; null in lists and once retention cleared it.

frankedContentExpiresAtDateTime

When the verified content is deleted: 90 days after the report was resolved or dismissed; null while it is open.

automaticBoolean!

Whether the automatic text art check filed the report rather than a member. Listed in serverInfo.capabilities as message_flag.

Used by MessageReportPage, Mutation.reportMessage, Mutation.resolveReport, Query.messageReport

MessageReportCursorOutputobject

FieldTypeDescription
createdAtDateTime!
reportIdID!

Used by MessageReportPage

MessageReportPageobject

Reports ordered createdAt ASC, id ASC, with the standard cursor semantics.

FieldTypeDescription
items[MessageReport!]!
nextMessageReportCursorOutput
prevMessageReportCursorOutput
pageInfoPageInfo!

Used by Query.messageReports

MessageTallyobject

A count of a person's messages and of the channels they are in.

FieldTypeDescription
messagesInt!
channelsInt!

Used by MemberMessageCounts

MlsCommitobject

FieldTypeDescription
idID!
incarnationInt!
epochInt!

The epoch the Commit was created in; the group moved to the next.

senderPrincipalIdString
senderDeviceIdID
messageString!
createdAtDateTime!

Used by MlsCommitPage, Mutation.submitMlsCommit

MlsCommitPageobject

FieldTypeDescription
commits[MlsCommit!]!
hasMoreBoolean!

Used by Query.mlsCommits

MlsDeviceobject

FieldTypeDescription
userIdID!
principalIdString!
deviceIdID!
addedEpochInt!

Used by MlsGroup

MlsGroupobject

A conversation's current MLS group and the changes it waits for.

FieldTypeDescription
groupIdString!
incarnationInt!
cipherSuiteInt!
epochInt!

The epoch the next Commit must be created in.

devices[MlsDevice!]!
pendingAdds[MlsPendingDevice!]!

MLS-active devices of members that are not in the group yet.

pendingRemoves[MlsDevice!]!

Devices in the group that no longer belong: their member left, they were revoked, or they uploaded no key package for 60 days.

readdRequests[MlsReaddRequest!]!

Used by Conversation

MlsKeyPackageStatusobject

What the session's device has stored for one cipher suite.

FieldTypeDescription
cipherSuiteInt!
availableInt!

Unclaimed one-time key packages that can still be handed out (valid for 14 more days).

lastResortNotAfterDateTime
lastResortClaimsInt!

How often the last-resort key package was handed out; past 5 the device replaces it.

oldestNotAfterDateTime

The earliest expiry among the available one-time key packages.

Used by Mutation.uploadMlsKeyPackages, Query.myMlsKeyPackageStatus

MlsPendingDeviceobject

FieldTypeDescription
userIdID!
principalIdString!
deviceIdID!
hasKeyPackageBoolean!

Used by MlsGroup

MlsReaddRequestobject

FieldTypeDescription
principalIdString!
deviceIdID!
requestSignedStatement!

The mls-readd statement as the device signed it.

createdAtDateTime!

Used by MlsGroup

MlsWelcomeobject

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
incarnationInt!
epochInt!

The epoch the device joins at.

messageString!
expiresAtDateTime!
createdAtDateTime!

When the Welcome was stored; with id, the cursor of the next page.

Used by Query.myMlsWelcomes

MutedConversationobject

FieldTypeDescription
conversationIdID!
mutedUntilDateTime

Used by Query.mutedConversations

MyDmSettingsobject

Who may start a DM with the caller, as they chose and as it applies.

FieldTypeDescription
outsideDmOutside!

Their choice for DMs from outside their workspaces.

workspaces[WorkspaceDmSetting!]!

Their choice for each of their workspaces' members.

effectiveOutsideDmOutside!

What applies to DMs from outside: their choice, or NONE under a floor that refuses them.

outsideFloorFromDmFloorSource

The floor that refuses DMs from outside; null when none does.

Used by Mutation.setMyDmSettings, Mutation.setMyWorkspaceDmSetting, Query.myDmSettings

Notificationobject

One entry of the viewer's notification inbox.

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
messageIdID!
reasonNotificationReason!
createdAtDateTime!
readAtDateTime
conversationConversation

Null when the viewer can no longer read the conversation.

messageMessage

The message (timeline or thread reply); null when the viewer can no longer read the conversation or the message is gone.

reactionEmojiString

The latest reaction's emoji; null unless reason is REACTION.

reactedByUser

Who added the latest reaction; null unless reason is REACTION.

Used by NotificationPage

NotificationCursorOutputobject

FieldTypeDescription
createdAtDateTime!
notificationIdID!

Used by NotificationPage

NotificationDueEventobject

A notification the server just stored for the viewer, from any workspace on this server.

FieldTypeDescription
workspaceIdID!

The workspace the notification belongs to.

notificationIdID!

The stored notification, as in the inbox.

conversationIdID!

The conversation of the message.

messageIdID!

The message the notification is about.

reasonNotificationReason!

Why the viewer was notified.

quietBoolean!

True inside the viewer's do-not-disturb window or pause: record it without a toast or a sound.

reactionEmojiString

The emoji of the reaction; null unless reason is REACTION.

reactionByID

Who added the reaction; null unless reason is REACTION.

Used by Subscription.notificationEvents

NotificationPageobject

Notifications ordered createdAt DESC, id DESC (newest first), with the standard cursor semantics: AFTER pages go to older notifications.

FieldTypeDescription
items[Notification!]!
nextNotificationCursorOutput
prevNotificationCursorOutput
pageInfoPageInfo!

Used by Query.myNotifications

NotificationSettingsobject

The viewer's notification settings in one workspace (defaults until first saved).

FieldTypeDescription
serverIdID!
defaultLevelNotificationLevel!

Applies to every conversation without its own level.

keywords[String!]!

Lower-cased; a whole-word, case-insensitive hit notifies (level MENTIONS or ALL).

dndDndWindow
dndPausedBoolean!

The manual do-not-disturb pause (setDoNotDisturb, notifications.dnd).

dndPausedUntilDateTime

When the manual pause ends; null while dndPaused is false or the pause has no end.

digestDigestFrequency!
reactionsBoolean!

Whether reactions to the viewer's messages notify them (level MENTIONS or ALL).

Used by Mutation.updateNotificationSettings, Mutation.setDoNotDisturb, Query.myNotificationSettings

PageInfoobject

FieldTypeDescription
hasNextBoolean!
hasPrevBoolean!

Used by ChannelPage, ConversationPage, JoinRequestPage, MessagePage, MessageReportPage, NotificationPage, SearchResultPage, WorkspaceInvitePage

PasswordChangeStartobject

The server's answer to passwordChangeStart.

FieldTypeDescription
loginIdID!

Pass to passwordChangeFinish. Valid for 120 seconds.

credentialResponseString!

The OPAQUE CredentialResponse for the current password.

registrationResponseString!

The OPAQUE RegistrationResponse for the new password.

Used by Mutation.passwordChangeStart

PasswordChangedobject

A finished password change.

FieldTypeDescription
changedAtDateTime!

Used by Mutation.passwordChangeFinish

PasswordLoginFinishobject

A finished password login.

FieldTypeDescription
ticketString!

Pass to loginWithKey as passwordTicket: single use, valid for 120 seconds, for this account only.

serverShareString!

The account's server share, AES-256-GCM sealed under the login's transport key for "server share": unpadded base64url of the 12-byte nonce, the ciphertext and the tag.

rewraps[String!]!

The account's rewraps, newest first.

Used by Mutation.passwordLoginFinish

PasswordLoginStartobject

The server's answer to passwordLoginStart.

FieldTypeDescription
loginIdID!

Pass to passwordLoginFinish with the credential finalization. Valid for 120 seconds.

responseString!

The OPAQUE CredentialResponse.

Used by Mutation.passwordLoginStart

PasswordResetStartobject

The server's answer to passwordResetStart.

FieldTypeDescription
resetIdID!

Pass to passwordResetFinish. Valid for 120 seconds, once.

registrationResponseString!

The OPAQUE RegistrationResponse for the new password.

Used by Mutation.passwordResetStart

PipeStageResultobject

FieldTypeDescription
stageIndexInt!
commandIdString!
statusCommandResultStatus!
messageString!
payloadJSON

Used by CommandResult

PipelineActionGqlobject

FieldTypeDescription
actionTypeString!
commandIdString

For a Post as bot action, chat.post_message, the command it runs.

argsJSON

For a Post as bot action, the bot, channel and text, as a client that does not know postAsBot shows them.

postAsBotPipelinePostAsBotGql

The bot, channel and text of a Post as bot action; null for any other.

Used by PipelineGql

PipelineFilterConditionGqlobject

FieldTypeDescription
conditionTypeString!
patternString
userIdID
conversationIdID

Used by PipelineFilterGql

PipelineFilterGqlobject

FieldTypeDescription
conditions[PipelineFilterConditionGql!]!

Used by PipelineGql

PipelineGqlobject

FieldTypeDescription
idID!
serverIdID!
nameString!
descriptionString
triggerPipelineTriggerGql!
filterPipelineFilterGql
actions[PipelineActionGql!]!
enabledBoolean!
cooldownSecsInt
createdByID!
schemaVersionInt!
lastFiredAtDateTime
createdAtDateTime!
updatedAtDateTime!

Used by Mutation.createPipeline, Mutation.updatePipeline, Mutation.togglePipeline, Query.pipelines

PipelinePostAsBotGqlobject

A message a bot posts when someone joins.

FieldTypeDescription
botUserIdID!
conversationIdID!
textString!

The text as saved, with its placeholders.

Used by PipelineActionGql

PipelineTriggerGqlobject

FieldTypeDescription
kindPipelineTriggerKindGql!
conversationIdID

Used by PipelineGql

PluginSourceobject

Where an entry's code comes from: the bundle fields for BUNDLE, the git fields for GIT. Hashes are lowercase hex.

FieldTypeDescription
kindPluginSourceKind!
bundleUrlString

Where to fetch the bundle. Not signed: the hash decides whether the bytes are right.

bundleSha256String
bundleSizeInt
gitUrlString
gitCommitString
gitTreeSha256String

Used by WorkspacePlugin

PrincipalDeviceobject

A certified device of a principal, revoked or not.

FieldTypeDescription
deviceIdID!
nameString!
certificateSignedStatement!
revokedAtDateTime
revocationSignedStatement
mlsActiveBoolean!

Not revoked and uploaded key packages in the last 60 days: the device is set up for encryption and belongs in its member's encrypted groups.

Used by PrincipalDevices

PrincipalDevicesobject

FieldTypeDescription
principalIdString!
devices[PrincipalDevice!]!

Used by Query.principalDevices

ProfileCardobject

FieldTypeDescription
versionInt!
statementSignedStatement!
updatedAtDateTime!

Used by KeyIdentity, Mutation.publishProfileCard

PublicJoinLinkobject

A workspace's public link as its Owner sees it: the settings, the link itself, which the Owner can copy again at any time, and how it is used.

FieldTypeDescription
serverIdID!
enabledBoolean!

Whether the link admits anyone; off by default.

modePublicJoinLinkMode!
roleServerMemberRoleGql!

MEMBER or GUEST: the role a person joining through the link gets.

allowRemoteBoolean!

Whether accounts from other servers may join through the link.

enabledAtDateTime

When the link was last turned on.

issuedAtDateTime

When the current token was issued; null while the workspace never had a link.

issuedByIdID
tokenString

The token, rim_pjl_ and 22 base64url characters; null while the workspace never had a link.

urlString

<server>/join/<token>; null while the workspace never had a link.

joinsLastDayInt!

Joins through the link, directly or by an accepted request, in the last 24 hours.

joinsLastWeekInt!

Joins through the link in the last seven days.

openRequestsInt!

The workspace's open join requests.

issuedByUser

Who issued the current token (null once the account no longer exists).

Used by Mutation.updatePublicJoinLink, Mutation.reissuePublicJoinLink, Query.publicJoinLink

PublicJoinLinkPreviewobject

What a valid, switched-on public link shows anyone who has it.

FieldTypeDescription
serverIdID!
nameString!
modePublicJoinLinkMode!
viewerPublicJoinLinkViewer!
joinRequestIdID

The caller's open join request, with REQUEST_OPEN.

Used by Query.publicJoinLinkPreview

ReactionGroupobject

FieldTypeDescription
emojiString!
countInt!
reactedByMeBoolean!
userIds[ID!]!

Used by Message, Mutation.toggleReaction

RelayInfoobject

This server as its users' relay.

FieldTypeDescription
serverIdString!

This server's id (rims1_…).

roles[String!]!

host, relay or both.

directSpaceIdID!

The space holding the DMs and groups this relay's users start with anyone.

Used by Query.relayInfo

RelayItemobject

A host event queued for the caller, signed by its host.

FieldTypeDescription
idID!
hostServerIdString!
workspaceIdID!
envelopeSignedStatement!

Used by DmRequest, RelayItemPage

RelayItemPageobject

FieldTypeDescription
items[RelayItem!]!
hasMoreBoolean!

Used by Query.relayItems

ReloadSessionPayloadobject

The reload keys reloadSession hands a tab that reloaded.

FieldTypeDescription
reloadKeyString!

The reload key the tab's stored data is sealed under, 32 bytes.

nextReloadKeyString!

The reload key the server now holds instead, 32 bytes: the tab seals its data again under it.

Used by Mutation.reloadSession

RemoteIdentityobject

A principal's identity as their relay serves it. The app verifies the log against the principal id, each certificate against the log and the card against the head.

FieldTypeDescription
principalIdString!
keyLog[SignedStatement!]!
devices[RemotePrincipalDevice!]!
cardSignedStatement
servedByString!

Server id of the relay that served it.

Used by Query.remoteIdentity

RemoteJoinChallengeobject

A login challenge from a host, fetched through the relay, for a device to sign with the host's server id as audience.

FieldTypeDescription
challengeIdID!
nonceString!
expiresAtDateTime!
workspaceIdID

The workspace the invite or public link names, for the delegation; null without either.

workspaceNameString

The workspace's name, with a public link; null otherwise.

publicLinkModePublicJoinLinkMode

What the public link does: join at once, or ask to join; null without a link.

Used by Mutation.remoteJoinChallenge

RemoteJoinResultobject

A workspace joined on another host, or a join request filed there through its public link.

FieldTypeDescription
hostServerIdString!
workspaceIdID!
userIdID!

The member's user id at the host.

roleString!

owner, moderator, member or guest; with REQUESTED, the role the link gives.

outcomeJoinByPublicLinkOutcome!

JOINED, or REQUESTED when the public link takes join requests: the caller is not a member yet, and the decision arrives as a JoinRequestDecided relay item.

joinRequestIdID

The join request filed at the host, with REQUESTED.

joinRequestExpiresAtDateTime

When that request expires unless it is decided first.

Used by Mutation.joinRemoteWorkspace

RemotePrincipalDeviceobject

A device of a principal from another server.

FieldTypeDescription
deviceIdID!
certificateSignedStatement!
revocationSignedStatement
mlsActiveBoolean!

Whether the device uploaded key packages recently enough to be added to groups.

Used by RemoteIdentity

RemoteServerobject

Another server, pinned through this relay.

FieldTypeDescription
serverIdString!
originString!
discoveryString!

The discovery document as JSON text, for the app to verify and pin.

Used by Query.remoteServer

RemoteSubscriptionobject

The relay's subscription to a workspace on another host, or a delegation the host refused.

FieldTypeDescription
hostServerIdString!
workspaceIdID!
statusString!

active, lapsed or ended; refused for a delegation the host did not accept.

expiresAtDateTime

When the host stops honouring the delegation that keeps it active.

reasonString

Why a delegation was refused (not_member, expired, relay_key, …).

Used by Mutation.renewDelegations, Query.remoteSubscriptions

RevocationFanoutobject

A device revocation at one host.

FieldTypeDescription
hostServerIdString!
statusRevocationFanoutStatus!
ackSignedStatement

The host's signed revocation-ack, checked against its key.

attemptsInt!

Used by Query.deviceRevocationStatus

SealedMessageobject

A sealed message exactly as it was sent.

FieldTypeDescription
nonceString!
ciphertextString!

Used by DeviceLink, Query.deviceLinkAnswer

SearchResultMessageobject

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
conversationTitleString
conversationTypeConversationTypeEnum!
threadIdID
rootMessageIdID
authorIdID!
textString
sentAtDateTime!
rankFloat!

Relevance score of the match. Informational, or for a sort within the page: results are paginated by recency (sentAt, id), not by rank.

headlineString

ts_headline snippet with <mark>...</mark> highlights around matched terms. None when the query had no free-text component (a purely operator-based search, e.g. from:@alice).

authorUser

Used by SearchResultPage

SearchResultPageobject

Cursor-paginated searchMessages result. Same (sentAt, messageId) cursors as MessagePage: search results are paginated by recency, not by relevance.

FieldTypeDescription
items[SearchResultMessage!]!
nextMessageCursorOutput
prevMessageCursorOutput
pageInfoPageInfo!

Used by Query.searchMessages

Serverobject

FieldTypeDescription
idID!
nameString!
viewerRoleServerMemberRoleGql!

The requesting actor's effective role in this server. Display/affordance signal only — not an authorization boundary. Every mutation independently re-checks the role server-side (defense in depth); this field just lets the client avoid rendering controls the viewer can't use. Non-null: every viewer who can query a Server is necessarily a member of it (query-level visibility already guards non-members), so there is no "not a member" variant to represent here.

ownerUser

The account holding the owner role; null when there is none, as in the direct space or once the owner's account is deleted. Workspace metadata: every member sees it, guests included.

dmOutsideFloorDmOutsideFloor

The workspace's floor for DMs to its members from people outside their workspaces; null in the direct space, which has no rules. Every member sees it.

dmMemberDefaultDmMembers

How a DM from a fellow member arrives unless the recipient chose; null in the direct space. Every member sees it.

Used by Mutation.createServer, Mutation.transferWorkspaceOwnership, Mutation.renameWorkspace, Query.myServers, Query.server

ServerBanobject

A workspace ban. Active bans block every way of joining the workspace.

FieldTypeDescription
serverIdID!
userIdID!
reasonString
bannedByID
createdAtDateTime!
expiresAtDateTime

Null for a ban that lasts until it is lifted.

userUser

The banned user (null if the account no longer exists).

Used by Mutation.banMember, Query.serverBans

ServerFeatureInfoobject

One optional feature and whether it works here.

FieldTypeDescription
keyString!

The feature's name, as RIM_FEATURES_DISABLED takes it: attachments, link_previews, email, custom_emoji, workspace_plugins, ai_commands, avatars, plugin_link_fetch, text_art_check, avatar_check or bots. A client ignores a name it does not know.

stateServerFeatureState!
reasonString

Why an unavailable feature is unavailable; null otherwise.

Used by ServerInfo

ServerInfoobject

The running server build, the API version it speaks and the optional features it runs.

FieldTypeDescription
versionString!

The server's release version, e.g. 0.1.0.

apiVersionInt!

The major version of this GraphQL API.

features[ServerFeatureInfo!]!

Every optional feature with its state on this instance.

auditRetentionDaysInt

Days a command audit row is kept before it is exported and deleted; null keeps rows forever.

instanceNoticeString

A short text the operator shows people on this instance, at most 500 characters; null when there is none.

termsUrlString

The terms of service a signup accepts, an absolute http(s) URL; null when the instance has none. A signup sends it back as acceptedTermsUrl.

limitsServerLimits!

The instance-wide caps, so a client can show "5 of 5" before it tries.

dmInboundDmInbound!

DMs from people on other servers, and from people here outside the recipient's workspaces (RIM_DM_INBOUND): a floor for every account here.

dmOutboundDmOutbound!

DMs people here start with people on other servers (RIM_DM_OUTBOUND).

dmPartners[String!]!

The server ids the PARTNERS settings name (RIM_DM_PARTNERS).

defaultWorkspaceID

The workspace every new account joins as a Member, so a client can open it after a signup: the one RIM_DEFAULT_WORKSPACE names, or the one an owner claimed from the definition file; null when there is none.

registrationFullBoolean!

Whether the instance holds as many local accounts as limits.accounts allows, so every signup answers REGISTRATION_FULL; false when there is no cap. The answer may be up to half a minute old. A client says the server is full before anyone tries, and points to another server or to running one.

abuseContactString

Where to report abuse on this server: an email address or an https URL; null when the operator names none (RIM_ABUSE_CONTACT).

minimumAgeInt

The age every signup confirms the person has reached, self-declared; null when the server asks for none (RIM_MINIMUM_AGE). A signup sends it back as confirmedMinimumAge.

capabilities[String!]!

API additions this server has that an older server lacks, by name: message_edited_at (Message.editedAt), workspace_leave (leaveWorkspace), workspace_rename (renameWorkspace), message_flag (Message.flagged, MessageReport.automatic, clearMessageFlag), delete_member_messages (memberMessageCounts, deleteMemberMessages, the MessagesDeleted event), member_timeout_changed (ServerMember.timeoutReason, the MemberTimeoutChanged event), conversation_member_removals (conversationMemberRemovals), notification_events (notificationEvents), bot_disclosure (User.isBot, User.bot, ServerMember.isBot, ServerMember.bot), command_run_id (ExecuteCommandInput.runId, AuditLogEntry.runId), read_marker (UnreadCount.unreadAfter, markAsUnread, the ReadMarkerRewound event), bot_events (Bot.seesMemberJoins, the same field of CreateBotInput and UpdateBotInput, and /api/bot/v1/events), pipeline_post_as_bot (PipelineActionGql.postAsBot, PipelineActionInput.postAsBot), message_posted_via (Message.postedVia). A client ignores names it does not know.

Used by Query.serverInfo

ServerLimitsobject

The instance-wide caps; each is null when this instance sets none, but devices and DM requests always have one. Creating one more past a cap answers VALIDATION naming it.

FieldTypeDescription
workspacesPerUserInt

Workspaces one user owns, created or handed over to them.

membersPerWorkspaceInt

Members of one workspace; the direct space has no cap.

channelsPerWorkspaceInt

Unarchived channels of one workspace, public and private; unarchiving one needs room.

devicesPerUserInt

Devices on one account: the stricter of the instance cap and the relay quota.

dmRequestsPerDayInt

DM requests one user sends to strangers per day: the stricter of the instance cap and the relay quota.

macrosPerWorkspaceInt

Macros of one workspace; a member who is neither Owner nor Moderator holds at most a fifth of them.

pipelinesPerWorkspaceInt

Pipelines of one workspace; a member who is neither Owner nor Moderator holds at most a fifth of them.

pluginsPerWorkspaceInt

Plugins of one workspace's registry.

invitesPerUserPerDayInt

Invites one user creates per day.

inviteMaxUsesInt

Uses one invite may have.

messageBytesInt

Bytes of one message's text.

probationHoursInt

Hours after its creation during which an account cannot create a workspace, send a DM request to a stranger or set a profile picture, status or bio, and sends messages at a lower rate; me.probationEndsAt says when the caller's ends.

pendingInvitesPerUserInt

Pending invitations to encrypted conversations one user holds; past it, adding them to one more answers VALIDATION.

accountsInt

Local accounts the instance holds, those waiting out a deletion grace period included; at it every signup answers REGISTRATION_FULL and serverInfo.registrationFull is true.

Used by ServerInfo

ServerMemberobject

FieldTypeDescription
serverIdID!
userIdID!
usernameString!
displayNameString
avatarUrlString

The profile picture's URL; null while the instance has the avatars feature off.

statusTextString
bioString
memberRoleServerMemberRoleGql!
joinedAtDateTime!
timeoutUntilDateTime

End of the member's timeout while one is in force, else null.

timeoutReasonString

The reason the moderator gave for the timeout, on the viewer's own entry only while it is in force; null for every other member and when no reason was given.

principalIdString

The member's key identity (rimp1_…), once enrolled; null for a password-only account.

bannedBoolean!

Whether this member is banned in this workspace.

bannedUntilDateTime

End of the active ban; null for a permanent ban or no ban.

isBotBoolean!

Whether this member is a bot, an account nobody signs in to.

botBotInfo

What the person who added this bot says about it; null for anyone but a bot.

Used by Mutation.setMemberRole, Query.serverMembers

SignedStatementobject

A stored signed statement, exactly as it was signed, so the client can verify it again.

FieldTypeDescription
payloadString!
signatureString!

Used by DeviceKey, DmRequest, KeyLogEntry, MlsReaddRequest, Mutation.applyRemoteRevocation, PrincipalDevice, ProfileCard, RelayItem, RemoteIdentity, RemotePrincipalDevice, RevocationFanout, WorkspacePlugin

SignupWithKeyPayloadobject

Payload returned from signupWithKey.

server_id is Some only when a workspaceInviteToken was used; a signup with an instance invite, a proof-of-work or none lands in "no workspaces yet" state.

FieldTypeDescription
userIdID!
serverIdID
csrfTokenString!

The new session's CSRF token, the value of the rim_csrf cookie. A client that cannot read that cookie keeps it in memory and sends it in the X-CSRF-Token header.

serverShareString

The new account's server share, unpadded base64url, in the clear.

sessionSecretString

Without keepSignedIn: the session secret, unpadded base64url, in the clear, as loginWithKey returns it. null for a kept session.

keepKeyString

With keepSignedIn and without keepKeyHeld: the keep key the server holds for this session, unpadded base64url, in the clear. null otherwise.

Used by Mutation.signupWithKey

StartedDeviceLinkobject

FieldTypeDescription
linkIdString!

16 bytes, unpadded base64url. The server keeps only its hash, so it is shown once.

expiresAtDateTime!

Used by Mutation.startDeviceLink

StreamHeadobject

The current seq of a host event stream, as a decimal string.

FieldTypeDescription
streamString!
seqString!

Used by Query.streamHeads

Threadobject

FieldTypeDescription
idID!
serverIdID!
conversationIdID!
rootMessageIdID
rootAuthorIdID
rootTextString
createdAtDateTime!
lastMessageAtDateTime!

Used by Query.thread, Query.threadByRootMessage

UnreadCountobject

FieldTypeDescription
conversationIdID!
countInt!
unreadAfterDateTime!

Messages sent after this time count as unread.

Used by Query.unreadCounts

UploadTicketobject

FieldTypeDescription
attachmentIdID!
uploadTokenString!
maxSizeBytesInt
expiresAtDateTime

Used by Mutation.createAttachment

Userobject

FieldTypeDescription
idID!
usernameString!
displayNameString
avatarUrlString

The profile picture's URL; null while the instance has the avatars feature off.

statusTextString
bioString
principalIdString

Key-based principal id (rimp1_...); null only for a purged account that never had one. Plugins see this id, and the host maps a provisional rimp0_ id to it once.

probationEndsAtDateTime

When the account leaves probation, while it is in it. Read on me only; null for everyone else and once probation is over.

profileLockedUntilDateTime

Until when this server's operators locked the account's display name, picture, status and bio, while they do: until then it can only clear them. Read on me only; null for everyone else and while no lock holds.

deletionScheduledForDateTime

When the account's pending deletion runs, after its grace period (requestAccountDeletion); null while none is pending, and always null except on me. Once it runs, the account is purged and only a tombstone named "Deleted account" stays as the author of its encrypted messages.

instanceOperatorBoolean!

Whether the account is an instance operator, who may run the instance moderation queue (instanceReports and the other instance… roots). Read on me only; false for everyone else.

handleString

The person's handle, @<username>:<domain>: a local account's username at this server's handle domain, or a person from another server's username at their home server and that server's handle domain. Null when it is not known (a person from another server whose home server did not say, or whose handle domain does not point back at it) and for a deleted account or a bot.

isBotBoolean!

Whether this account is a bot, which nobody signs in to.

bannedBoolean!

Whether this message's author is banned in its workspace; false outside message authors.

bannedUntilDateTime

End of the active workspace ban; null for a permanent ban or no ban.

banReasonString

The active ban's reason, readable only by workspace moderators.

botBotInfo

What the person who added this bot says about it; null for anyone but a bot.

Used by ConversationMemberRemoval, JoinRequest, Message, Mutation.updateMyProfile, Notification, PublicJoinLink, Query.me, SearchResultMessage, Server, ServerBan, WorkspaceInvite, WorkspacePlugin

UserCommandobject

A macro, the person's own command, as its owner saved it, in the shape updateUserCommand takes.

FieldTypeDescription
idString!

The command id, user.<key>, the same as the listed Command.id.

titleString!
descriptionString!
steps[UserCommandStep!]!

The steps in the order they run.

isEnabledBoolean!

false while the command is disabled; a disabled command is not listed by commands.

aiCallableBoolean!

Whether the owner lets the AI agent run the macro. The agent runs it only while 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; empty when its description serves.

intentSamples[String!]!

Example phrases for the AI agent.

Used by Query.userCommand, Query.userCommands

UserCommandStepobject

One step of a macro: the command it runs, the arguments fixed for it and the arguments the client asks for when the macro runs.

FieldTypeDescription
commandIdString!

A built-in, app or plugin command id, or on a macro saved before steps could name app and plugin commands, another macro.

argsJSON
ask[String!]!

Names of the arguments the client asks the person for before the first step runs; empty when the step asks for none.

Used by UserCommand

UserPresenceGqlobject

FieldTypeDescription
userIdID!
statusPresenceStatus!
lastSeenAtDateTime!

Used by Query.workspacePresence

WebhookFormatInfoobject

A ready-made webhook format RIM ships, the same for everyone.

FieldTypeDescription
keyString!

A short name that stays the same, such as github.

nameString!
setupNoteString!

What to set up on the service's side.

formatJSON!
sampleHeaders[WebhookHeader!]!
sampleBodyString!

A delivery's body as the service sends it.

Used by Query.webhookFormats

WebhookFormatPreviewobject

What a sample delivery would come to under a format. Nothing is posted or stored.

FieldTypeDescription
outcomeWebhookPreviewOutcome!
ruleInt

The rule that decides or that a refusal is about, counted from 1.

textString

What would post, without the link.

linkString

The link after the text, when it passes its check.

placeholderString

The placeholder with no value, as written between its braces.

reasonString

Why the body or the format would be refused.

Used by Query.previewWebhookFormat

WebhookHeaderobject

A header of a sample delivery.

FieldTypeDescription
nameString!
valueString!

Used by WebhookFormatInfo, WebhookTestDelivery

WebhookTestDeliveriesobject

The deliveries a read of a test session answers, and when it now expires.

FieldTypeDescription
deliveries[WebhookTestDelivery!]!
expiresAtDateTime!

Used by Query.webhookTestDeliveries

WebhookTestDeliveryobject

A delivery a test session holds.

FieldTypeDescription
idInt!

Its place in the session, counted from 1; pass the last one read as after.

receivedAtDateTime!
contentTypeString
headers[WebhookHeader!]!

The x- headers a format may use.

bodyStateWebhookTestBodyState!
bodyString

The body, for TEXT alone. A client shows it as plain text.

Used by WebhookTestDeliveries

WebhookTestSessionobject

A webhook test session just started.

FieldTypeDescription
idID!
tokenString

rimhook_… for an unbound session's URL, shown this once; null for a bound session.

expiresAtDateTime!

Used by Mutation.startWebhookTestSession

WorkspaceDmPolicyobject

A workspace's DM rules.

FieldTypeDescription
workspaceIdID!
outsideFloorDmOutsideFloor!

The floor for DMs to its members from outside their workspaces.

memberDefaultDmMembers!

How a DM from a fellow member arrives unless the recipient chose.

Used by Mutation.setWorkspaceDmPolicy

WorkspaceDmSettingobject

The caller's choice for DMs from the members of one of their workspaces.

FieldTypeDescription
workspaceIdID!
membersDmMembers!

Their choice, or the workspace's default when they made none.

memberDefaultDmMembers!

The workspace's default.

Used by MyDmSettings

WorkspaceInviteobject

A workspace invite as its workspace's owner sees it. The token is shown once, by createInvite, and never again.

FieldTypeDescription
idID!
serverIdID!
roleServerMemberRoleGql!

The role a person joining with the invite gets.

useCountInt!
maxUsesInt!
expiresAtDateTime

Null for an invite stored without an expiry, which does not expire.

createdAtDateTime!
createdByIdID!
revokedAtDateTime
stateWorkspaceInviteState!

The invite's state when it was read.

createdByUser

The member who created the invite (null if the account no longer exists).

Used by Mutation.revokeInvite, WorkspaceInvitePage

WorkspaceInviteCursorOutputobject

FieldTypeDescription
createdAtDateTime!
inviteIdID!

Used by WorkspaceInvitePage

WorkspaceInvitePageobject

Workspace invites ordered createdAt DESC, id DESC (newest first), with the standard cursor semantics: AFTER pages go to older invites.

Used by Query.workspaceInvites

WorkspaceInvitePreviewGqlobject

Minimal workspace info included in a workspace-invite preview. The workspace name and the inviter's and owner's display names are shown to anyone holding the invite link.

FieldTypeDescription
serverIdID!
serverNameString!
invitedByDisplayNameString!
ownerDisplayNameString

The workspace owner's display name, else username; null when the workspace has no owner.

Used by InviteTokenPreviewGql

WorkspacePluginobject

FieldTypeDescription
idID!
serverIdID!
pluginIdString!
versionString!
displayNameString!
runtimeKindPluginRuntimeKind!
statusWorkspacePluginStatus!
sourcePluginSource!
manifestString!

The exact text of rim-plugin.json inside the statement.

statementSignedStatement!
publisherPrincipalIdString!
publisherNameString!

Chosen by the publisher: it proves nothing about who they are.

publisherKeySeqInt!
publisherKeyLog[SignedStatement!]!

This server's key log of the publisher when they are enrolled here, else the one stored with the entry.

signatureStatusPluginSignatureStatus!
approvedByUser

Who approved the entry last; null once that account is deleted, and for a guest who shares no conversation with them.

approvedAtDateTime!
updatedAtDateTime!

Used by Mutation.addWorkspacePlugin, Mutation.updateWorkspacePlugin, Query.workspacePlugins

WorkspaceStateEntryGqlobject

FieldTypeDescription
idID!
serverIdID!
keyString!
valueJSON!
scopeWorkspaceStateScopeGql!
userIdID
versionInt!
expiresAtDateTime
createdAtDateTime!
updatedAtDateTime!

Used by Mutation.setWorkspaceState, Query.workspaceState, Query.workspaceStateList

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