Klyroo.Hotkey API reference
Every public class, record, property and method of Klyroo.Hotkey.
On this page
- Klyroo.
Hotkey - Classes
- Hotkey
Client - Hotkey
Webhook - Hotkey
Service Collection Extensions - Hotkey
Exception - Hotkey
Ask - Hotkey
Embed - Hotkey
Agent Key - Hotkey
Webhook Endpoint - Records
- Hotkey
Page <T> - Hotkey
Account - Hotkey
Workspace - Workspace
Update - Hotkey
Browser - Browser
Create - Browser
Update - Browser
Filter - Hotkey
Browser Ref - Hotkey
Browser Deletion - Hotkey
Tab - Ask
Create - Embed
Create - Hotkey
Download - Hotkey
Event - Hotkey
Sign In - Hotkey
Usage Page - Hotkey
Usage - Webhook
Endpoint Settings
Every public class, record, property and method exposed by Klyroo. (namespace Klyroo.).
Klyroo.Hotkey
Classes (8) · Records (16)
Classes
HotkeyClient
Klyroo. · sealed class
Server-side client for the Hotkey HTTP API (https://). The caller owns the supplied HttpClient.
| Constructor | Description |
|---|---|
HotkeyClient |
Creates a client using http and authenticates requests with Bearer <apiKey>. |
| Method | Returns | Description |
|---|---|---|
GetAccountAsync |
Task |
Reads the authenticated Hotkey account and active workspace. |
GetWorkspace |
Task |
Reads the current workspace settings, plan and allowed embed origins. |
Update |
Task |
Updates workspace settings such as phone alerts and EmbedOrigins. |
List |
Task |
Returns one page of browsers matching filter (limit 1–100). |
Enumerate |
IAsyncEnumerable |
Pages through all browsers matching filter using cursor pagination. |
GetBrowserAsync |
Task |
Reads one browser by ID. |
Create |
Task |
Provisions a new cloud browser. |
GetOr |
Task |
Provisions a browser by ExternalId, recovering and verifying the existing browser on 409 browser_. |
Update |
Task |
Updates a browser's name, external ID, time zone, languages or metadata. |
WakeBrowserAsync |
Task |
Wakes a sleeping browser. |
Sleep |
Task |
Puts a browser to sleep. |
Delete |
Task |
Deletes a browser. |
ListTabsAsync |
Task |
Lists open tabs in a browser. |
CreateAskAsync |
Task |
Creates a human handoff request targeting either one tab or one HTTP/HTTPS URL. |
ListAsksAsync |
Task |
Lists handoff asks filtered by browser or status. |
GetAskAsync |
Task |
Reads the current state of an ask. |
CancelAskAsync |
Task |
Cancels an open ask with an optional note. |
Renew |
Task |
Issues a fresh expiring handoff link and invalidates the previous one. |
ListSignInsAsync |
Task |
Lists saved sign-in metadata for a browser. |
Forget |
Task |
Removes a saved sign-in from a browser. |
CreateEmbedAsync |
Task |
Creates a short-lived "view" or "interact" live-view embed (sent once, never auto-retried). |
ListEmbedsAsync |
Task |
Lists embeds for a browser. |
GetEmbedAsync |
Task |
Reads one embed by ID. |
RevokeEmbedAsync |
Task |
Revokes an active embed. |
List |
Task |
Lists files downloaded in a browser. |
GetDownloadAsync |
Task |
Reads metadata for one download. |
Copy |
Task |
Streams download bytes into destination without closing the stream. |
Delete |
Task |
Deletes a stored download. |
ListEventsAsync |
Task |
Reads the event cursor filtered by browser or event type. |
GetUsageAsync |
Task |
Queries usage metrics over a date range. |
Copy |
Task |
Streams usage metrics as text/ into destination without closing it. |
List |
Task |
Lists issued agent keys. |
Create |
Task |
Creates an API key scoped to a single browser. |
Revoke |
Task |
Revokes an agent key. |
Create |
Task |
Registers an HTTPS webhook endpoint and returns its signing secret. |
List |
Task |
Lists configured webhook endpoints. |
GetWebhook |
Task |
Reads one webhook endpoint. |
Update |
Task |
Updates a webhook endpoint's URL, subscribed events or description. |
Delete |
Task |
Deletes a webhook endpoint. |
HotkeyWebhook
Klyroo. · static class
| Method | Returns | Description |
|---|---|---|
VerifyAndRead |
HotkeyEvent? |
Verifies the Hotkey-Signature header (HMAC-SHA256 and ±5 minute window) over rawBody before deserializing HotkeyEvent. Returns null on any validation failure. |
HotkeyServiceCollectionExtensions
Klyroo. · static class
| Method | Returns | Description |
|---|---|---|
AddKlyrooHotkey |
IHttp |
Registers the named "Klyroo. HttpClient (redirects and cookies disabled) and typed HotkeyClient. |
HotkeyException
Klyroo. · sealed class · inherits Http
Thrown when the Hotkey API returns a non-success HTTP status code after any eligible retries.
| Property | Type | Description |
|---|---|---|
Code |
string? |
Machine-readable Hotkey error code (for example browser_ or idempotency_). |
RequestId |
string? |
Hotkey request identifier from the Request-Id header or error body. |
RetryAfter |
TimeSpan? |
Requested retry delay from the Retry-After header or error body, when present. |
Existing |
string? |
ID of the existing browser returned with a 409 browser_ conflict. |
HotkeyAsk
Klyroo. · sealed class
Represents a human handoff request. Implemented as a class so one-time links are omitted from generated ToString() output.
| Property | Type | Description |
|---|---|---|
Id (required init) |
string |
Ask identifier. |
Browser (required init) |
HotkeyBrowserRef |
Target browser reference. |
Status (required init) |
string |
Current ask state. |
Reason (init) |
string? |
Prompt shown to the person completing the handoff. |
Tab (init) |
int |
Browser tab identifier. |
Expires (init) |
DateTimeOffset? |
When the ask times out. |
Link (init) |
Uri? |
Expiring handoff URL to deliver only to the authorized user. |
LinkExpires (init) |
DateTimeOffset? |
When Link expires. |
Note (init) |
string? |
Optional resolution or cancellation note. |
SaveSignIn (init) |
bool |
Whether the user may save their sign-in. |
HotkeyEmbed
Klyroo. · sealed class
Represents a short-lived live-view or interactive browser embed.
| Property | Type | Description |
|---|---|---|
Id (required init) |
string |
Embed identifier. |
Browser (required init) |
string |
Target browser ID. |
Status (required init) |
string |
Current embed state. |
Mode (init) |
string? |
"view" or "interact". |
Origins (init) |
IReadOnlyList |
Allowed embedding origins. |
Sites (init) |
IReadOnlyList |
Optional site restrictions. |
Expires (init) |
DateTimeOffset? |
Embed expiration timestamp. |
EndedWhy (init) |
string? |
Reason the embed ended, if ended. |
Url (init) |
Uri? |
Short-lived embed URL. |
Token (init) |
string? |
Embed token, when returned on creation. |
HotkeyAgentKey
Klyroo. · sealed class
Represents an issued Hotkey API key.
| Property | Type | Description |
|---|---|---|
Id (required init) |
string |
Key identifier. |
Name (required init) |
string |
Display name of the key. |
Browser (init) |
string? |
Scoped browser ID, or null for a workspace key. |
Expires (init) |
DateTimeOffset? |
Optional expiration timestamp. |
Secret (init) |
string? |
Secret key value, returned only on creation. |
HotkeyWebhookEndpoint
Klyroo. · sealed class
Represents a registered webhook destination.
| Property | Type | Description |
|---|---|---|
Id (required init) |
string |
Endpoint identifier. |
Url (required init) |
Uri |
HTTPS destination URL. |
Events (required init) |
IReadOnlyList |
Subscribed event types. |
Description (init) |
string? |
Optional description. |
LastDelivery (init) |
JsonElement |
Metadata of the latest delivery attempt. |
Secret (init) |
string? |
Signing secret for HotkeyWebhook., returned on creation. |
Records
HotkeyPage<T>
Klyroo. · record
HotkeyPage — cursor-paginated response envelope.
HotkeyAccount
Klyroo. · record
HotkeyAccount
HotkeyWorkspace
Klyroo. · record
HotkeyWorkspace
WorkspaceUpdate
Klyroo. · record
WorkspaceUpdate
HotkeyBrowser
Klyroo. · record
HotkeyBrowser
BrowserCreate
Klyroo. · record
BrowserCreate
BrowserUpdate
Klyroo. · record
BrowserUpdate
BrowserFilter
Klyroo. · record
BrowserFilter
HotkeyBrowserRef
Klyroo. · record
HotkeyBrowserRef
HotkeyBrowserDeletion
Klyroo. · record
Hotkey
HotkeyTab
Klyroo. · record
HotkeyTab
AskCreate
Klyroo. · record
AskCreate
EmbedCreate
Klyroo. · record
EmbedCreate
HotkeyDownload
Klyroo. · record
HotkeyDownload
HotkeyEvent
Klyroo. · record
HotkeyEvent
HotkeySignIn
Klyroo. · record
HotkeySignIn
HotkeyUsagePage
Klyroo. · record
HotkeyUsagePage
HotkeyUsage
Klyroo. · record
HotkeyUsage
WebhookEndpointSettings
Klyroo. · record
Webhook