cURL
curl --request GET \ --url https://api.duohub.ai/users/list \ --header 'X-API-Key: <api-key>'
{ "users": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "firstName": "John", "lastName": "Doe", "email": "[email protected]", "owner": "d99e7428-40e1-7073-aa50-94cee086b518", "createdAt": "2024-01-01T00:00:00Z", "updatedAt": "2024-01-01T00:00:00Z" } ], "nextToken": "eyJpZCI6eyJTIjoiNDU2In0sInVwZGF0ZWRBdCI6eyJTIjoiMjAyNC0wMS0wMlQwMDowMDowMFoifX0=", "previousToken": null, "count": 1 }
Retrieve a paginated list of users
Your duohub API key. Type: str
Maximum number of users to return
Token for getting the next page of results
Token for getting the previous page of results
Users retrieved successfully
Show child attributes
Token for the next page of results
Token for the previous page of results
Number of users in the current page