Nirmos
Organizations

Workspace Summary

Workspace Summary — Nirmos Control Plane REST API.

GET
/v1/workspace

Authorization

sessionCookie
better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspace"
{  "data": {    "user": {      "id": "string",      "name": "string",      "email": "string",      "image": "string"    },    "activeOrganization": {      "id": "string",      "memberCount": 0,      "pendingInvitationCount": 0,      "name": "string",      "slug": "string",      "createdAt": "2019-08-24T14:15:22Z",      "logo": "string",      "metadata": "string"    },    "role": "string",    "metrics": {      "organizations": 0,      "members": 0,      "pendingInvitations": 0,      "managedTokens": 0    }  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}