Users
Public user information. Look up user profiles by ID (read-only, no sensitive data).
2 methods
client.users.get()
Get public user information by ID. Returns only non-sensitive profile data.
Parameters
idrequiredstringuuidUser UUID.
Return Fields
idrequiredstringuuidUser UUID.
usernameoptionalstringPublic username.
nameoptionalstringDisplay name.
biooptionalstringUser bio.
websiteUrloptionalstringuriWebsite URL.
get(id: string): Promise<PublicUser>typescript
import { RegistryClient } from '@uluops/registry-sdk';
const client = new RegistryClient({
apiKey: 'ulr_your-api-key',
});
const result = await client.users.get('550e8400-e29b-41d4-a716-446655440000');
console.log(result.id);Response Type
// Promise<PublicUser>
{
id: string;
username?: string;
name?: string;
bio?: string;
websiteUrl?: string;
}client.users.batch()
Batch lookup of public user profiles. Returns a map of user ID to profile (null for not found).
Parameters
idsrequiredstring[]Array of user UUIDs (max 100).
batch(ids: string[]): Promise<BatchUserResponse>typescript
import { RegistryClient } from '@uluops/registry-sdk';
const client = new RegistryClient({
apiKey: 'ulr_your-api-key',
});
const result = await client.users.batch('550e8400-e29b-41d4-a716-446655440000');Response Type
Promise<BatchUserResponse>