Skip to main content
GET
/
auth
/
me
Python
import os
from woodwide import WoodWide

client = WoodWide(
    api_key=os.environ.get("WOOD_WIDE_AI_API_KEY"),  # This is the default and can be omitted
)
response = client.auth.retrieve_me()
print(response)
{
  "identity_type": "<string>",
  "username": "<string>",
  "email": "<string>",
  "wwai_credits": 0,
  "full_name": "<string>",
  "dataset_ids": [],
  "model_ids": [],
  "created_at": "2023-11-07T05:31:56Z",
  "storage_used_bytes": 0,
  "train_calls": 0,
  "inference_calls": 0,
  "api_key_generated": false
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

identity_type
string
required
Allowed value: "user"
username
string
required
email
string | null
wwai_credits
integer
default:0
full_name
string | null
dataset_ids
string[]
model_ids
string[]
created_at
string<date-time> | null
storage_used_bytes
integer
default:0
train_calls
integer
default:0
inference_calls
integer
default:0
api_key_generated
boolean
default:false