Skip to content

Workspace

Terminal window
npm install @reminix/sdk
import { createClient } from "@reminix/sdk";
const reminix = createClient(); // reads REMINIX_API_KEY

GET /v1/workspace

Returns the Workspace the credential acts in — the API key’s own, or the one named by X-Workspace for a personal access token.

await reminix.workspace.get();
More about this endpoint

Useful as an integration smoke test (“who am I?”).

GET /v1/workspace/members

The workspace’s members with their roles, newest first.

await reminix.workspace.members.list();
FieldDescription
limitnumber, queryItems per page, 1–100 (default 25).
cursorstring, queryOpaque token from a previous page's nextCursor.
More about this endpoint

Paginate with the opaque nextCursor; limit is clamped to 1–100 (default 25). Members are invited, removed and given roles in the app.

GET /v1/workspace/invitations

Invitations sent and not yet accepted, declined or expired, newest first.

await reminix.workspace.invitations.list();
FieldDescription
limitnumber, queryItems per page, 1–100 (default 25).
cursorstring, queryOpaque token from a previous page's nextCursor.
More about this endpoint

Owners and admins only for a personal credential, as in the app. Paginate with the opaque nextCursor.

GET /v1/workspace/usage

How much of each meter the workspace used this period, with the plan’s limit for it (null = unlimited).

await reminix.workspace.usage();
More about this endpoint

A period is a month from the workspace’s billing date: its subscription’s (an annual plan refills monthly from its start), else the day the workspace was created.

GET /v1/workspace/teams

The workspace’s teams with their members’ user ids, newest first.

await reminix.workspace.teams.list();
FieldDescription
limitnumber, queryItems per page, 1–100 (default 25).
cursorstring, queryOpaque token from a previous page's nextCursor.
More about this endpoint

Paginate with the opaque nextCursor; limit is clamped to 1–100 (default 25). Teams are created and staffed in the app.