Skip to main content
These endpoints back the dashboard’s organization settings pages. All require a dashboard session token — an API key is a data-plane credential and gets 401 session_required here.

Get your organization

These are control-plane calls, so they authenticate with a dashboard session, not an API key, and neither memory SDK wraps them. $SESSION is the session token sign-in returns.

Rename your organization

Changes the display name only. Your organization’s slug never changes: it is the owner half of a qualified shared-space id ({owner_slug}:{space_name}, for example acme:demo), which is an address customers already write down and share, so changing it would silently break every one of those addresses.
Restricted to owners and admins.

Projects

Projects group API keys under an organization. Every organization needs at least one project before it can create an API key.
POST returns the created project in the same shape as the list items above.

Members

GET /v1/members returns every member in your organization, as a list of the same shape.

Invite a member

POST /v1/members/invite is restricted to the owner.
role must be one of the roles in your organization’s role set, excluding owner. Nobody can be invited directly as an owner.

Remove a member

DELETE /v1/members/{member_id} returns 204 No Content. Owner only.

Space invitations

When someone shares a space with you (from the dashboard’s space members page), the invitation is addressed to your email and waits for you to act on it. These endpoints back that flow; any signed-in member can call them.
GET /v1/invitations/pending
Accepting grants access to that one space in the inviting organization — you stay in your own organization. The session’s email must match the invited address (403 invite_email_mismatch otherwise, so a forwarded invitation email does not hand over the seat), and an org-level invitation token is rejected with 400 not_a_space_invite — joining an organization goes through the signup flow the invitation email links to.

Error responses

See the full error reference.