Skip to content
API Reference

User Agents

List user agents
client.Zones.UserAgents.List(ctx, zoneID, query) (*ZoneUserAgentListResponse, error)
GET/zones/{zoneId}/user-agents
Get user agent
client.Zones.UserAgents.Get(ctx, id, query) (*UserAgent, error)
GET/zones/{zoneId}/user-agents/{id}
ModelsExpand Collapse
type UserAgent struct{…}

A User Agent represents a user agent (browser, desktop app, CLI tool) that can initiate user sessions via OAuth 2.0 Dynamic Client Registration.

ID string

Unique identifier of the user agent

CreatedAt Time

Entity creation timestamp

formatdate-time
Identifier string

User agent identifier (serves as OAuth client_id). Format: ua:{sha256_hash}

Name string

Human-readable name

minLength1
maxLength255
OrganizationID string

Organization that owns this user agent

Slug string

URL-safe identifier, unique within the zone

minLength1
maxLength63
UpdatedAt Time

Entity update timestamp

formatdate-time
ZoneID string

Zone this user agent belongs to