Python
from datagrid_ai import Datagrid client = Datagrid( api_key="My API Key", ) teamspace_user = client.organization.teamspaces.users.retrieve( user_id="user_id", teamspace_id="teamspace_id", ) print(teamspace_user.id)
{ "id": "<string>", "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>", "permissions": { "role": "owner", "agent_ids": [ "<string>" ] } }
Retrieve details of a specific user in the teamspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user
The ID of the teamspace
User details
Represents a user in a teamspace