rtrvr.ai logo
Roverby rtrvr.ai
Docs
Blog
Workspace
Pricing
rtrvr.ai
Get Started

Getting Started

OverviewQuick Start

Integration

ConfigurationSecurity & Policies

Reference

API ReferenceExamples

API Reference

Manage Rover site keys programmatically via the rtrvr.ai Cloud Functions API.

All endpoints require a Firebase ID token. In the Workspace UI these calls are handled automatically.

POST/generateRoverSiteKey

Create a new site-scoped API key tied to specific domains.

Auth: Firebase ID token (Bearer)

Request Body

FieldTypeDescription
label*stringHuman-readable label for this key (e.g. 'Production').
allowedDomains*string[]Hostnames where this key is allowed. Supports wildcards.
ttlDaysnumberDays until auto-expiry. 0 for no expiry. Default: 90.
environment'production' | 'development' | 'test'Label for the deployment environment.
capabilities{ roverEmbed?: boolean; externalWebContextScrape?: boolean; cloudAgent?: boolean; cloudScrape?: boolean }Optional capability overrides for the generated key.
roverPolicy{ domainScopeMode?: 'registrable_domain' | 'host_only'; externalNavigationPolicy?: 'open_new_tab_notice' | 'block' | 'allow'; agentName?: string; mascotDisabled?: boolean; mascotMp4Url?: string; mascotWebmUrl?: string; enableExternalWebContext?: boolean; externalScrapeMode?: 'off' | 'on_demand'; externalAllowDomains?: string[]; externalDenyDomains?: string[] }Optional Rover runtime policy persisted with this key and returned by list/rotate APIs.

Response

{
  "data": {
    "apiKey": "rtrvr_abc123...",
    "keyId": "key-uuid-here",
    "allowedDomains": ["example.com"],
    "capabilities": { "roverEmbed": true },
    "roverPolicy": { "domainScopeMode": "registrable_domain" }
  }
}
POST/listRoverSiteKeys

Retrieve all Rover site keys for the authenticated user.

Auth: Firebase ID token (Bearer)

Response

{
  "data": [
    {
      "id": "key-uuid",
      "label": "Production",
      "prefix": "rtrvr_abc",
      "suffix": "xyz",
      "active": true,
      "allowedDomains": ["example.com"],
      "capabilities": {
        "roverEmbed": true,
        "externalWebContextScrape": true,
        "cloudAgent": true,
        "cloudScrape": true
      },
      "roverPolicy": {
        "domainScopeMode": "registrable_domain",
        "externalNavigationPolicy": "open_new_tab_notice",
        "enableExternalWebContext": true,
        "externalScrapeMode": "on_demand"
      },
      "lastUsed": "2025-02-10T12:00:00Z",
      "blockedHostAttempts": 0
    }
  ]
}
POST/updateRoverSiteKeyPolicy

Update domain restrictions or toggle active status for an existing key.

Auth: Firebase ID token (Bearer)

Request Body

FieldTypeDescription
keyId*stringThe key ID to update.
allowedDomainsstring[]New set of allowed domains. Replaces the current list.
activebooleanEnable or disable the key.
capabilities{ roverEmbed?: boolean; externalWebContextScrape?: boolean; cloudAgent?: boolean; cloudScrape?: boolean }Optional capability patch for this site key.
roverPolicy{ ...same shape as above... }Optional Rover policy patch. Only provided fields are updated.
POST/rotateRoverSiteKey

Invalidate the current key and generate a new one with the same configuration.

Auth: Firebase ID token (Bearer)

Request Body

FieldTypeDescription
keyId*stringThe key to rotate.
labelstringOptional new label for the rotated key.
capabilities{ roverEmbed?: boolean; externalWebContextScrape?: boolean; cloudAgent?: boolean; cloudScrape?: boolean }Optional capability patch to apply on the rotated key.
roverPolicy{ ...same shape as above... }Optional Rover policy patch to apply on rotate.

Response

{
  "data": {
    "apiKey": "rtrvr_new_key...",
    "keyId": "new-key-uuid",
    "allowedDomains": ["example.com"],
    "capabilities": { "roverEmbed": true },
    "roverPolicy": { "domainScopeMode": "registrable_domain" }
  }
}
POST/updateApiKeyCapabilities

Update capability flags for any API key (user or site key).

Auth: Firebase ID token (Bearer)

Request Body

FieldTypeDescription
keyId*stringThe key ID to update.
capabilities*{ roverEmbed?: boolean; externalWebContextScrape?: boolean; cloudAgent?: boolean; cloudScrape?: boolean }Boolean capability patch fields.
ExamplesSecurity & Policies
rtrvr.ai logo
Rover

The first DOM-native embedded web agent. Clicks, fills, navigates, and onboards — through conversation.

Product

  • Overview
  • Workspace
  • Pricing

Developers

  • Quick Start
  • Configuration
  • API Reference
  • Security
  • Examples

Resources

  • Blog
  • rtrvr.ai Docs
  • rtrvr.ai Cloud

© 2026 rtrvr.ai. All rights reserved.

PrivacyTerms