Releases Index
List your workspaces
View .md

List your workspaces

GET
/me/workspaces

Workspaces the caller belongs to (Better Auth organization plugin — user tenancy, distinct from the registry orgs). active marks the caller's current workspace. Requires a Better Auth session or a user Bearer token (relu_ or OAuth JWT); machine relk_ tokens and anonymous callers are refused. Read-only — creating, renaming, and switching workspaces stay on Better Auth.

Authorization

bearerAuth
headerAuthorizationBearer <relk_… | relu_… | OAuth JWT>

Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.

Response Body

The caller's workspaces, ordered by name. Empty when the caller has none.

application/json
  1. response
workspaces*array<>
Example Request
curl -X GET 'https://api.releases.sh/v1/me/workspaces'
Example Response
{  "workspaces": [    {      "id": "string",      "name": "string",      "slug": "string",      "logo": "string",      "role": "owner",      "active": true,      "createdAt": "2019-08-24T14:15:22Z"    }  ]}