Skip to main content
GET
/
api
/
v2
/
companies
/
{id}
/
workspaces
/
List workspaces of a company
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/companies/{id}/workspaces/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": 123,
      "name": "<string>",
      "workspace_type": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "summaries": [
        {
          "language": "en",
          "summary": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
integer
required

Query Parameters

page
integer

A page number within the paginated result set.

Response

Successful Response

count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?page=2"

I