Prisma ORM 8 is here.Read the docs
Workspaces

Get list of workspaces

Returns the list of workspaces the current token can access.

GET/v1/workspaces

Returns the list of workspaces the current token can access.

Authorization

AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Query Parameters

cursor?|

Cursor for pagination

limit?number

Limit for pagination

Default100

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/workspaces"
{  "data": [    {      "id": "string",      "type": "workspace",      "url": "http://example.com",      "name": "string",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "nextCursor": "string",    "hasMore": true  }}