from openlayer import Openlayer

client = Openlayer()
client.workspaces.retrieve(workspace_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Openlayer",
  "slug": "openlayer",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateUpdated": "2023-11-07T05:31:56Z",
  "creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "wildcardDomains": [
    "<string>"
  ],
  "projectCount": 1,
  "memberCount": 1,
  "monthlyUsage": [
    {
      "monthYear": "2023-12-25",
      "predictionCount": 1,
      "executionTimeMs": 1
    }
  ],
  "inviteCount": 1,
  "periodStartDate": "2023-11-07T05:31:56Z",
  "periodEndDate": "2023-11-07T05:31:56Z",
  "samlOnlyAccess": true,
  "status": "active"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.

Path Parameters

workspaceId
string
required

The workspace id.

Response

200
application/json

Response OK.

The response is of type object.