Skip to main content
GET
/
api
/
v3
/
workspaces
/
{id}
Retrieve a workspace
curl --request GET \
  --url https://paradigm.lighton.ai/api/v3/workspaces/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "workspace_type": "<string>",
  "document_upload_method": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "members": "<string>",
  "user_role": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The unique identifier of the workspace.

Response

200 - application/json

V3 Response serializer for workspaces. Returns members in format: {"users": [<user_id1>, ...], "groups": [<group_id1>, ...]}

id
integer
required
name
string
required
workspace_type
string
required
document_upload_method
string
required
description
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
members
string
required
user_role
string
required