A complete, plain-English guide to endpoints, auth, and data flows.
Developers integrating Decillion AI into apps, teams building shared workspaces, and anyone who needs agents, storage, and realtime signals in one system.
1. Login
Call /users/login with your username and email token to receive your private key.
2. Authenticate
Use authenticate after connecting to validate your session.
3. Read or Write
Use /points/read to load your spaces and /points/signal for messages.
4. Manage Apps
Create apps and machines with /apps/create and /machines/create.
Responses include a resCode and an obj. Use resCode === 0 to check for success.
/users/loginCreate or log into a user and receive a private key for signing requests.
Parameters
Called with empty userId. Returns user and privateKey on success.
authenticateValidate the current session for the logged-in user.
Parameters
Uses your userId and signature in the request envelope.
/users/getFetch a user profile by id.
Parameters
/users/findFind a user by username.
Parameters
/users/updateUpdate your user metadata (public or private).
Parameters
/users/metaRead a metadata path for a user.
Parameters
Example path: private.contacts or private.settings.privacy
/users/listList users with pagination and search.
Parameters
/users/lockTokenLock tokens for payments or gated actions.
Parameters
Returns tokenId on success.
logoutInvalidate the local session and clear cached data.
Parameters
/users/deleteDelete your account and log out.
Parameters
/points/createCreate a point (home, 1-to-1, group, etc).
Parameters
/points/updateUpdate a point’s visibility, history, or metadata.
Parameters
/points/metaRead a metadata path for a point.
Parameters
/points/deleteDelete a point by id.
Parameters
/points/getGet a single point and its metadata.
Parameters
/points/readRead your points (pagination, tag, origin).
Parameters
/points/listList public points by query.
Parameters
/points/joinJoin a public point.
Parameters
/points/leaveLeave a point.
Parameters
/points/historyLoad message history for a point.
Parameters
/points/signalSend a signal or message to a point.
Parameters
Used for chat messages and system events.
/points/addMemberAdd a member to a point.
Parameters
/points/updateMemberUpdate a member’s metadata in a point.
Parameters
/points/removeMemberRemove a member from a point.
Parameters
/points/readMembersList members in a point.
Parameters
/points/getDefaultAccessGet the default access policy for points.
Parameters
/points/updateMemberAccessUpdate a member’s access permissions.
Parameters
/points/updateMachineAccessUpdate a machine’s access permissions in a point.
Parameters
/points/listAppsList apps attached to a point.
Parameters
/points/addAppAttach an app to a point.
Parameters
/points/removeAppDetach an app from a point.
Parameters
/points/addMachineAttach a machine to an app in a point.
Parameters
/points/updateMachineUpdate a machine attached to an app in a point.
Parameters
/points/removeMachineRemove a machine from an app in a point.
Parameters
/invites/createInvite a user to a point.
Parameters
/invites/cancelCancel an invite.
Parameters
/invites/acceptAccept an invite to a point.
Parameters
/invites/declineDecline an invite.
Parameters
/invites/listUserInvitesList invites for the current user.
Parameters
/invites/listPointInvitesList users invited to a point.
Parameters
/chains/createCreate a chain with participants.
Parameters
/chains/submitBaseTrxSubmit a base transaction to a chain.
Parameters
/apps/createCreate a new app.
Parameters
/apps/updateAppUpdate an app’s metadata.
Parameters
/apps/deleteAppDelete an app by id.
Parameters
/apps/listList apps (pagination).
Parameters
/apps/myCreatedAppsList apps created by the current user.
Parameters
/machines/createCreate a machine for an app.
Parameters
/machines/deployDeploy bytecode to a machine.
Parameters
/apps/updateMachineUpdate a machine’s path.
Parameters
/apps/deleteMachineDelete a machine.
Parameters
/machines/listList machines (pagination).
Parameters
/machines/listAppMachinesList machines for a specific app.
Parameters
/storage/uploadUpload a file to a point (base64 data).
Parameters
/storage/downloadDownload a file by fileId.
Parameters
/storage/deleteUserEntityDelete a user entity (e.g. avatar).
Parameters
/storage/deletePointEntityDelete a point entity (e.g. avatar or background).
Parameters
/pc/runPcStart a personal compute runtime.
Parameters
/pc/execCommandExecute a command on a VM.
Parameters
Messaging
Use /points/signal to send messages and events inside a point.
Members
Invite, accept, and manage access with the/invites endpoints.
Apps + Machines
Create an app, then add machines to deploy runtimes and workflows.
Storage
Use entity uploads for avatars and assets. Use file upload/download for point-level files.
The SDK emits realtime updates using event keys. Listen to these for new points and messages.
points/create — when a point is created or joined.
points/signal — incoming messages or signals for a point.
pc/message — stream output from PC runtime.
Entity uploads and downloads use HTTPS and signed headers. The SDK handles signing, but these are the raw formats:
Upload user entity: POST/storage/uploadUserEntity
Headers: User-Id, Input (JSON), Signature
Body: raw bytes
Download user entity: POST/storage/downloadUserEntity
Headers: User-Id, Input-Length
Body: Input JSON bytes + Signature bytes