GET
/
users
from playbookNetworkClient import PlaybookClient

 def setup(self):
 self.playbookClient = PlaybookClient()
 self.playbookClient.set_api_key({your api key})

 def get_user(self):
  user = self.playbookClient.get_user_data()
{
  "id": "uuid",
  "cognito_id": "uuid",
  "tier_id": "uuid",
  "email": "user@domain.com",
  "status": "Active",
  "user_type": "normal",
  "name": "John Doe",
  "gpu_usage_total": 250,
  "gpu_usage_billing_period": 250
}

Headers

x-api-key
string
required

Your API key. This is required by most endpoints to access our API programatically. You can view your x-api-key using the 'Profile' tab on the website.

Response

200
application/json

Successful Response

The response is of type object.