This reference reads the same committed OpenAPI artifact as API contract tests. It covers each endpoint's parameters, request requiredness, types, defaults, nested fields, response statuses, headers and problem schemas. Fields marked required inside an optional object are required only when that object is supplied; union variants apply independently.
GET /health POST /v1/browser/session/{session_id}/poppy GET /v1/browser/session/{session_id}/poppy GET /v1/browser/session/{session_id}/poppy/{poppy_session_id} DELETE /v1/browser/session/{session_id}/poppy/{poppy_session_id} POST /v1/browser/session/{session_id}/poppy/{poppy_session_id}/sign-in POST /v1/browser/session GET /v1/browser/session/{session_id} POST /v1/browser/session/{session_id}/expire POST /v1/browser/action POST /v1/browser/screenshot POST /v1/browser/extract GET /v1/browser/artifacts/{session_id} GET /v1/browser/artifacts/{session_id}/{artifact_id} GET /v1/browser/history DELETE /v1/browser/history GET /v1/browser/passkeys DELETE /v1/browser/passkeys/{credential_id} DELETE /v1/browser/profile GET /v1/account/supervised-sessions GET /v1/account/supervised-usage GET /v1/account/supervised-sessions/{sessionId} GET /v1/account/supervised-sessions/{sessionId}/audit-events GET /v1/browser/sessions/{sessionId}/audit-events POST /v1/account/supervised-sessions/{sessionId}/viewer-grants POST /v1/account/supervised-sessions/{sessionId}/viewer-grants/renew POST /v1/account/supervised-sessions/{sessionId}/stop POST /v1/browser/sessions/{sessionId}/viewer-grants POST /viewer-admissions POST /viewer-control POST /viewer-viewport-mode POST /viewer-navigation POST /viewer-page POST /viewer-history POST /viewer-page-close POST /viewer-restore POST /viewer-challenge-dismiss POST /viewer-dialog POST /viewer-downloads GET /viewer-download POST /viewer-action-approval POST /viewer-permissions-mode POST /viewer-challenge POST /viewer-stop POST /viewer-disconnect GET /v1/browser/viewer-shell GET /viewer-shell GET /v1/browser/view/{token} GET /v1/browser/stream GET /v1/account/api-keys POST /v1/account/api-keys GET /v1/account/api-keys/{id}/passkeys DELETE /v1/account/api-keys/{id}/passkeys/{credential_id} POST /v1/account/api-keys/{id}/revoke POST /v1/account/api-keys/{id}/rotate GET /v1/account/challenge-policies POST /v1/account/challenge-policies/answer POST /v1/account/challenge-policies/revoke POST /v1/account/challenge-policies/reset GET /v1/account/sessions/{sessionId}/permissions-mode PUT /v1/account/sessions/{sessionId}/permissions-mode GET /v1/account/settings/permissions-mode PUT /v1/account/settings/permissions-mode GET /v1/account/action-permissions PUT /v1/account/action-permissions DELETE /v1/account/action-permissions GET /v1/account/action-approvals POST /v1/account/action-approvals/approve POST /v1/account/action-approvals/answer GET /v1/account/site-credentials PUT /v1/account/site-credentials DELETE /v1/account/site-credentials GET /v1/account/oauth/requests/{id} POST /v1/account/oauth/requests/{id}/decision GET /v1/account/oauth/grants DELETE /v1/account/oauth/grants/{id} GET /v1/account/billing/agent-purchasing PUT /v1/account/billing/agent-purchasing PUT /v1/account/billing/keys/{keyId}/purchase-grant DELETE /v1/account/billing/keys/{keyId}/purchase-grant GET /v1/account/usage-summary GET /v1/account/usage-summary.csv GET /v1/account/usage GET /v1/account/keys POST /v1/account/keys POST /v1/account/keys/revoke POST /v1/account/keys/rotate POST /api/public/signup POST /api/public/auth/device/start GET /api/public/auth/device/verify POST /api/public/auth/device/poll POST /api/public/webhooks/stripe GET /v1/billing/catalogue GET /v1/account/balance POST /v1/billing/purchases GET /v1/billing/purchases GET /v1/billing/purchases/{id} POST /v1/billing/purchases/{id}/cancel POST /v1/billing/purchases/{id}/simulate GET /v1/account/billing/balance POST /v1/account/billing/payment-method/setup-sessions DELETE /v1/account/billing/payment-method GET /v1/account/billing/auto-topup PUT /v1/account/billing/auto-topup POST /v1/account/billing/checkout-sessions GET /v1/account/billing/purchases GET /v1/account/billing/purchases/{id} POST /v1/account/billing/purchases/{id}/cancel POST /v1/account/billing/portal-sessions GET /v1/account/billing/history GET /v1/account/billing/subscription GET /v1/account/billing/unmatched POST /v1/account/billing/unmatched/{id}/resolve GET /mcp POST /mcp DELETE /mcp GET /health Runtime health
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /v1/browser/session/{session_id}/poppy Connect a supervised session to a Poppy site (poppy_connect)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false origin string Required — The site, an https URL. return_to string Optional — An https URL on the site to land on after the join. page_id string Optional — scopes array Optional — With a stored approval: the scopes to use; [] connects signed out. scopes[] string Required — replace_company_cookies boolean Optional — Remove the profile's existing cookies and saved data for the site first (ask the person).
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false poppy_session_id string Required — company object Required — additionalProperties: false company.name string Required — company.domain string Required — state string Required — Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"] recovery union Required — recovery (variant 1) object Required — additionalProperties: false recovery (variant 1).toward string Required — Allowed: ["guest_joined","joined"] recovery (variant 1).after string Required — Allowed: ["sign_in_ended","sign_in_approved","revocation"] recovery (variant 1).since string Required — ISO 8601 UTC instant. recovery (variant 2) null Required — signed_in boolean Required — effective_authority union Required — effective_authority (variant 1) object Required — additionalProperties: false effective_authority (variant 1).mode string Required — Allowed: ["held","guest","signed_in"] effective_authority (variant 1).scopes array Required — effective_authority (variant 1).scopes[] string Required — effective_authority (variant 2) null Required — cleanup string Required — Allowed: ["none","pending","done","failed"] last_reset union Required — last_reset (variant 1) object Required — additionalProperties: false last_reset (variant 1).at string Required — ISO 8601 UTC instant. last_reset (variant 1).pages_reset array Required — last_reset (variant 1).pages_reset[] string Required — last_reset (variant 1).pages_closed array Required — last_reset (variant 1).pages_closed[] string Required — last_reset (variant 2) null Required — requested_scopes array Required — requested_scopes[] string Required — granted_scopes array Required — granted_scopes[] string Required — available_scopes array Required — available_scopes[] object Required — additionalProperties: false available_scopes[].scope string Required — available_scopes[].description string Required — sign_in_modes array Required — sign_in_modes[] string Required — Constant: "direct" sign_in_modes_unsupported array Required — sign_in_modes_unsupported[] string Required — Allowed: ["device","mediated"] stored_sign_in object Required — additionalProperties: false stored_sign_in.available boolean Required — stored_sign_in.used boolean Required — stored_sign_in.scopes array Required — stored_sign_in.scopes[] string Required — stored_sign_in.signed_in_at string Optional — ISO 8601 UTC instant. stored_sign_in.reason string Optional — Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"] sign_in_starting boolean Required — sign_in union Required — sign_in (variant 1) union Required — sign_in (variant 1) (variant 1) object Required — A sign-in that reached S5: it has the page S3 created and the deadline S5 installed. additionalProperties: false sign_in (variant 1) (variant 1).kind string Required — Constant: "started" sign_in (variant 1) (variant 1).phase string Required — Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"] sign_in (variant 1) (variant 1).origin string Required — Allowed: ["guest_joined","joined"] sign_in (variant 1) (variant 1).requested_scopes array Required — sign_in (variant 1) (variant 1).requested_scopes[] string Required — sign_in (variant 1) (variant 1).page_id string Required — sign_in (variant 1) (variant 1).expires_at string Required — ISO 8601 UTC instant. sign_in (variant 1) (variant 1).start_stage string Optional — Constant: "navigation" sign_in (variant 1) (variant 1).outcome string Optional — Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"] sign_in (variant 1) (variant 1).reason string Optional — Allowed: ["declined_at_start","declined_at_company","timed_out","page_closed","returned_without_signing_in","callback_invalid","authorization_error","exchange_failed","company_response_invalid","token_not_dpop_bound","company_refused","company_session_ended","join_failed","window_start_failed","agent_disconnected","supervised_session_ended"] sign_in (variant 1) (variant 1).detail string Optional — Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"] sign_in (variant 1) (variant 1).granted_scopes array Optional — sign_in (variant 1) (variant 1).granted_scopes[] string Required — sign_in (variant 1) (variant 1).off_site_auth boolean Optional — sign_in (variant 1) (variant 1).window string Optional — Allowed: ["open","closing","closed","close_failed"] sign_in (variant 1) (variant 1).agent_browser_data_off_site boolean Optional — sign_in (variant 1) (variant 1).ended_at string Optional — ISO 8601 UTC instant. sign_in (variant 1) (variant 2) object Required — A startup that failed at S1, S2 or S3: no page and no deadline, never borrowed from an earlier sign-in. additionalProperties: false sign_in (variant 1) (variant 2).kind string Required — Constant: "start_failed" sign_in (variant 1) (variant 2).phase string Required — Constant: "ended" sign_in (variant 1) (variant 2).origin string Required — Allowed: ["guest_joined","joined"] sign_in (variant 1) (variant 2).requested_scopes array Required — sign_in (variant 1) (variant 2).requested_scopes[] string Required — sign_in (variant 1) (variant 2).page_id null Required — sign_in (variant 1) (variant 2).expires_at null Required — sign_in (variant 1) (variant 2).outcome string Required — Constant: "failed" sign_in (variant 1) (variant 2).reason string Required — Constant: "window_start_failed" sign_in (variant 1) (variant 2).start_stage string Required — Allowed: ["context","route","page"] sign_in (variant 1) (variant 2).window string Required — Allowed: ["not_created","closed","close_failed"] sign_in (variant 1) (variant 2).off_site_auth boolean Required — Constant: false sign_in (variant 1) (variant 2).agent_browser_data_off_site boolean Required — Constant: false sign_in (variant 1) (variant 2).ended_at string Required — ISO 8601 UTC instant. sign_in (variant 2) null Required — refusals array Required — maxItems: 50 refusals[] object Required — additionalProperties: false refusals[].seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 refusals[].at string Required — ISO 8601 UTC instant. refusals[].page_id string or null Required — refusals[].kind string Required — Allowed: ["rove_scope_gate","rove_authority_held","company_refused"] refusals[].method string Required — refusals[].host string Required — refusals[].required_scope string Optional — Constant: "poppy:write" refusals[].company_error string Optional — Allowed: ["insufficient_scope","sign_in_required"] refusals_head_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 refusals_dropped_through_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 ended_reason string Optional — Allowed: ["agent_disconnected","supervised_session_ended","account_mismatch","company_session_ended","join_failed","token_not_dpop_bound","company_refused","company_response_invalid","document_invalid","company_unavailable"] ended_detail string Optional — Constant: "join_cookie_script_readable" ended_at string Optional — ISO 8601 UTC instant. next string Required — What to do now, from the state and the latest sign-in outcome. minLength: 1 company_cookies_cleared integer Optional — minimum: -9007199254740991 maximum: 9007199254740991 company_storage_origins_cleared integer Optional — minimum: -9007199254740991 maximum: 9007199254740991 page_id string or null Optional —
Response 400: RFC 7807 poppy-invalid-origin, poppy-invalid-return-to or poppy-invalid-scope, with next Response 401: RFC 7807 authentication problem Response 404: RFC 7807 poppy-unavailable (Poppy off), poppy-not-participating, poppy-session-not-found or foreign-or-absent, with next Response 409: RFC 7807 Poppy state problem (poppy-invalid-state, poppy-company-cookies-present, poppy-domain-overlap, poppy-sign-in-in-progress, …), with next Response 410: RFC 7807 poppy-session-ended, with next Response 422: RFC 7807 poppy-document-invalid or poppy-web-join-unsupported, with next Response 429: RFC 7807 poppy-connect-rate-limited, poppy-sign-in-rate-limited or poppy-company-rate-limited (Retry-After), with next Response 502: RFC 7807 poppy-company-unavailable, poppy-company-refused or poppy-join-failed (with cleanup), with next Response 503: RFC 7807 poppy-sign-in-window-failed (with stage), with next GET /v1/browser/session/{session_id}/poppy List a supervised session's Poppy Sessions (poppy_status)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false sessions array Required — sessions[] object Required — A Poppy Session as the driving agent sees it (§5.7). Cross-field rules, enforced before sending: recovery is non-null exactly in the recovery states guest, signed_in and revoked; a recovery state's effective_authority.mode is held; recovery.toward = joined only with state signed_in; recovery.after = sign_in_ended needs sign_in.phase ended, and sign_in_approved needs a started sign-in in phase joining; sign_in_starting only in guest_joined, joined or signing_in, never with recovery; start_stage is present exactly when reason is window_start_failed, and navigation only on a started sign-in. additionalProperties: false sessions[].poppy_session_id string Required — sessions[].company object Required — additionalProperties: false sessions[].company.name string Required — sessions[].company.domain string Required — sessions[].state string Required — Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"] sessions[].recovery union Required — sessions[].recovery (variant 1) object Required — additionalProperties: false sessions[].recovery (variant 1).toward string Required — Allowed: ["guest_joined","joined"] sessions[].recovery (variant 1).after string Required — Allowed: ["sign_in_ended","sign_in_approved","revocation"] sessions[].recovery (variant 1).since string Required — ISO 8601 UTC instant. sessions[].recovery (variant 2) null Required — sessions[].signed_in boolean Required — sessions[].effective_authority union Required — sessions[].effective_authority (variant 1) object Required — additionalProperties: false sessions[].effective_authority (variant 1).mode string Required — Allowed: ["held","guest","signed_in"] sessions[].effective_authority (variant 1).scopes array Required — sessions[].effective_authority (variant 1).scopes[] string Required — sessions[].effective_authority (variant 2) null Required — sessions[].cleanup string Required — Allowed: ["none","pending","done","failed"] sessions[].last_reset union Required — sessions[].last_reset (variant 1) object Required — additionalProperties: false sessions[].last_reset (variant 1).at string Required — ISO 8601 UTC instant. sessions[].last_reset (variant 1).pages_reset array Required — sessions[].last_reset (variant 1).pages_reset[] string Required — sessions[].last_reset (variant 1).pages_closed array Required — sessions[].last_reset (variant 1).pages_closed[] string Required — sessions[].last_reset (variant 2) null Required — sessions[].requested_scopes array Required — sessions[].requested_scopes[] string Required — sessions[].granted_scopes array Required — sessions[].granted_scopes[] string Required — sessions[].available_scopes array Required — sessions[].available_scopes[] object Required — additionalProperties: false sessions[].available_scopes[].scope string Required — sessions[].available_scopes[].description string Required — sessions[].sign_in_modes array Required — sessions[].sign_in_modes[] string Required — Constant: "direct" sessions[].sign_in_modes_unsupported array Required — sessions[].sign_in_modes_unsupported[] string Required — Allowed: ["device","mediated"] sessions[].stored_sign_in object Required — additionalProperties: false sessions[].stored_sign_in.available boolean Required — sessions[].stored_sign_in.used boolean Required — sessions[].stored_sign_in.scopes array Required — sessions[].stored_sign_in.scopes[] string Required — sessions[].stored_sign_in.signed_in_at string Optional — ISO 8601 UTC instant. sessions[].stored_sign_in.reason string Optional — Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"] sessions[].sign_in_starting boolean Required — sessions[].sign_in union Required — sessions[].sign_in (variant 1) union Required — sessions[].sign_in (variant 1) (variant 1) object Required — A sign-in that reached S5: it has the page S3 created and the deadline S5 installed. additionalProperties: false sessions[].sign_in (variant 1) (variant 1).kind string Required — Constant: "started" sessions[].sign_in (variant 1) (variant 1).phase string Required — Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"] sessions[].sign_in (variant 1) (variant 1).origin string Required — Allowed: ["guest_joined","joined"] sessions[].sign_in (variant 1) (variant 1).requested_scopes array Required — sessions[].sign_in (variant 1) (variant 1).requested_scopes[] string Required — sessions[].sign_in (variant 1) (variant 1).page_id string Required — sessions[].sign_in (variant 1) (variant 1).expires_at string Required — ISO 8601 UTC instant. sessions[].sign_in (variant 1) (variant 1).start_stage string Optional — Constant: "navigation" sessions[].sign_in (variant 1) (variant 1).outcome string Optional — Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"] sessions[].sign_in (variant 1) (variant 1).reason string Optional — Allowed: ["declined_at_start","declined_at_company","timed_out","page_closed","returned_without_signing_in","callback_invalid","authorization_error","exchange_failed","company_response_invalid","token_not_dpop_bound","company_refused","company_session_ended","join_failed","window_start_failed","agent_disconnected","supervised_session_ended"] sessions[].sign_in (variant 1) (variant 1).detail string Optional — Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"] sessions[].sign_in (variant 1) (variant 1).granted_scopes array Optional — sessions[].sign_in (variant 1) (variant 1).granted_scopes[] string Required — sessions[].sign_in (variant 1) (variant 1).off_site_auth boolean Optional — sessions[].sign_in (variant 1) (variant 1).window string Optional — Allowed: ["open","closing","closed","close_failed"] sessions[].sign_in (variant 1) (variant 1).agent_browser_data_off_site boolean Optional — sessions[].sign_in (variant 1) (variant 1).ended_at string Optional — ISO 8601 UTC instant. sessions[].sign_in (variant 1) (variant 2) object Required — A startup that failed at S1, S2 or S3: no page and no deadline, never borrowed from an earlier sign-in. additionalProperties: false sessions[].sign_in (variant 1) (variant 2).kind string Required — Constant: "start_failed" sessions[].sign_in (variant 1) (variant 2).phase string Required — Constant: "ended" sessions[].sign_in (variant 1) (variant 2).origin string Required — Allowed: ["guest_joined","joined"] sessions[].sign_in (variant 1) (variant 2).requested_scopes array Required — sessions[].sign_in (variant 1) (variant 2).requested_scopes[] string Required — sessions[].sign_in (variant 1) (variant 2).page_id null Required — sessions[].sign_in (variant 1) (variant 2).expires_at null Required — sessions[].sign_in (variant 1) (variant 2).outcome string Required — Constant: "failed" sessions[].sign_in (variant 1) (variant 2).reason string Required — Constant: "window_start_failed" sessions[].sign_in (variant 1) (variant 2).start_stage string Required — Allowed: ["context","route","page"] sessions[].sign_in (variant 1) (variant 2).window string Required — Allowed: ["not_created","closed","close_failed"] sessions[].sign_in (variant 1) (variant 2).off_site_auth boolean Required — Constant: false sessions[].sign_in (variant 1) (variant 2).agent_browser_data_off_site boolean Required — Constant: false sessions[].sign_in (variant 1) (variant 2).ended_at string Required — ISO 8601 UTC instant. sessions[].sign_in (variant 2) null Required — sessions[].refusals array Required — maxItems: 50 sessions[].refusals[] object Required — additionalProperties: false sessions[].refusals[].seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].refusals[].at string Required — ISO 8601 UTC instant. sessions[].refusals[].page_id string or null Required — sessions[].refusals[].kind string Required — Allowed: ["rove_scope_gate","rove_authority_held","company_refused"] sessions[].refusals[].method string Required — sessions[].refusals[].host string Required — sessions[].refusals[].required_scope string Optional — Constant: "poppy:write" sessions[].refusals[].company_error string Optional — Allowed: ["insufficient_scope","sign_in_required"] sessions[].refusals_head_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].refusals_dropped_through_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].ended_reason string Optional — Allowed: ["agent_disconnected","supervised_session_ended","account_mismatch","company_session_ended","join_failed","token_not_dpop_bound","company_refused","company_response_invalid","document_invalid","company_unavailable"] sessions[].ended_detail string Optional — Constant: "join_cookie_script_readable" sessions[].ended_at string Optional — ISO 8601 UTC instant. sessions[].next string Required — What to do now, from the state and the latest sign-in outcome. minLength: 1
Response 400: RFC 7807 poppy-invalid-origin, poppy-invalid-return-to or poppy-invalid-scope, with next Response 401: RFC 7807 authentication problem Response 404: RFC 7807 poppy-unavailable (Poppy off), poppy-not-participating, poppy-session-not-found or foreign-or-absent, with next Response 409: RFC 7807 Poppy state problem (poppy-invalid-state, poppy-company-cookies-present, poppy-domain-overlap, poppy-sign-in-in-progress, …), with next Response 410: RFC 7807 poppy-session-ended, with next Response 422: RFC 7807 poppy-document-invalid or poppy-web-join-unsupported, with next Response 429: RFC 7807 poppy-connect-rate-limited, poppy-sign-in-rate-limited or poppy-company-rate-limited (Retry-After), with next Response 502: RFC 7807 poppy-company-unavailable, poppy-company-refused or poppy-join-failed (with cleanup), with next Response 503: RFC 7807 poppy-sign-in-window-failed (with stage), with next GET /v1/browser/session/{session_id}/poppy/{poppy_session_id} Get one Poppy Session (poppy_status)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false sessions array Required — sessions[] object Required — A Poppy Session as the driving agent sees it (§5.7). Cross-field rules, enforced before sending: recovery is non-null exactly in the recovery states guest, signed_in and revoked; a recovery state's effective_authority.mode is held; recovery.toward = joined only with state signed_in; recovery.after = sign_in_ended needs sign_in.phase ended, and sign_in_approved needs a started sign-in in phase joining; sign_in_starting only in guest_joined, joined or signing_in, never with recovery; start_stage is present exactly when reason is window_start_failed, and navigation only on a started sign-in. additionalProperties: false sessions[].poppy_session_id string Required — sessions[].company object Required — additionalProperties: false sessions[].company.name string Required — sessions[].company.domain string Required — sessions[].state string Required — Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"] sessions[].recovery union Required — sessions[].recovery (variant 1) object Required — additionalProperties: false sessions[].recovery (variant 1).toward string Required — Allowed: ["guest_joined","joined"] sessions[].recovery (variant 1).after string Required — Allowed: ["sign_in_ended","sign_in_approved","revocation"] sessions[].recovery (variant 1).since string Required — ISO 8601 UTC instant. sessions[].recovery (variant 2) null Required — sessions[].signed_in boolean Required — sessions[].effective_authority union Required — sessions[].effective_authority (variant 1) object Required — additionalProperties: false sessions[].effective_authority (variant 1).mode string Required — Allowed: ["held","guest","signed_in"] sessions[].effective_authority (variant 1).scopes array Required — sessions[].effective_authority (variant 1).scopes[] string Required — sessions[].effective_authority (variant 2) null Required — sessions[].cleanup string Required — Allowed: ["none","pending","done","failed"] sessions[].last_reset union Required — sessions[].last_reset (variant 1) object Required — additionalProperties: false sessions[].last_reset (variant 1).at string Required — ISO 8601 UTC instant. sessions[].last_reset (variant 1).pages_reset array Required — sessions[].last_reset (variant 1).pages_reset[] string Required — sessions[].last_reset (variant 1).pages_closed array Required — sessions[].last_reset (variant 1).pages_closed[] string Required — sessions[].last_reset (variant 2) null Required — sessions[].requested_scopes array Required — sessions[].requested_scopes[] string Required — sessions[].granted_scopes array Required — sessions[].granted_scopes[] string Required — sessions[].available_scopes array Required — sessions[].available_scopes[] object Required — additionalProperties: false sessions[].available_scopes[].scope string Required — sessions[].available_scopes[].description string Required — sessions[].sign_in_modes array Required — sessions[].sign_in_modes[] string Required — Constant: "direct" sessions[].sign_in_modes_unsupported array Required — sessions[].sign_in_modes_unsupported[] string Required — Allowed: ["device","mediated"] sessions[].stored_sign_in object Required — additionalProperties: false sessions[].stored_sign_in.available boolean Required — sessions[].stored_sign_in.used boolean Required — sessions[].stored_sign_in.scopes array Required — sessions[].stored_sign_in.scopes[] string Required — sessions[].stored_sign_in.signed_in_at string Optional — ISO 8601 UTC instant. sessions[].stored_sign_in.reason string Optional — Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"] sessions[].sign_in_starting boolean Required — sessions[].sign_in union Required — sessions[].sign_in (variant 1) union Required — sessions[].sign_in (variant 1) (variant 1) object Required — A sign-in that reached S5: it has the page S3 created and the deadline S5 installed. additionalProperties: false sessions[].sign_in (variant 1) (variant 1).kind string Required — Constant: "started" sessions[].sign_in (variant 1) (variant 1).phase string Required — Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"] sessions[].sign_in (variant 1) (variant 1).origin string Required — Allowed: ["guest_joined","joined"] sessions[].sign_in (variant 1) (variant 1).requested_scopes array Required — sessions[].sign_in (variant 1) (variant 1).requested_scopes[] string Required — sessions[].sign_in (variant 1) (variant 1).page_id string Required — sessions[].sign_in (variant 1) (variant 1).expires_at string Required — ISO 8601 UTC instant. sessions[].sign_in (variant 1) (variant 1).start_stage string Optional — Constant: "navigation" sessions[].sign_in (variant 1) (variant 1).outcome string Optional — Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"] sessions[].sign_in (variant 1) (variant 1).reason string Optional — Allowed: ["declined_at_start","declined_at_company","timed_out","page_closed","returned_without_signing_in","callback_invalid","authorization_error","exchange_failed","company_response_invalid","token_not_dpop_bound","company_refused","company_session_ended","join_failed","window_start_failed","agent_disconnected","supervised_session_ended"] sessions[].sign_in (variant 1) (variant 1).detail string Optional — Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"] sessions[].sign_in (variant 1) (variant 1).granted_scopes array Optional — sessions[].sign_in (variant 1) (variant 1).granted_scopes[] string Required — sessions[].sign_in (variant 1) (variant 1).off_site_auth boolean Optional — sessions[].sign_in (variant 1) (variant 1).window string Optional — Allowed: ["open","closing","closed","close_failed"] sessions[].sign_in (variant 1) (variant 1).agent_browser_data_off_site boolean Optional — sessions[].sign_in (variant 1) (variant 1).ended_at string Optional — ISO 8601 UTC instant. sessions[].sign_in (variant 1) (variant 2) object Required — A startup that failed at S1, S2 or S3: no page and no deadline, never borrowed from an earlier sign-in. additionalProperties: false sessions[].sign_in (variant 1) (variant 2).kind string Required — Constant: "start_failed" sessions[].sign_in (variant 1) (variant 2).phase string Required — Constant: "ended" sessions[].sign_in (variant 1) (variant 2).origin string Required — Allowed: ["guest_joined","joined"] sessions[].sign_in (variant 1) (variant 2).requested_scopes array Required — sessions[].sign_in (variant 1) (variant 2).requested_scopes[] string Required — sessions[].sign_in (variant 1) (variant 2).page_id null Required — sessions[].sign_in (variant 1) (variant 2).expires_at null Required — sessions[].sign_in (variant 1) (variant 2).outcome string Required — Constant: "failed" sessions[].sign_in (variant 1) (variant 2).reason string Required — Constant: "window_start_failed" sessions[].sign_in (variant 1) (variant 2).start_stage string Required — Allowed: ["context","route","page"] sessions[].sign_in (variant 1) (variant 2).window string Required — Allowed: ["not_created","closed","close_failed"] sessions[].sign_in (variant 1) (variant 2).off_site_auth boolean Required — Constant: false sessions[].sign_in (variant 1) (variant 2).agent_browser_data_off_site boolean Required — Constant: false sessions[].sign_in (variant 1) (variant 2).ended_at string Required — ISO 8601 UTC instant. sessions[].sign_in (variant 2) null Required — sessions[].refusals array Required — maxItems: 50 sessions[].refusals[] object Required — additionalProperties: false sessions[].refusals[].seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].refusals[].at string Required — ISO 8601 UTC instant. sessions[].refusals[].page_id string or null Required — sessions[].refusals[].kind string Required — Allowed: ["rove_scope_gate","rove_authority_held","company_refused"] sessions[].refusals[].method string Required — sessions[].refusals[].host string Required — sessions[].refusals[].required_scope string Optional — Constant: "poppy:write" sessions[].refusals[].company_error string Optional — Allowed: ["insufficient_scope","sign_in_required"] sessions[].refusals_head_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].refusals_dropped_through_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessions[].ended_reason string Optional — Allowed: ["agent_disconnected","supervised_session_ended","account_mismatch","company_session_ended","join_failed","token_not_dpop_bound","company_refused","company_response_invalid","document_invalid","company_unavailable"] sessions[].ended_detail string Optional — Constant: "join_cookie_script_readable" sessions[].ended_at string Optional — ISO 8601 UTC instant. sessions[].next string Required — What to do now, from the state and the latest sign-in outcome. minLength: 1
Response 400: RFC 7807 poppy-invalid-origin, poppy-invalid-return-to or poppy-invalid-scope, with next Response 401: RFC 7807 authentication problem Response 404: RFC 7807 poppy-unavailable (Poppy off), poppy-not-participating, poppy-session-not-found or foreign-or-absent, with next Response 409: RFC 7807 Poppy state problem (poppy-invalid-state, poppy-company-cookies-present, poppy-domain-overlap, poppy-sign-in-in-progress, …), with next Response 410: RFC 7807 poppy-session-ended, with next Response 422: RFC 7807 poppy-document-invalid or poppy-web-join-unsupported, with next Response 429: RFC 7807 poppy-connect-rate-limited, poppy-sign-in-rate-limited or poppy-company-rate-limited (Retry-After), with next Response 502: RFC 7807 poppy-company-unavailable, poppy-company-refused or poppy-join-failed (with cleanup), with next Response 503: RFC 7807 poppy-sign-in-window-failed (with stage), with next DELETE /v1/browser/session/{session_id}/poppy/{poppy_session_id} End a Poppy Session (poppy_disconnect)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false sign_out boolean Optional —
Response 200: Successful response Response 400: RFC 7807 poppy-invalid-origin, poppy-invalid-return-to or poppy-invalid-scope, with next Response 401: RFC 7807 authentication problem Response 404: RFC 7807 poppy-unavailable (Poppy off), poppy-not-participating, poppy-session-not-found or foreign-or-absent, with next Response 409: RFC 7807 Poppy state problem (poppy-invalid-state, poppy-company-cookies-present, poppy-domain-overlap, poppy-sign-in-in-progress, …), with next Response 410: RFC 7807 poppy-session-ended, with next Response 422: RFC 7807 poppy-document-invalid or poppy-web-join-unsupported, with next Response 429: RFC 7807 poppy-connect-rate-limited, poppy-sign-in-rate-limited or poppy-company-rate-limited (Retry-After), with next Response 502: RFC 7807 poppy-company-unavailable, poppy-company-refused or poppy-join-failed (with cleanup), with next Response 503: RFC 7807 poppy-sign-in-window-failed (with stage), with next POST /v1/browser/session/{session_id}/poppy/{poppy_session_id}/sign-in Ask the person to sign in to a Poppy site (poppy_sign_in)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false scopes array Optional — scopes[] string Required —
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — A Poppy Session as the driving agent sees it (§5.7). Cross-field rules, enforced before sending: recovery is non-null exactly in the recovery states guest, signed_in and revoked; a recovery state's effective_authority.mode is held; recovery.toward = joined only with state signed_in; recovery.after = sign_in_ended needs sign_in.phase ended, and sign_in_approved needs a started sign-in in phase joining; sign_in_starting only in guest_joined, joined or signing_in, never with recovery; start_stage is present exactly when reason is window_start_failed, and navigation only on a started sign-in. additionalProperties: false poppy_session_id string Required — company object Required — additionalProperties: false company.name string Required — company.domain string Required — state string Required — Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"] recovery union Required — recovery (variant 1) object Required — additionalProperties: false recovery (variant 1).toward string Required — Allowed: ["guest_joined","joined"] recovery (variant 1).after string Required — Allowed: ["sign_in_ended","sign_in_approved","revocation"] recovery (variant 1).since string Required — ISO 8601 UTC instant. recovery (variant 2) null Required — signed_in boolean Required — effective_authority union Required — effective_authority (variant 1) object Required — additionalProperties: false effective_authority (variant 1).mode string Required — Allowed: ["held","guest","signed_in"] effective_authority (variant 1).scopes array Required — effective_authority (variant 1).scopes[] string Required — effective_authority (variant 2) null Required — cleanup string Required — Allowed: ["none","pending","done","failed"] last_reset union Required — last_reset (variant 1) object Required — additionalProperties: false last_reset (variant 1).at string Required — ISO 8601 UTC instant. last_reset (variant 1).pages_reset array Required — last_reset (variant 1).pages_reset[] string Required — last_reset (variant 1).pages_closed array Required — last_reset (variant 1).pages_closed[] string Required — last_reset (variant 2) null Required — requested_scopes array Required — requested_scopes[] string Required — granted_scopes array Required — granted_scopes[] string Required — available_scopes array Required — available_scopes[] object Required — additionalProperties: false available_scopes[].scope string Required — available_scopes[].description string Required — sign_in_modes array Required — sign_in_modes[] string Required — Constant: "direct" sign_in_modes_unsupported array Required — sign_in_modes_unsupported[] string Required — Allowed: ["device","mediated"] stored_sign_in object Required — additionalProperties: false stored_sign_in.available boolean Required — stored_sign_in.used boolean Required — stored_sign_in.scopes array Required — stored_sign_in.scopes[] string Required — stored_sign_in.signed_in_at string Optional — ISO 8601 UTC instant. stored_sign_in.reason string Optional — Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"] sign_in_starting boolean Required — sign_in union Required — sign_in (variant 1) union Required — sign_in (variant 1) (variant 1) object Required — A sign-in that reached S5: it has the page S3 created and the deadline S5 installed. additionalProperties: false sign_in (variant 1) (variant 1).kind string Required — Constant: "started" sign_in (variant 1) (variant 1).phase string Required — Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"] sign_in (variant 1) (variant 1).origin string Required — Allowed: ["guest_joined","joined"] sign_in (variant 1) (variant 1).requested_scopes array Required — sign_in (variant 1) (variant 1).requested_scopes[] string Required — sign_in (variant 1) (variant 1).page_id string Required — sign_in (variant 1) (variant 1).expires_at string Required — ISO 8601 UTC instant. sign_in (variant 1) (variant 1).start_stage string Optional — Constant: "navigation" sign_in (variant 1) (variant 1).outcome string Optional — Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"] sign_in (variant 1) (variant 1).reason string Optional — Allowed: ["declined_at_start","declined_at_company","timed_out","page_closed","returned_without_signing_in","callback_invalid","authorization_error","exchange_failed","company_response_invalid","token_not_dpop_bound","company_refused","company_session_ended","join_failed","window_start_failed","agent_disconnected","supervised_session_ended"] sign_in (variant 1) (variant 1).detail string Optional — Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"] sign_in (variant 1) (variant 1).granted_scopes array Optional — sign_in (variant 1) (variant 1).granted_scopes[] string Required — sign_in (variant 1) (variant 1).off_site_auth boolean Optional — sign_in (variant 1) (variant 1).window string Optional — Allowed: ["open","closing","closed","close_failed"] sign_in (variant 1) (variant 1).agent_browser_data_off_site boolean Optional — sign_in (variant 1) (variant 1).ended_at string Optional — ISO 8601 UTC instant. sign_in (variant 1) (variant 2) object Required — A startup that failed at S1, S2 or S3: no page and no deadline, never borrowed from an earlier sign-in. additionalProperties: false sign_in (variant 1) (variant 2).kind string Required — Constant: "start_failed" sign_in (variant 1) (variant 2).phase string Required — Constant: "ended" sign_in (variant 1) (variant 2).origin string Required — Allowed: ["guest_joined","joined"] sign_in (variant 1) (variant 2).requested_scopes array Required — sign_in (variant 1) (variant 2).requested_scopes[] string Required — sign_in (variant 1) (variant 2).page_id null Required — sign_in (variant 1) (variant 2).expires_at null Required — sign_in (variant 1) (variant 2).outcome string Required — Constant: "failed" sign_in (variant 1) (variant 2).reason string Required — Constant: "window_start_failed" sign_in (variant 1) (variant 2).start_stage string Required — Allowed: ["context","route","page"] sign_in (variant 1) (variant 2).window string Required — Allowed: ["not_created","closed","close_failed"] sign_in (variant 1) (variant 2).off_site_auth boolean Required — Constant: false sign_in (variant 1) (variant 2).agent_browser_data_off_site boolean Required — Constant: false sign_in (variant 1) (variant 2).ended_at string Required — ISO 8601 UTC instant. sign_in (variant 2) null Required — refusals array Required — maxItems: 50 refusals[] object Required — additionalProperties: false refusals[].seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 refusals[].at string Required — ISO 8601 UTC instant. refusals[].page_id string or null Required — refusals[].kind string Required — Allowed: ["rove_scope_gate","rove_authority_held","company_refused"] refusals[].method string Required — refusals[].host string Required — refusals[].required_scope string Optional — Constant: "poppy:write" refusals[].company_error string Optional — Allowed: ["insufficient_scope","sign_in_required"] refusals_head_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 refusals_dropped_through_seq integer Required — minimum: -9007199254740991 maximum: 9007199254740991 ended_reason string Optional — Allowed: ["agent_disconnected","supervised_session_ended","account_mismatch","company_session_ended","join_failed","token_not_dpop_bound","company_refused","company_response_invalid","document_invalid","company_unavailable"] ended_detail string Optional — Constant: "join_cookie_script_readable" ended_at string Optional — ISO 8601 UTC instant. next string Required — What to do now, from the state and the latest sign-in outcome. minLength: 1
Response 400: RFC 7807 poppy-invalid-origin, poppy-invalid-return-to or poppy-invalid-scope, with next Response 401: RFC 7807 authentication problem Response 404: RFC 7807 poppy-unavailable (Poppy off), poppy-not-participating, poppy-session-not-found or foreign-or-absent, with next Response 409: RFC 7807 Poppy state problem (poppy-invalid-state, poppy-company-cookies-present, poppy-domain-overlap, poppy-sign-in-in-progress, …), with next Response 410: RFC 7807 poppy-session-ended, with next Response 422: RFC 7807 poppy-document-invalid or poppy-web-join-unsupported, with next Response 429: RFC 7807 poppy-connect-rate-limited, poppy-sign-in-rate-limited or poppy-company-rate-limited (Retry-After), with next Response 502: RFC 7807 poppy-company-unavailable, poppy-company-refused or poppy-join-failed (with cleanup), with next Response 503: RFC 7807 poppy-sign-in-window-failed (with stage), with next POST /v1/browser/session Create a browser session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false permissions_mode string Optional — Supervised session only. Without the account owner’s web session, an omitted mode starts in the account’s stored starting mode (ask when none is stored), and a requested mode must be no more permissive than that default (ask < auto < off; bypass never) or the start is refused with owner-session-required before any browser is allocated. With the owner’s web session and matching Origin, any mode may be selected; an omitted mode then defaults to ask. Off and bypass skip action permission rules and approvals from the first action. Allowed: ["ask","auto","bypass","off"] egress string Optional — Allowed: ["warp","direct"] supervised boolean Optional — Opt in to exclusive human takeover, explicit handback, and fresh-observation fencing. viewport_mode string Optional — Supervised sessions only. Whether human stage changes resize the remote page (`follow-human`) or leave its agent viewport fixed (`fixed`). Allowed: ["follow-human","fixed"] viewport object Optional — additionalProperties: false viewport.width integer Required 1280 maximum: 9007199254740991 viewport.height integer Required 720 maximum: 9007199254740991 record_video boolean Required false user_agent string Optional — locale string Required "en-US" timezone string Optional — block_resources array Optional — block_resources[] string Required —
Response 201: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false permissions_mode string Optional — Allowed: ["ask","auto","bypass","off"] permissions_mode_revision integer Optional — minimum: 0 maximum: 9007199254740991 session_id string Required — egress_mode string Optional — Allowed: ["warp","direct"] connection_token string Required — expires_at string Required — environment string Required — Allowed: ["live","test"] supervised boolean Required — viewport_mode string Optional — Allowed: ["follow-human","fixed"] restore union Optional — Supervised sessions only. Answer it with the restore_pages action (decision restore or dismiss). restore (variant 1) object Optional — additionalProperties: false restore (variant 1).available boolean Required — Constant: true restore (variant 1).page_count integer Required — minimum: -9007199254740991 maximum: 9007199254740991 restore (variant 1).ended_reason string Required — Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown. restore (variant 1).ended_at string Required — restore (variant 1).pages array Required — restore (variant 1).pages[] object Required — additionalProperties: false restore (variant 1).pages[].url string Required — restore (variant 1).pages[].title string Required — restore (variant 2) null Optional —
Response 401: RFC 7807 authentication problem Response 402: application/json — RFC 7807 insufficient-credits: the balance does not cover this operation; carries the balance, the packs this key may buy and next_step (buy_credits or ask_owner) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/insufficient-credits" title string Required — status number Required — Constant: 402 detail string Required — instance string Required — credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none" required_millicredits integer Optional — What the refused operation needed, in millicredits. minimum: -9007199254740991 maximum: 9007199254740991
Response 403: application/json — RFC 7807 owner-origin-refused: selecting permissions_mode requires a matching account owner and web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: application/json — RFC 7807 profile-busy: another active supervised session on this key uses the browser profile; session_id names it Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/profile-busy","https://api.noncelogic.com/errors/supervised-session-limit","https://api.noncelogic.com/errors/pool-exhausted","https://api.noncelogic.com/errors/worker-unavailable","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — session_id string Optional — profile-busy only: the active session that holds this browser profile, on the same key scope
Response 410: RFC 7807 expired or replayed admission problem Response 429: application/json — RFC 7807 supervised-session-limit: the account runs its most supervised sessions; honour Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/profile-busy","https://api.noncelogic.com/errors/supervised-session-limit","https://api.noncelogic.com/errors/pool-exhausted","https://api.noncelogic.com/errors/worker-unavailable","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — session_id string Optional — profile-busy only: the active session that holds this browser profile, on the same key scope
Response 503: application/json — RFC 7807 pool-exhausted or worker-unavailable (both with Retry-After), or browser-crash Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/profile-busy","https://api.noncelogic.com/errors/supervised-session-limit","https://api.noncelogic.com/errors/pool-exhausted","https://api.noncelogic.com/errors/worker-unavailable","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — session_id string Optional — profile-busy only: the active session that holds this browser profile, on the same key scope
GET /v1/browser/session/{session_id} Get browser session state
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false permissions_mode string Optional — Committed permissions mode for an active supervised session. Allowed: ["ask","auto","bypass","off"] permissions_mode_revision integer Optional — minimum: 0 maximum: 9007199254740991 egress_mode string Optional — Actual route for supervised sessions, including terminal readback. Allowed: ["direct","warp"] session_id string Required — status string Required — reason string Optional — Why the session is waiting for a human, or human_wait_timeout after its wait expired. human_wait_expires_at string Optional — expires_at string Required — hard_expires_at string Required — last_activity_at string Required — closed_at string or null Required — controller string Optional — Allowed: ["agent","human"] observation_required boolean Optional — control_return_reason string or null Optional — current_page_id string or null Optional — page_events_seq integer Optional — minimum: -9007199254740991 maximum: 9007199254740991 pages array Optional — Open pages, then the last 20 closed or blocked ones. pages[] object Required — additionalProperties: false pages[].page_id string Required — pages[].opener_page_id string or null Required — pages[].return_to_page_id string or null Required — pages[].url string Required — pages[].title string Required — pages[].status string Required — Allowed: ["open","closed","blocked"] pages[].blocked_reason string Optional — Allowed: ["target-policy-refused","page-limit"] pages[].closed_by string Optional — Allowed: ["page","agent","human","crash","session-end","context-lost"] pages[].opened_at string Required — pages[].closed_at string Optional — restore union Optional — Supervised sessions only. Answer it with the restore_pages action (decision restore or dismiss). restore (variant 1) object Optional — additionalProperties: false restore (variant 1).available boolean Required — Constant: true restore (variant 1).page_count integer Required — minimum: -9007199254740991 maximum: 9007199254740991 restore (variant 1).ended_reason string Required — Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown. restore (variant 1).ended_at string Required — restore (variant 1).pages array Required — restore (variant 1).pages[] object Required — additionalProperties: false restore (variant 1).pages[].url string Required — restore (variant 1).pages[].title string Required — restore (variant 2) null Optional —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: application/json — RFC 7807 session-expired problem; a supervised session that ended (including by an API restart) carries reason and controller; reason credit_exhausted adds the out-of-credits extensions (balance, packs_within_limits, purchasing, next_step, links, owner_action_url, retry none) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/session-expired" title string Required — status number Required — Constant: 410 detail string Required — instance string Required — reason string Optional — Allowed: ["runtime_restarted","explicit_close","inactivity_expired","human_wait_timeout","page_memory_exhausted","worker_lost","browser_unresponsive","credit_exhausted"] controller string Optional — Allowed: ["agent","human"] credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none"
POST /v1/browser/session/{session_id}/expire Expire a browser session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /v1/browser/action Execute a browser action
Supervised input actions enforce the account permission for the selected page site and action class (navigate uses its destination). Deny returns permission_denied before dispatch. Ask immediately returns 202 with status permission_parked, the approval_id and expires_at while retaining the original action for up to five minutes; the account owner lists and approves it through /v1/account/action-approvals. A repeated request for the same session, action class and site reuses the pending approval (same approval_id and expires_at) and supersedes the earlier request, which settles as permission_denied with cause approval_superseded; an approval releases only the request waiting on it. Retry with the original Idempotency-Key to poll without dispatching again: while parked it returns 202 permission_parked with approval_id and expires_at; once refused it returns the refusal reason and cause (approval_timeout, approval_superseded or an owner Deny as permission_denied). Observations and close_session remain available while parked.
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false session_id string Required — minLength: 1 action string Required — One of: navigate, click, fill, type, press, fill_credential, fill_otp, select, scroll, wait_for, screenshot, get_text, get_attribute, get_a11y_tree, evaluate, list_pages, switch_page, close_page, wait_for_popup, restore_pages, request_human, close_session. minLength: 1 params object Required {} additionalProperties: {} params.page_id string Optional — The page to act on, from list_pages or pages_opened. Defaults to the current page. Does not change the current page. Required by switch_page and close_page. params.ref string Optional — An element ref from this page's latest get_a11y_tree, such as e5, or f1e3 inside an iframe. params.frame union Optional — A CSS selector for an iframe, or a list of them for nested iframes. selector, label and ref then resolve inside it. params.frame (variant 1) string Optional — params.frame (variant 2) array Optional — params.frame (variant 2)[] string Required — params.text string Optional — type: text to append key by key to selector or ref; never returned or logged. params.delay_ms number Optional — type: delay between keystrokes in milliseconds; defaults to 0. minimum: 0 params.key string Optional — press: key or combination, such as Enter, Tab, Escape, ArrowDown or Control+A. Optional selector or ref is focused first; otherwise uses current focus. minLength: 1 params.timeout_ms number Optional — navigate, wait_for and wait_for_popup: how long to wait, in milliseconds (wait_for_popup: default 10000, maximum 30000). params.after_seq integer Optional — wait_for_popup: wait for a popup after this page event seq, such as an earlier result's page_events_seq_start. list_pages: report page events after this seq. minimum: -9007199254740991 maximum: 9007199254740991 params.decision string Optional — restore_pages: restore reopens the offered pages; dismiss drops the offer. Allowed: ["restore","dismiss"] params.reason string Optional — request_human: why the agent needs a human. Repeating request_human renews the viewer grant without extending the wait. params.etld_plus_one string Optional — fill_credential / fill_otp: the saved credential site. Requires a supervised session and a matching page eTLD+1, including private suffixes. fill_credential fills username/password; fill_otp fills the current six-digit TOTP (SHA-1, 30-second step) into the focused main-page input. Values are never returned; frame targeting is refused. params.username_selector string Optional — fill_credential: optional CSS selector for the username input; defaults to username/email inputs. params.password_selector string Optional — fill_credential: optional CSS selector for a password input; defaults to current-password/password inputs.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false success boolean Required — result object Required — additionalProperties: {} result.page_id string Optional — The page the action ran on. result.current_page_id string or null Optional — result.page_events_seq_start integer Optional — The page event head when the action started. minimum: -9007199254740991 maximum: 9007199254740991 result.page_events_seq integer Optional — The page event head when the action finished. minimum: -9007199254740991 maximum: 9007199254740991 result.pages_opened array Optional — result.pages_opened[] string Required — result.pages_closed array Optional — result.pages_closed[] string Required — result.popups_blocked array Optional — result.popups_blocked[] object Required — additionalProperties: false result.popups_blocked[].page_id string Required — result.popups_blocked[].reason string Required — Allowed: ["target-policy-refused","page-limit"] result.navigations_refused array Optional — result.navigations_refused[] object Required — additionalProperties: false result.navigations_refused[].page_id string or null Required — result.navigations_refused[].frame string Required — Allowed: ["top","sub","popup"] result.pages_replaced array Optional — result.pages_replaced[] string Required — result.pages array Optional — list_pages result.pages[] object Required — additionalProperties: false result.pages[].page_id string Required — result.pages[].opener_page_id string or null Required — result.pages[].return_to_page_id string or null Required — result.pages[].url string Required — result.pages[].title string Required — result.pages[].status string Required — Allowed: ["open","closed","blocked"] result.pages[].blocked_reason string Optional — Allowed: ["target-policy-refused","page-limit"] result.pages[].closed_by string Optional — Allowed: ["page","agent","human","crash","session-end","context-lost"] result.pages[].opened_at string Required — result.pages[].closed_at string Optional — result.restore union Optional — list_pages in a supervised session result.restore (variant 1) object Optional — additionalProperties: false result.restore (variant 1).available boolean Required — Constant: true result.restore (variant 1).page_count integer Required — minimum: -9007199254740991 maximum: 9007199254740991 result.restore (variant 1).ended_reason string Required — Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown. result.restore (variant 1).ended_at string Required — result.restore (variant 1).pages array Required — result.restore (variant 1).pages[] object Required — additionalProperties: false result.restore (variant 1).pages[].url string Required — result.restore (variant 1).pages[].title string Required — result.restore (variant 2) null Optional — credits_used number Required — duration_ms number Required — environment string Required — Allowed: ["live","test"]
Response 202: application/json — Action pending: Ask returns permission_parked with approval_id, session_id, action_class, etld_plus_one, expires_at, operation_id, reason permission_required and poll_after_seconds. An idempotent retry reports the accepted operation until it settles. Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false success boolean Required — result object Required — additionalProperties: {} result.page_id string Optional — The page the action ran on. result.current_page_id string or null Optional — result.page_events_seq_start integer Optional — The page event head when the action started. minimum: -9007199254740991 maximum: 9007199254740991 result.page_events_seq integer Optional — The page event head when the action finished. minimum: -9007199254740991 maximum: 9007199254740991 result.pages_opened array Optional — result.pages_opened[] string Required — result.pages_closed array Optional — result.pages_closed[] string Required — result.popups_blocked array Optional — result.popups_blocked[] object Required — additionalProperties: false result.popups_blocked[].page_id string Required — result.popups_blocked[].reason string Required — Allowed: ["target-policy-refused","page-limit"] result.navigations_refused array Optional — result.navigations_refused[] object Required — additionalProperties: false result.navigations_refused[].page_id string or null Required — result.navigations_refused[].frame string Required — Allowed: ["top","sub","popup"] result.pages_replaced array Optional — result.pages_replaced[] string Required — result.pages array Optional — list_pages result.pages[] object Required — additionalProperties: false result.pages[].page_id string Required — result.pages[].opener_page_id string or null Required — result.pages[].return_to_page_id string or null Required — result.pages[].url string Required — result.pages[].title string Required — result.pages[].status string Required — Allowed: ["open","closed","blocked"] result.pages[].blocked_reason string Optional — Allowed: ["target-policy-refused","page-limit"] result.pages[].closed_by string Optional — Allowed: ["page","agent","human","crash","session-end","context-lost"] result.pages[].opened_at string Required — result.pages[].closed_at string Optional — result.restore union Optional — list_pages in a supervised session result.restore (variant 1) object Optional — additionalProperties: false result.restore (variant 1).available boolean Required — Constant: true result.restore (variant 1).page_count integer Required — minimum: -9007199254740991 maximum: 9007199254740991 result.restore (variant 1).ended_reason string Required — Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown. result.restore (variant 1).ended_at string Required — result.restore (variant 1).pages array Required — result.restore (variant 1).pages[] object Required — additionalProperties: false result.restore (variant 1).pages[].url string Required — result.restore (variant 1).pages[].title string Required — result.restore (variant 2) null Optional — credits_used number Required — duration_ms number Required — environment string Required — Allowed: ["live","test"]
Response 401: RFC 7807 authentication problem Response 402: application/json — RFC 7807 insufficient-credits: the balance does not cover this operation; carries the balance, the packs this key may buy and next_step (buy_credits or ask_owner) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/insufficient-credits" title string Required — status number Required — Constant: 402 detail string Required — instance string Required — credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none" required_millicredits integer Optional — What the refused operation needed, in millicredits. minimum: -9007199254740991 maximum: 9007199254740991
Response 403: RFC 7807 permission_denied: Deny, approval timeout, unavailable permissions, or a changed action context Response 404: application/json — RFC 7807 page-not-found: no page with this page_id exists in the session Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/page-not-found","https://api.noncelogic.com/errors/page-closed","https://api.noncelogic.com/errors/last-page","https://api.noncelogic.com/errors/popup-blocked","https://api.noncelogic.com/errors/popup-timeout","https://api.noncelogic.com/errors/selector-not-found","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — reason string Optional — popup-blocked only Allowed: ["target-policy-refused","page-limit"]
Response 409: application/json — RFC 7807 state/control problem, including permission_required while another action awaits approval, page-closed, last-page, and no-restore-offer (restore_pages with no offer) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/page-not-found","https://api.noncelogic.com/errors/page-closed","https://api.noncelogic.com/errors/last-page","https://api.noncelogic.com/errors/popup-blocked","https://api.noncelogic.com/errors/popup-timeout","https://api.noncelogic.com/errors/selector-not-found","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — reason string Optional — popup-blocked only Allowed: ["target-policy-refused","page-limit"]
Response 410: application/json — RFC 7807 session-expired problem; a supervised session that ended (including by an API restart) carries reason and controller; reason credit_exhausted adds the out-of-credits extensions (balance, packs_within_limits, purchasing, next_step, links, owner_action_url, retry none) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/session-expired" title string Required — status number Required — Constant: 410 detail string Required — instance string Required — reason string Optional — Allowed: ["runtime_restarted","explicit_close","inactivity_expired","human_wait_timeout","page_memory_exhausted","worker_lost","browser_unresponsive","credit_exhausted"] controller string Optional — Allowed: ["agent","human"] credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none"
Response 422: application/json — RFC 7807 popup-blocked (reason target-policy-refused or page-limit) or selector-not-found (including a stale ref) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/page-not-found","https://api.noncelogic.com/errors/page-closed","https://api.noncelogic.com/errors/last-page","https://api.noncelogic.com/errors/popup-blocked","https://api.noncelogic.com/errors/popup-timeout","https://api.noncelogic.com/errors/selector-not-found","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — reason string Optional — popup-blocked only Allowed: ["target-policy-refused","page-limit"]
Response 503: application/json — RFC 7807 browser-crash: the browser context for this session is no longer available Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/page-not-found","https://api.noncelogic.com/errors/page-closed","https://api.noncelogic.com/errors/last-page","https://api.noncelogic.com/errors/popup-blocked","https://api.noncelogic.com/errors/popup-timeout","https://api.noncelogic.com/errors/selector-not-found","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — reason string Optional — popup-blocked only Allowed: ["target-policy-refused","page-limit"]
Response 504: application/json — RFC 7807 popup-timeout: wait_for_popup saw no popup in time Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Allowed: ["https://api.noncelogic.com/errors/page-not-found","https://api.noncelogic.com/errors/page-closed","https://api.noncelogic.com/errors/last-page","https://api.noncelogic.com/errors/popup-blocked","https://api.noncelogic.com/errors/popup-timeout","https://api.noncelogic.com/errors/selector-not-found","https://api.noncelogic.com/errors/browser-crash"] title string Required — status integer Required — minimum: -9007199254740991 maximum: 9007199254740991 detail string Required — instance string Required — reason string Optional — popup-blocked only Allowed: ["target-policy-refused","page-limit"]
POST /v1/browser/screenshot Capture a screenshot
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false url string Required — minLength: 1 selector string Optional — full_page boolean Required false format string Required "png" Allowed: ["png","jpeg"] quality integer Required 80 minimum: 1 maximum: 100 viewport object Optional — additionalProperties: false viewport.width integer Required — maximum: 9007199254740991 viewport.height integer Required — maximum: 9007199254740991
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 402: application/json — RFC 7807 insufficient-credits: the balance does not cover this operation; carries the balance, the packs this key may buy and next_step (buy_credits or ask_owner) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/insufficient-credits" title string Required — status number Required — Constant: 402 detail string Required — instance string Required — credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none" required_millicredits integer Optional — What the refused operation needed, in millicredits. minimum: -9007199254740991 maximum: 9007199254740991
Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem Extract structured page data
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false url string Required — minLength: 1 schema object Required — additionalProperties: {"type":"string"} wait_for_selector string Optional —
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 402: application/json — RFC 7807 insufficient-credits: the balance does not cover this operation; carries the balance, the packs this key may buy and next_step (buy_credits or ask_owner) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/insufficient-credits" title string Required — status number Required — Constant: 402 detail string Required — instance string Required — credits_remaining integer Optional — Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Optional — Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991 packs_within_limits array Optional — Catalogue pack ids this key may buy now within every limit; empty when it may not buy. packs_within_limits[] string Required — purchasing object Optional — Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — next_step string Optional — buy_credits when the key may buy and some pack fits every limit (POST links.purchase with an item_id from packs_within_limits); else ask_owner (give a person owner_action_url). Allowed: ["buy_credits","ask_owner"] links object Optional — additionalProperties: false links.balance string Required — Constant: "/v1/account/balance" links.purchase string Required — Constant: "/v1/billing/purchases" links.catalogue string Required — Constant: "/v1/billing/catalogue" links.docs string Required — Constant: "https://roveapi.com/docs/billing-api" owner_action_url string Optional — The billing page where the account owner adds credits. retry string Optional — Repeating the request unchanged fails again until credits are added. Constant: "none" required_millicredits integer Optional — What the refused operation needed, in millicredits. minimum: -9007199254740991 maximum: 9007199254740991
Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/artifacts/{session_id} List browser artifacts and download failures
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: session_id Field Type Requiredness Default Description and constraints session_id string Required —
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false session_id string Required — artifacts array Required — artifacts[] object Required — additionalProperties: false artifacts[].id string Optional — artifacts[].type string Required — Allowed: ["screenshot","video","download","receipt"] artifacts[].name string Optional — artifacts[].content_type string Optional — artifacts[].url string Required — For downloads, an API path requiring the session API key; otherwise a signed storage URL. artifacts[].confirmation_url string Optional — For receipts, the confirmation page URL captured after the approved purchase. artifacts[].expires_at string Required — artifacts[].file_size_bytes number Optional — artifacts[].width_px number Optional — artifacts[].height_px number Optional — artifacts[].duration_seconds number Optional — download_errors array Required — Recent refused or failed downloads. Downloads are limited to 25 MiB per file and 100 MiB per session. download_errors[] object Required — additionalProperties: false download_errors[].name string Required — download_errors[].reason string Required — Allowed: ["download-too-large","session-download-limit","download-timeout","download-failed"] download_errors[].detail string Optional — Safe failure cause and recovery guidance. download_errors[].error_id string Optional — Diagnostic reference for support. download_errors[].max_file_size_bytes number Required —
Response 401: RFC 7807 authentication problem Response 404: Session absent or outside the caller account and key scope Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/artifacts/{session_id}/{artifact_id} Fetch a session download with the session API key
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: session_id Field Type Requiredness Default Description and constraints session_id string Required —
path parameter: artifact_id Field Type Requiredness Default Description and constraints artifact_id string Required —
Response 200: application/octet-stream — Download bytes, served as an attachment Field Type Requiredness Default Description and constraints body string Required — format: "binary"
Response 401: RFC 7807 authentication problem Response 404: Download absent or session outside the caller account and key scope Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/history List this key's supervised browser profile history, newest first
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: q Field Type Requiredness Default Description and constraints q string Optional — Case-insensitive substring of the URL or title. maxLength: 512
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 50 minimum: 1 maximum: 200
query parameter: before Field Type Requiredness Default Description and constraints before string Optional — next_before from an earlier page.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false entries array Required — Newest first. entries[] object Required — additionalProperties: false entries[].entry_id string Required — entries[].url string Required — entries[].title string Required — entries[].visited_at string Required — entries[].session_id string Required — entries[].actor string Required — Allowed: ["agent","human"] next_before string or null Required — Pass as before for older entries.
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem DELETE /v1/browser/history Clear this key's supervised browser profile history
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false cleared boolean Required — Constant: true
Response 401: RFC 7807 authentication problem Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/profile-busy" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — session_id string Required — The session that holds this browser profile; stop it first.
Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/passkeys List this key's passkey metadata by site (Cache-Control: no-store)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: rp_id Field Type Requiredness Default Description and constraints rp_id string Optional — Exact relying-party site; results are sorted by site and credential ID. Key material is never returned. minLength: 1 maxLength: 253
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false passkeys array Required — passkeys[] object Required — additionalProperties: false passkeys[].credential_id string Required — passkeys[].rp_id string or null Required — passkeys[].user_name string Optional — passkeys[].user_display_name string Optional —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem DELETE /v1/browser/passkeys/{credential_id} Delete one passkey from the idle profile; deleted is false when absent
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: credential_id Field Type Requiredness Default Description and constraints credential_id string Required — URL-encoded credential_id from the listing. minLength: 1 maxLength: 4096
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false deleted boolean Required —
Response 401: RFC 7807 authentication problem Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/profile-busy" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — session_id string Required — The session that holds this browser profile; stop it first.
Response 410: RFC 7807 expired or replayed admission problem DELETE /v1/browser/profile Delete this key's supervised browser profile: cookies, storage, history and restore offer
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false deleted boolean Required — Constant: true
Response 401: RFC 7807 authentication problem Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/profile-busy" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — session_id string Required — The session that holds this browser profile; stop it first.
Response 410: RFC 7807 expired or replayed admission problem GET /v1/account/supervised-sessions List this Lucia account's supervised browser sessions
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: status Field Type Requiredness Default Description and constraints status string Optional — Allowed: ["active","ended"]
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 100 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by created_at descending, then session id.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false sessions array Required — sessions[] object Required — additionalProperties: false sessions[].id string Required — sessions[].status string Required — Allowed: ["active","closed","expired","failed"] sessions[].controller string Required — Allowed: ["agent","human"] sessions[].generation integer Required — maximum: 9007199254740991 sessions[].observation_required boolean Required — sessions[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessions[].updated_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessions[].expires_at union Required — sessions[].expires_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessions[].expires_at (variant 2) null Required — sessions[].closed_at union Required — sessions[].closed_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessions[].closed_at (variant 2) null Required — sessions[].closed_reason string or null Required — sessions[].api_key union Required — The API key that started the session; null when the session was not started by one of the account keys. sessions[].api_key (variant 1) object Required — additionalProperties: false sessions[].api_key (variant 1).id string Required — sessions[].api_key (variant 1).name string or null Required — sessions[].api_key (variant 1).environment string Required — Allowed: ["live","test"] sessions[].api_key (variant 1).key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" sessions[].api_key (variant 1).revoked boolean Required — sessions[].api_key (variant 2) null Required — sessions[].supervised_millicredits_per_minute union Optional — The millicredits per minute this session snapshotted when it started; later rate or tier changes do not alter it. null when the session has no metering record. sessions[].supervised_millicredits_per_minute (variant 1) integer Optional — maximum: 9007199254740991 sessions[].supervised_millicredits_per_minute (variant 2) null Optional — sessions[].human_wait_expires_at string Optional — Present on session lists and detail while waiting for a human. Renewing a handoff link preserves this deadline. format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessions[].human_wait_reason string Optional — The reason the agent requested a human, present while waiting for a human. next_cursor string or null Required — Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params (status or limit; errors[] per field) or invalid-cursor (restart from the first page) Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable GET /v1/account/supervised-usage List this Lucia account's supervised session usage
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: status Field Type Requiredness Default Description and constraints status string Optional — Allowed: ["active","ended"]
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 100 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by started_at descending, then session id.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false usage array Required — usage[] object Required — additionalProperties: false usage[].session_id string Required — usage[].state string Required — Allowed: ["active","ended"] usage[].started_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" usage[].ended_at union Required — usage[].ended_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" usage[].ended_at (variant 2) null Required — usage[].worker_milliseconds integer Required — minimum: -9007199254740991 maximum: 9007199254740991 usage[].credits_charged number Required — Whole credits: floor(credits_charged_millicredits / 1000). usage[].credits_charged_millicredits integer Required — Exact amount charged, in millicredits (1 credit = 1,000). minimum: -9007199254740991 maximum: 9007199254740991 usage[].closed_reason string or null Required — usage[].streamed_bytes integer Required — minimum: -9007199254740991 maximum: 9007199254740991 usage[].profile_bytes integer Required — minimum: -9007199254740991 maximum: 9007199254740991 usage[].active_control_milliseconds integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_cursor string or null Required — Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params (status or limit; errors[] per field) or invalid-cursor (restart from the first page) Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable GET /v1/account/supervised-sessions/{sessionId} Get an account-owned supervised browser session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — status string Required — Allowed: ["active","closed","expired","failed"] controller string Required — Allowed: ["agent","human"] generation integer Required — maximum: 9007199254740991 observation_required boolean Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" updated_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" expires_at union Required — expires_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" expires_at (variant 2) null Required — closed_at union Required — closed_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" closed_at (variant 2) null Required — closed_reason string or null Required — api_key union Required — The API key that started the session; null when the session was not started by one of the account keys. api_key (variant 1) object Required — additionalProperties: false api_key (variant 1).id string Required — api_key (variant 1).name string or null Required — api_key (variant 1).environment string Required — Allowed: ["live","test"] api_key (variant 1).key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" api_key (variant 1).revoked boolean Required — api_key (variant 2) null Required — supervised_millicredits_per_minute union Optional — The millicredits per minute this session snapshotted when it started; later rate or tier changes do not alter it. null when the session has no metering record. supervised_millicredits_per_minute (variant 1) integer Optional — maximum: 9007199254740991 supervised_millicredits_per_minute (variant 2) null Optional — human_wait_expires_at string Optional — Present on session lists and detail while waiting for a human. Renewing a handoff link preserves this deadline. format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" human_wait_reason string Optional — The reason the agent requested a human, present while waiting for a human.
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable GET /v1/account/supervised-sessions/{sessionId}/audit-events Page through a session's admitted actions in sequence order, including after it ends
Returns attribution and target identifiers only. Typed/pasted input is represented by a length bucket. Cursors are bound to the account, agent scope and session. The agent must use the key that started the session. Reads cost no credits.
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 100 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional —
Response 200: application/json — Audit events in ascending sequence order (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false events array Required — events[] object Required — additionalProperties: false events[].sequence integer Required — maximum: 9007199254740991 events[].occurred_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" events[].actor string Required — Allowed: ["agent","human"] events[].actor_id string Required — events[].action string Required — events[].target object Required — additionalProperties: false events[].target.pageId string Optional — events[].target.selector string Optional — events[].target.ref string Optional — events[].target.label string Optional — events[].target.frame union Optional — events[].target.frame (variant 1) string Optional — events[].target.frame (variant 2) array Optional — events[].target.frame (variant 2)[] string Required — events[].target.site string Optional — events[].target.x number Optional — events[].target.y number Optional — events[].authorization object Required — additionalProperties: false events[].authorization.kind string Required — Allowed: ["permission","approval","viewer_grant","session","session_mode"] events[].authorization.id string Required — events[].generation integer Required — maximum: 9007199254740991 events[].permissions_mode string Optional — Session mode at action admission; absent on historical events. Allowed: ["ask","auto","bypass","off"] events[].permissions_mode_revision integer Optional — minimum: 0 maximum: 9007199254740991 events[].length_bucket string Optional — Allowed: ["0","1-16","17-64","65-256","257-1024","1025-8192","8193+"] next_cursor string or null Required — Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params or invalid-cursor Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 401: RFC 7807 account Lucia session required Response 404: RFC 7807 session absent or outside the account or agent scope Response 503: RFC 7807 session-audit-unavailable GET /v1/browser/sessions/{sessionId}/audit-events Page through a session's admitted actions in sequence order, including after it ends
Returns attribution and target identifiers only. Typed/pasted input is represented by a length bucket. Cursors are bound to the account, agent scope and session. The agent must use the key that started the session. Reads cost no credits.
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 100 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional —
Response 200: application/json — Audit events in ascending sequence order (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false events array Required — events[] object Required — additionalProperties: false events[].sequence integer Required — maximum: 9007199254740991 events[].occurred_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" events[].actor string Required — Allowed: ["agent","human"] events[].actor_id string Required — events[].action string Required — events[].target object Required — additionalProperties: false events[].target.pageId string Optional — events[].target.selector string Optional — events[].target.ref string Optional — events[].target.label string Optional — events[].target.frame union Optional — events[].target.frame (variant 1) string Optional — events[].target.frame (variant 2) array Optional — events[].target.frame (variant 2)[] string Required — events[].target.site string Optional — events[].target.x number Optional — events[].target.y number Optional — events[].authorization object Required — additionalProperties: false events[].authorization.kind string Required — Allowed: ["permission","approval","viewer_grant","session","session_mode"] events[].authorization.id string Required — events[].generation integer Required — maximum: 9007199254740991 events[].permissions_mode string Optional — Session mode at action admission; absent on historical events. Allowed: ["ask","auto","bypass","off"] events[].permissions_mode_revision integer Optional — minimum: 0 maximum: 9007199254740991 events[].length_bucket string Optional — Allowed: ["0","1-16","17-64","65-256","257-1024","1025-8192","8193+"] next_cursor string or null Required — Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params or invalid-cursor Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 401: RFC 7807 API key required Response 404: RFC 7807 session absent or outside the account or agent scope Response 503: RFC 7807 session-audit-unavailable POST /v1/account/supervised-sessions/{sessionId}/viewer-grants Create an account-owned supervised viewer link
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Response 201: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false viewer_url string Required — format: "uri" expires_in_seconds integer Required — maximum: 9007199254740991
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable POST /v1/account/supervised-sessions/{sessionId}/viewer-grants/renew Renew an account-owned handoff viewer link while the session is waiting for a human; preserves the wait deadline and refuses with 409 after handback or expiry
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Response 201: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false viewer_url string Required — format: "uri" expires_in_seconds integer Required — maximum: 9007199254740991
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable POST /v1/account/supervised-sessions/{sessionId}/stop Stop an account-owned supervised browser session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false status string Required — Constant: "stopped"
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable POST /v1/browser/sessions/{sessionId}/viewer-grants Create a one-time supervised viewer admission grant
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 201: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false admission_code string Required — expires_in_seconds integer Required — maximum: 9007199254740991 viewer_url string Required — format: "uri"
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-admissions Exchange a viewer admission code
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false code string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 201: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — sessionId string Required — expiresAt integer Required — minimum: -9007199254740991 maximum: 9007199254740991 sessionCreatedAt string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" sessionElapsedSeconds integer Required — minimum: 0 maximum: 9007199254740991 apiKeyFingerprint string Required — pattern: "^[a-f0-9]{8}$" viewport_mode string Required — Allowed: ["follow-human","fixed"]
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-control Take, resume, or return supervised control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" action string Required — Allowed: ["take","resume","return"] expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"] generation integer Required — maximum: 9007199254740991
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-viewport-mode Change the supervised viewer viewport mode
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" viewport_mode string Required — Allowed: ["follow-human","fixed"] expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false viewport_mode string Required — Allowed: ["follow-human","fixed"] transition string Optional — Allowed: ["applying","recovery-required","returnQueued"]
Response 202: Viewport mode operation is still applying; input remains fenced Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-navigation Navigate, go back, go forward, or reload the supervised browser under human control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" action string Required — Allowed: ["navigate","back","forward","reload"] url string Optional — expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false url string Required — title string Required — moved boolean Required —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem Response 422: RFC 7807 navigation target refused by the supervised target policy Response 502: RFC 7807 navigation did not finish POST /viewer-page Make an open page the current page under human control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" page_id string Required — expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false current_page_id string Required —
Response 401: RFC 7807 authentication problem Response 404: RFC 7807 page-not-found: the page has closed or does not exist Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 browser-crash: the browser for this session is not available right now POST /viewer-history List the supervised profile's history for the human who holds control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" q string Optional — maxLength: 512 before string Optional —
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false entries array Required — Newest first. entries[] object Required — additionalProperties: false entries[].entry_id string Required — entries[].url string Required — entries[].title string Required — entries[].visited_at string Required — entries[].session_id string Required — entries[].actor string Required — Allowed: ["agent","human"] next_before string or null Required — Pass as before for older entries.
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-page-close Close an open page that is not the last one, under human control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" page_id string Required — expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false closed_page_id string Required — current_page_id string Required —
Response 401: RFC 7807 authentication problem Response 404: RFC 7807 page-not-found: the page has closed or does not exist Response 409: RFC 7807 viewer-control-unavailable, or last-page: the last open page cannot be closed Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 browser-crash: the browser for this session is not available right now POST /viewer-restore Restore or dismiss the pages of a session that ended unexpectedly, under human control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" decision string Required — Allowed: ["restore","dismiss"] expected_generation integer Required — maximum: 9007199254740991
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false decision string Required — Allowed: ["restore","dismiss"] current_page_id string or null Required — pages array Required — pages[] object Required — additionalProperties: false pages[].url string Required — pages[].title string Required — pages[].outcome string Required — Allowed: ["restored","refused","failed","skipped"] pages[].page_id string Optional — pages[].reason string Optional — Allowed: ["page-limit","target-policy-refused","navigation-failed"]
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-challenge-dismiss Dismiss a parked challenge from the supervised viewer
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" incident_id string Required — minLength: 1
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false incident_id string Required — state string Required — Constant: "abandoned" outcome string Required — Constant: "human_dismissed"
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 challenge-dismiss-refused: the incident is not parked, or not on this viewer's session Response 410: RFC 7807 expired or replayed admission problem POST /viewer-dialog Accept or dismiss a page's JavaScript dialog, by the person in control
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$" dialog_id string Required — minLength: 1 maxLength: 64 action string Required — Allowed: ["accept","dismiss"] text string Optional — maxLength: 4096
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false dialog_id string Required — action string Required — Allowed: ["accept","dismiss"]
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 viewer-control-unavailable: this viewer does not hold control, or the dialog has already closed Response 410: RFC 7807 expired or replayed admission problem POST /viewer-downloads List completed downloads for the admitted viewer, with file-specific links valid for one hour
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false downloads array Required — downloads[] object Required — additionalProperties: false downloads[].id string Required — downloads[].name string Required — downloads[].file_size_bytes integer Required — minimum: 0 maximum: 9007199254740991 downloads[].url string Required —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /viewer-download Save a completed download using its signed file link
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: session_id Field Type Requiredness Default Description and constraints session_id string Required —
query parameter: artifact_id Field Type Requiredness Default Description and constraints artifact_id string Required —
query parameter: expires Field Type Requiredness Default Description and constraints expires string Required —
query parameter: signature Field Type Requiredness Default Description and constraints signature string Required —
Response 200: application/octet-stream — Download bytes, served as an attachment (private, no-store) Field Type Requiredness Default Description and constraints body string Required — format: "binary"
Response 404: File absent, or link invalid or expired POST /viewer-action-approval Read the pending action for this admitted viewer session; answering requires the owner route
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false approval union Required — approval (variant 1) object Required — additionalProperties: false approval (variant 1).approval_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" approval (variant 1).session_id string Required — approval (variant 1).action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" approval (variant 1).etld_plus_one string Required — approval (variant 1).expires_at string Required — approval (variant 2) null Required —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-permissions-mode Read this admitted viewer session's permissions mode; changing it requires the owner route
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false session_id string Required — mode string Required — Allowed: ["ask","auto","bypass","off"] revision integer Required — minimum: 0 maximum: 9007199254740991
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 session-permissions-unavailable: Rove could not read this session’s permissions mode POST /viewer-challenge Read the challenge banner and, for the viewer credential that returned control only, the ask-once sheet (saving needs the owner route)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false incident union Required — incident (variant 1) object Required — additionalProperties: false incident (variant 1).incident_id string Required — incident (variant 1).site string Required — incident (variant 1).state string Required — Allowed: ["parked","human_solving","verifying"] incident (variant 1).parked_seconds integer Optional — minimum: 0 maximum: 9007199254740991 incident (variant 2) null Required — ask union Required — ask (variant 1) object Required — additionalProperties: false ask (variant 1).incident_id string Required — ask (variant 1).site string Required — ask (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" ask (variant 1).save_requires_sign_in boolean Required — Constant: true ask (variant 1).choices array Required — ask (variant 1).choices[] union Required — ask (variant 1).choices[] (variant 1) object Required — additionalProperties: false ask (variant 1).choices[] (variant 1).choice string Required — Constant: "just_this_time" ask (variant 1).choices[] (variant 1).scope string Required — Constant: "none" ask (variant 1).choices[] (variant 2) object Required — additionalProperties: false ask (variant 1).choices[] (variant 2).choice string Required — Allowed: ["this_site","always","never"] ask (variant 1).choices[] (variant 2).scope string Required — Allowed: ["site","all_sites"] ask (variant 1).choices[] (variant 2).etld_plus_one string Required — ask (variant 1).choices[] (variant 2).action string Required — Allowed: ["page_human","abandon"] ask (variant 2) null Required —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-stop Stop a supervised browser session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"] generation integer Required — maximum: 9007199254740991
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /viewer-disconnect Disconnect a supervised viewer
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — origin string Required — pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"] generation integer Required — maximum: 9007199254740991
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/viewer-shell Serve the supervised viewer shell
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /viewer-shell Serve the supervised viewer shell on the unprefixed path the web /supervised route loads
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/view/{token} Serve the one-click supervised viewer for a one-time admission token
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/browser/stream WebSocket endpoint for supervised frames and input
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/account/api-keys List this Lucia account's API keys
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: include_revoked Field Type Requiredness Default Description and constraints include_revoked boolean Optional false
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false keys array Required — Newest first, at most 200. keys[] object Required — additionalProperties: false keys[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" keys[].name string or null Required — keys[].environment string Required — Allowed: ["live","test"] keys[].key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" keys[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" keys[].last_used_at union Required — keys[].last_used_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" keys[].last_used_at (variant 2) null Required — keys[].revoked_at union Required — keys[].revoked_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" keys[].revoked_at (variant 2) null Required — keys[].kind string Required — 'oauth' for the dedicated key of a connected app's grant; such a key has no token and cannot be rotated. Allowed: ["key","oauth"] keys[].connected_app union Required — null for every kind 'key' row. keys[].connected_app (variant 1) object Required — additionalProperties: false keys[].connected_app (variant 1).grant_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" keys[].connected_app (variant 1).client_name string Required — The app's display name: its asserted name, else its redirect host, else 'an app on this computer'. Not verified by Rove. keys[].connected_app (variant 1).grant_active boolean Required — keys[].connected_app (variant 2) null Required — truncated boolean Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 429: RFC 7807 rate-limit-exceeded: 120 reads per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 POST /v1/account/api-keys Create an API key; the token is shown once
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false name string Required — minLength: 1 maxLength: 64 environment string Required — Allowed: ["live","test"]
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false key object Required — additionalProperties: false key.id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" key.name string or null Required — key.environment string Required — Allowed: ["live","test"] key.key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" key.created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.last_used_at union Required — key.last_used_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.last_used_at (variant 2) null Required — key.revoked_at union Required — key.revoked_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.revoked_at (variant 2) null Required — key.kind string Required — 'oauth' for the dedicated key of a connected app's grant; such a key has no token and cannot be rotated. Allowed: ["key","oauth"] key.connected_app union Required — null for every kind 'key' row. key.connected_app (variant 1) object Required — additionalProperties: false key.connected_app (variant 1).grant_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" key.connected_app (variant 1).client_name string Required — The app's display name: its asserted name, else its redirect host, else 'an app on this computer'. Not verified by Rove. key.connected_app (variant 1).grant_active boolean Required — key.connected_app (variant 2) null Required — token string Required — Shown once; never returned again.
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 429: application/json — RFC 7807 key-create-rate-limited: 20 creates and rotates per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-create-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/api-keys/{id}/passkeys List passkey metadata for an owned key's profile (Cache-Control: no-store)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
query parameter: rp_id Field Type Requiredness Default Description and constraints rp_id string Optional — Exact relying-party site; results are sorted by site and credential ID. Key material is never returned. minLength: 1 maxLength: 253
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false passkeys array Required — passkeys[] object Required — additionalProperties: false passkeys[].credential_id string Required — passkeys[].rp_id string or null Required — passkeys[].user_name string Optional — passkeys[].user_display_name string Optional —
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: RFC 7807 session ended or no longer eligible Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable DELETE /v1/account/api-keys/{id}/passkeys/{credential_id} Delete one passkey from an owned key's idle profile; requires the web Origin
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
path parameter: credential_id Field Type Requiredness Default Description and constraints credential_id string Required — URL-encoded credential_id from the listing. minLength: 1 maxLength: 4096
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false deleted boolean Required —
Response 401: RFC 7807 account Lucia session required Response 403: RFC 7807 owner mutation origin refused Response 404: RFC 7807 session absent or outside the account Response 409: application/json — RFC 7807 profile-busy; stop the session first Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/profile-busy" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — session_id string Required — The session that holds this browser profile; stop it first.
Response 410: RFC 7807 expired or replayed admission problem Response 503: RFC 7807 supervised session service unavailable POST /v1/account/api-keys/{id}/revoke Revoke an API key by id (idempotent); ends its live session and deletes its browser profile
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" name string or null Required — environment string Required — Allowed: ["live","test"] key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" last_used_at union Required — last_used_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" last_used_at (variant 2) null Required — revoked_at union Required — revoked_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" revoked_at (variant 2) null Required — kind string Required — 'oauth' for the dedicated key of a connected app's grant; such a key has no token and cannot be rotated. Allowed: ["key","oauth"] connected_app union Required — null for every kind 'key' row. connected_app (variant 1) object Required — additionalProperties: false connected_app (variant 1).grant_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" connected_app (variant 1).client_name string Required — The app's display name: its asserted name, else its redirect host, else 'an app on this computer'. Not verified by Rove. connected_app (variant 1).grant_active boolean Required — connected_app (variant 2) null Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 404: application/json — RFC 7807 key-not-found: re-read the key list Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required —
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 POST /v1/account/api-keys/{id}/rotate Rotate an API key by id: revoke it and issue a new token with the same name and environment, atomically
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false key object Required — additionalProperties: false key.id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" key.name string or null Required — key.environment string Required — Allowed: ["live","test"] key.key_id_fingerprint string Required — The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$" key.created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.last_used_at union Required — key.last_used_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.last_used_at (variant 2) null Required — key.revoked_at union Required — key.revoked_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" key.revoked_at (variant 2) null Required — key.kind string Required — 'oauth' for the dedicated key of a connected app's grant; such a key has no token and cannot be rotated. Allowed: ["key","oauth"] key.connected_app union Required — null for every kind 'key' row. key.connected_app (variant 1) object Required — additionalProperties: false key.connected_app (variant 1).grant_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" key.connected_app (variant 1).client_name string Required — The app's display name: its asserted name, else its redirect host, else 'an app on this computer'. Not verified by Rove. key.connected_app (variant 1).grant_active boolean Required — key.connected_app (variant 2) null Required — token string Required — Shown once; never returned again. revoked_key_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 404: application/json — RFC 7807 key-not-found: re-read the key list Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required —
Response 409: application/json — RFC 7807 key-revoked; or oauth-key-not-rotatable for a connected app's key (AR-01) Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/key-revoked" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 409 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).revoked_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/oauth-key-not-rotatable" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 409 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 429: application/json — RFC 7807 key-create-rate-limited: 20 creates and rotates per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-create-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/challenge-policies List this Lucia account's saved challenge choices, "*" first, then eTLD+1 ascending
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 100 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional —
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false policies array Required — policies[] object Required — additionalProperties: false policies[].etld_plus_one string Required — policies[].scope string Required — Allowed: ["site","all_sites"] policies[].action string Required — Allowed: ["page_human","abandon"] policies[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" policies[].updated_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_cursor string or null Required —
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor (garbled, or another account or list) Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 503: application/json — RFC 7807 challenge-policy-unavailable: the policy store could not be read or changed; nothing changed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required —
POST /v1/account/challenge-policies/answer Save the ask-once choice for a handed-back challenge: owner cookie plus the viewer credential that returned control; insert-if-absent; a same-choice repeat replays the recorded response
Needs both the lucia session cookie of the session's account and, in the body, the viewer credential that returned control after the solve. An API key, OAuth token or viewer credential alone never saves a choice. Residual limit: a request carrying a valid owner cookie is treated as the owner, as on every /v1/account route, so an agent driving the person's own signed-in browser acts as the owner.
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credential string Required — incident_id string Required — minLength: 1 choice string Required — Allowed: ["just_this_time","this_site","always","never"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false incident_id string Required — choice string Required — Allowed: ["just_this_time","this_site","always","never"] policy union Required — policy (variant 1) object Required — additionalProperties: false policy (variant 1).etld_plus_one string Required — policy (variant 1).scope string Required — Allowed: ["site","all_sites"] policy (variant 1).action string Required — Allowed: ["page_human","abandon"] policy (variant 2) null Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 409: application/json — RFC 7807 challenge-policy-refused: reason not_offered, already_answered, window_closed or policy_exists (with existing) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/challenge-policy-refused" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — reason string Required — Allowed: ["not_offered","already_answered","window_closed","policy_exists"] existing object Optional — additionalProperties: false existing.etld_plus_one string Required — existing.scope string Required — Allowed: ["site","all_sites"] existing.action string Required — Allowed: ["page_human","abandon"]
Response 503: application/json — RFC 7807 challenge-policy-unavailable: the policy store could not be read or changed; nothing changed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required —
POST /v1/account/challenge-policies/revoke Remove one saved challenge choice (idempotent: removed false when none)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — minLength: 1 maxLength: 253 pattern: "^\\S+$"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — removed boolean Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 503: application/json — RFC 7807 challenge-policy-unavailable: the policy store could not be read or changed; nothing changed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required —
POST /v1/account/challenge-policies/reset Remove every saved challenge choice of the account, "*" included
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false removed integer Required — minimum: 0 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 503: application/json — RFC 7807 challenge-policy-unavailable: the policy store could not be read or changed; nothing changed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required —
GET /v1/account/sessions/{sessionId}/permissions-mode Read the active session’s permissions mode as its owner
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Response 200: application/json — Committed session mode and revision (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false session_id string Required — mode string Required — Allowed: ["ask","auto","bypass","off"] revision integer Required — minimum: 0 maximum: 9007199254740991
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 404: RFC 7807 session-not-found: no active supervised session owned by this account Response 503: RFC 7807 session-permissions-unavailable PUT /v1/account/sessions/{sessionId}/permissions-mode Change the active session’s permissions mode as its owner
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: sessionId Field Type Requiredness Default Description and constraints sessionId string Required —
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false mode string Required — Allowed: ["ask","auto"] expected_revision integer Required — minimum: 0 maximum: 2147483647
Response 200: application/json — Committed session mode and revision (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false session_id string Required — mode string Required — Allowed: ["ask","auto","bypass","off"] revision integer Required — minimum: 0 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: RFC 7807 session-not-found: no active supervised session owned by this account Response 409: RFC 7807 session-permissions-conflict: stale revision or input in progress; refresh before retrying Response 503: RFC 7807 session-permissions-unavailable GET /v1/account/settings/permissions-mode Read the starting permissions mode for this account’s agent-started sessions; ask when none is stored
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — The stored starting mode, or ask with stored false (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false mode string Required — The stored starting mode, or ask when none is stored. Allowed: ["ask","auto","off"] stored boolean Required — Whether the account has a stored starting mode; false reads as ask.
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 503: RFC 7807 account-permissions-default-unavailable: nothing changed PUT /v1/account/settings/permissions-mode Set the starting permissions mode (ask, auto or off) for this account’s agent-started sessions; owner cookie and web Origin only
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false mode string Required — The permissions mode agent-started sessions of this account start in. Allowed: ["ask","auto","off"]
Response 200: application/json — The stored starting mode, or ask with stored false (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false mode string Required — The stored starting mode, or ask when none is stored. Allowed: ["ask","auto","off"] stored boolean Required — Whether the account has a stored starting mode; false reads as ask.
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required: no owner session cookie, or not from the configured web Origin; nothing changed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 503: RFC 7807 account-permissions-default-unavailable: nothing changed GET /v1/account/action-permissions List saved action permissions for this account, global rules first
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false permissions array Required — permissions[] object Required — additionalProperties: false permissions[].etld_plus_one string Required — permissions[].action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" permissions[].permission string Required — Allowed: ["allow","ask","deny"] permissions[].created_at string Required — permissions[].updated_at string Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 503: RFC 7807 action-permissions-unavailable PUT /v1/account/action-permissions Set Allow, Ask or Deny for a site and action class; lookup uses the site rule, then the global "*" rule, then Ask
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — A hostname, normalized to its eTLD+1 (including private suffixes), or "*" for all sites. minLength: 1 maxLength: 254 action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" permission string Required — Allowed: ["allow","ask","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" permission string Required — Allowed: ["allow","ask","deny"] created_at string Required — updated_at string Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: RFC 7807 action-permissions-unavailable DELETE /v1/account/action-permissions Remove one action permission rule, restoring the global or built-in fallback (idempotent)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — A hostname, normalized to its eTLD+1 (including private suffixes), or "*" for all sites. minLength: 1 maxLength: 254 action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" removed boolean Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: RFC 7807 action-permissions-unavailable GET /v1/account/action-approvals List pending action approvals for this account on this API process; no action input values are retained or returned
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false approvals array Required — approvals[] object Required — additionalProperties: false approvals[].approval_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" approvals[].session_id string Required — approvals[].action_class string Required — pattern: "^[a-z][a-z0-9_]{0,63}$" approvals[].etld_plus_one string Required — approvals[].expires_at string Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 503: RFC 7807 action-permissions-unavailable POST /v1/account/action-approvals/approve Approve one waiting action once; consumes the approval without changing the saved permission rule
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false approval_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false approved boolean Required — Constant: true
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: RFC 7807 approval_refused: expired, already answered, or outside this account Response 503: RFC 7807 action-permissions-unavailable POST /v1/account/action-approvals/answer Answer a pending action: allow once, allow once and enable session auto, save Allow for its site and class, or deny this action
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false approval_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" choice string Required — Allowed: ["allow_once","allow_once_and_auto","always_for_site","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false answered boolean Required — Constant: true
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: RFC 7807 approval_refused: expired, already answered, or outside this account Response 503: RFC 7807 action-permissions-unavailable GET /v1/account/site-credentials List saved credential metadata for this account; never returns secrets
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Metadata only; secret values are never returned (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credentials array Required — credentials[] object Required — additionalProperties: false credentials[].etld_plus_one string Required — credentials[].created_at string Required — credentials[].updated_at string Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 503: RFC 7807 site-credentials-unavailable: database or encryption key unavailable PUT /v1/account/site-credentials Save or replace an encrypted, write-only credential for one eTLD+1
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — A hostname normalized to one eTLD+1, including private suffixes. Wildcards are refused. minLength: 1 maxLength: 254 secret string Required — The credential value to encrypt. For fill_credential, use a JSON string containing username and password strings. Never returned, including on save. minLength: 1 maxLength: 16384 totp_seed string Optional — Optional TOTP seed to encrypt. Never returned. Omit to preserve the existing seed; deleting the credential removes it. minLength: 1 maxLength: 16384
Response 200: application/json — Metadata only; secret values are never returned (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — created_at string Required — updated_at string Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: RFC 7807 site-credentials-unavailable: database or encryption key unavailable DELETE /v1/account/site-credentials Delete the credential for one eTLD+1 (idempotent)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — A hostname normalized to one eTLD+1, including private suffixes. Wildcards are refused. minLength: 1 maxLength: 254
Response 200: application/json — Metadata only; secret values are never returned (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false etld_plus_one string Required — removed boolean Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: RFC 7807 site-credentials-unavailable: database or encryption key unavailable GET /v1/account/oauth/requests/{id} Read an OAuth authorization request: the consent view
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required —
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false request_id string Required — client object Required — additionalProperties: false client.client_id string Required — client.name string Required — client.name_kind string Required — Where the display name came from. 'asserted' names are supplied by the app and not verified. Allowed: ["asserted","redirect_host","this_computer"] client.name_verified boolean Required — Constant: false redirect object Required — additionalProperties: false redirect.host string Required — redirect.kind string Required — Allowed: ["web","loopback"] scopes_requested array Required — scopes_requested[] object Required — additionalProperties: false scopes_requested[].scope string Required — Allowed: ["rove:browse","rove:supervised"] scopes_requested[].title string Required — scopes_requested[].line string Required — existing_grant union Required — existing_grant (variant 1) object Required — additionalProperties: false existing_grant (variant 1).scopes array Required — existing_grant (variant 1).scopes[] object Required — additionalProperties: false existing_grant (variant 1).scopes[].scope string Required — Allowed: ["rove:browse","rove:supervised"] existing_grant (variant 1).scopes[].title string Required — existing_grant (variant 1).created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" existing_grant (variant 2) null Required — choices array Required — choices[] object Required — additionalProperties: false choices[].choice string Required — Allowed: ["allow","allow_browse","deny"] choices[].scopes array Required — choices[].scopes[] string Required — Allowed: ["rove:browse","rove:supervised"] choices[].adds array Required — choices[].adds[] string Required — Allowed: ["rove:browse","rove:supervised"] choices[].removes array Required — choices[].removes[] string Required — Allowed: ["rove:browse","rove:supervised"] choices[].leaves_connected boolean Required — expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" signed_in_as string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 409: application/json — RFC 7807 oauth-request-completed: already decided by this account Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/oauth-request-completed" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — decision string Required — Allowed: ["approved","denied"] client object Required — additionalProperties: false client.name string Required — still_connected boolean Required —
Response 410: application/json — RFC 7807 oauth-request-spent: expired, decided by another account, or unknown Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/oauth-request-spent" title string Required — status number Required — Constant: 410 detail string Required — instance string Required —
Response 429: RFC 7807 rate-limit-exceeded: 120 reads per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 POST /v1/account/oauth/requests/{id}/decision Decide an OAuth authorization request by choice; a same-choice repeat by the deciding account is a re-delivery
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required —
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false choice string Required — Allowed: ["allow","allow_browse","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false redirect_to string Required — Where the browser goes next: the app, with the code or access_denied. Never stored. format: "uri"
Response 400: application/json — RFC 7807 invalid-params: unknown choice, or allow_browse not offered Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: application/json — RFC 7807 owner-origin-refused Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: application/json — RFC 7807 oauth-request-completed Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/oauth-request-completed" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — decision string Required — Allowed: ["approved","denied"] client object Required — additionalProperties: false client.name string Required — still_connected boolean Required —
Response 410: application/json — RFC 7807 oauth-request-spent Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/oauth-request-spent" title string Required — status number Required — Constant: 410 detail string Required — instance string Required —
Response 429: RFC 7807 rate-limit-exceeded: 30 decisions per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/oauth/grants List the account's connected apps (active grants only)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional —
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 50 minimum: 1 maximum: 50
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false items array Required — Active grants only, newest first. items[] object Required — additionalProperties: false items[].grant_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" items[].client object Required — additionalProperties: false items[].client.client_id string Required — items[].client.name string Required — items[].client.name_kind string Required — Where the display name came from. 'asserted' names are supplied by the app and not verified. Allowed: ["asserted","redirect_host","this_computer"] items[].redirect object Required — additionalProperties: false items[].redirect.host string Required — items[].redirect.kind string Required — Allowed: ["web","loopback"] items[].scopes array Required — items[].scopes[] string Required — Allowed: ["rove:browse","rove:supervised"] items[].api_key_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" items[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" items[].updated_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" items[].last_token_issued_at union Required — items[].last_token_issued_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" items[].last_token_issued_at (variant 2) null Required — items[].signed_out_for_safety_at union Required — items[].signed_out_for_safety_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" items[].signed_out_for_safety_at (variant 2) null Required — next_cursor string or null Required —
Response 400: application/json — RFC 7807 invalid-cursor or invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" title string Required — status number Required — Constant: 400 detail string Required — instance string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 429: RFC 7807 rate-limit-exceeded: 120 reads per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 DELETE /v1/account/oauth/grants/{id} Disconnect an app: revoke its grant, tokens and key (idempotent); then end its live session and delete its browser profile
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 204: Revoked once the transaction committed, or already revoked; no content Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 404: application/json — RFC 7807 oauth-grant-not-found Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/oauth-grant-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required —
Response 429: RFC 7807 rate-limit-exceeded: decided before the transaction; this request changed nothing; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/billing/agent-purchasing Read the account's agent spend policy, each live key's purchase grant and the last 20 changes
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false policy object Required — additionalProperties: false policy.state string Required — off by default: no API key can buy until the owner turns it on Allowed: ["off","on"] policy.per_purchase_max_cents integer Required — Ceiling $500; not above period_max_cents. maximum: 50000 policy.period string Required — Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"] policy.period_max_cents integer Required — Ceiling $2,000. maximum: 200000 policy.off_session_allowed boolean Required — policy.updated_at union Required — null until the owner first changes it; the values are then the defaults ($25 per purchase, $100 per month). policy.updated_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" policy.updated_at (variant 2) null Required — policy.period_committed_cents integer Required — Live agent and auto top-up purchases this period that reserve or spent their amount; owner purchases never count. minimum: -9007199254740991 maximum: 9007199254740991 policy.period_resets_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" policy.ceilings object Required — additionalProperties: false policy.ceilings.per_purchase_max_cents number Required — Constant: 50000 policy.ceilings.period_max_cents number Required — Constant: 200000 keys array Required — The account's live keys, newest first. keys[] object Required — additionalProperties: false keys[].api_key_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" keys[].key_name string or null Required — keys[].token_prefix string Required — Allowed: ["rvp_live_","rvp_test_"] keys[].state string Required — none: this key was never allowed to buy. Allowed: ["none","granted","revoked"] keys[].per_purchase_max_cents union Required — null inherits the account limit. keys[].per_purchase_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 keys[].per_purchase_max_cents (variant 2) null Required — keys[].period_max_cents union Required — null inherits the account limit. keys[].period_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 keys[].period_max_cents (variant 2) null Required — keys[].period_committed_cents integer Required — This key's purchases this period, in the key's own mode (test keys count test-mode spend). minimum: -9007199254740991 maximum: 9007199254740991 keys[].last_refusal union Required — keys[].last_refusal (variant 1) object Required — additionalProperties: {} keys[].last_refusal (variant 1).type string Required — keys[].last_refusal (variant 1).limit string Optional — keys[].last_refusal (variant 1).at string Required — keys[].last_refusal (variant 2) null Required — changes array Required — The last 20 owner billing-settings changes, newest first. changes[] object Required — additionalProperties: false changes[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" changes[].kind string Required — Allowed: ["spend_policy","key_grant","payment_method","auto_topup"] changes[].before union Required — changes[].before (variant 1) any Required — changes[].before (variant 2) null Required — changes[].after union Required — changes[].after (variant 1) any Required — changes[].after (variant 2) null Required — changes[].at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 PUT /v1/account/billing/agent-purchasing Turn agent purchasing on or off and set its limits; every change is audited
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — off by default: no API key can buy until the owner turns it on Allowed: ["off","on"] per_purchase_max_cents integer Required — Ceiling $500; not above period_max_cents. maximum: 50000 period string Required — Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"] period_max_cents integer Required — Ceiling $2,000. maximum: 200000 off_session_allowed boolean Required —
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — off by default: no API key can buy until the owner turns it on Allowed: ["off","on"] per_purchase_max_cents integer Required — Ceiling $500; not above period_max_cents. maximum: 50000 period string Required — Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"] period_max_cents integer Required — Ceiling $2,000. maximum: 200000 off_session_allowed boolean Required — updated_at union Required — null until the owner first changes it; the values are then the defaults ($25 per purchase, $100 per month). updated_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" updated_at (variant 2) null Required — period_committed_cents integer Required — Live agent and auto top-up purchases this period that reserve or spent their amount; owner purchases never count. minimum: -9007199254740991 maximum: 9007199254740991 period_resets_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" ceilings object Required — additionalProperties: false ceilings.per_purchase_max_cents number Required — Constant: 50000 ceilings.period_max_cents number Required — Constant: 200000
Response 400: application/json — RFC 7807 invalid-params: the field and its ceiling Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 429: application/json — RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 PUT /v1/account/billing/keys/{keyId}/purchase-grant Allow an API key to buy credits, with optional limits no higher than the account
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: keyId Field Type Requiredness Default Description and constraints keyId string Required — format: "uuid"
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false per_purchase_max_cents union Optional — Omitted or null inherits the account limit; never above it. per_purchase_max_cents (variant 1) integer Optional — maximum: 50000 per_purchase_max_cents (variant 2) null Optional — period_max_cents union Optional — Omitted or null inherits the account limit; never above it. period_max_cents (variant 1) integer Optional — maximum: 200000 period_max_cents (variant 2) null Optional —
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false api_key_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" key_name string or null Required — token_prefix string Required — Allowed: ["rvp_live_","rvp_test_"] state string Required — none: this key was never allowed to buy. Allowed: ["none","granted","revoked"] per_purchase_max_cents union Required — null inherits the account limit. per_purchase_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 per_purchase_max_cents (variant 2) null Required — period_max_cents union Required — null inherits the account limit. period_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 period_max_cents (variant 2) null Required — period_committed_cents integer Required — This key's purchases this period, in the key's own mode (test keys count test-mode spend). minimum: -9007199254740991 maximum: 9007199254740991 last_refusal union Required — last_refusal (variant 1) object Required — additionalProperties: {} last_refusal (variant 1).type string Required — last_refusal (variant 1).limit string Optional — last_refusal (variant 1).at string Required — last_refusal (variant 2) null Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 404: application/json — RFC 7807 key-not-found: re-read the key list Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required —
Response 429: application/json — RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 DELETE /v1/account/billing/keys/{keyId}/purchase-grant Revoke an API key's purchase grant (idempotent)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: keyId Field Type Requiredness Default Description and constraints keyId string Required — format: "uuid"
Response 204: Grant revoked, or there was none; no content Response 401: RFC 7807 owner-session-required: sign in Response 403: RFC 7807 owner-origin-refused (mutations only) Response 404: application/json — RFC 7807 key-not-found: re-read the key list Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/key-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required —
Response 429: application/json — RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/usage-summary Credits by UTC day for this Lucia account, reconciled with the ledger
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: range Field Type Requiredness Default Description and constraints range string Optional "7d" Allowed: ["7d","30d","90d"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false range string Required — Allowed: ["7d","30d","90d"] from string Required — First UTC day of the range, inclusive. format: "date" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$" to string Required — Last UTC day of the range (today), inclusive. format: "date" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$" days array Required — One entry per UTC day, oldest first, zeros included. days[] object Required — additionalProperties: false days[].date string Required — format: "date" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$" days[].supervised_millicredits integer Required — Negated sum of the day's supervised worker ledger rows (charges, settlement, rounding and allocation refunds). minimum: -9007199254740991 maximum: 9007199254740991 days[].action_millicredits integer Required — Negated sum of the day's per-action debits (REST and stdio MCP). minimum: -9007199254740991 maximum: 9007199254740991 days[].actions integer Required — Metered API operations recorded that day. minimum: -9007199254740991 maximum: 9007199254740991 operations array Required — Operations over the range, most frequent first (REST and stdio MCP). operations[] object Required — additionalProperties: false operations[].operation_id string Required — operations[].count integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised object Required — additionalProperties: false supervised.sessions_started integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised.worker_milliseconds integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised.active_control_milliseconds integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised.millicredits integer Required — Sum of days[].supervised_millicredits. minimum: -9007199254740991 maximum: 9007199254740991 totals object Required — additionalProperties: false totals.millicredits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 totals.actions integer Required — minimum: -9007199254740991 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params: unknown range Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 429: RFC 7807 rate-limit-exceeded: 60 reads per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/usage-summary.csv The usage summary as CSV, one row per UTC day: date,supervised_credits,action_credits,actions (credits with three decimals)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: range Field Type Requiredness Default Description and constraints range string Optional "7d" Allowed: ["7d","30d","90d"]
Response 200: text/csv — text/csv; Content-Disposition: attachment; filename="rove-usage-<range>-<to>.csv"; Cache-Control: no-store Field Type Requiredness Default Description and constraints body string Required —
Response 400: application/json — RFC 7807 invalid-params: unknown range Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: RFC 7807 owner-session-required: sign in Response 429: RFC 7807 rate-limit-exceeded: 60 reads per minute per account; Retry-After Response 503: RFC 7807 account-service-unavailable; Retry-After: 30 GET /v1/account/usage Get account usage
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false api_key string Required — Deprecated: the masked key prefix (rvp_live_… or rvp_test_…), never the token. To be removed in a future major version. plan string Required — credits_total number Required — credits_used number Required — credits_remaining number Required — credits_total_millicredits integer Required — Exact credits_total in millicredits (1 credit = 1,000); equals used + remaining exactly. minimum: -9007199254740991 maximum: 9007199254740991 credits_used_millicredits integer Required — Exact credits_used in millicredits. minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Required — Exact balance in millicredits; credits_remaining is its floor in whole credits. minimum: -9007199254740991 maximum: 9007199254740991 current_period_actions object Required — additionalProperties: false current_period_actions.sessions integer Required — minimum: -9007199254740991 maximum: 9007199254740991 current_period_actions.navigations integer Required — minimum: -9007199254740991 maximum: 9007199254740991 current_period_actions.interactions integer Required — minimum: -9007199254740991 maximum: 9007199254740991 current_period_actions.screenshots integer Required — minimum: -9007199254740991 maximum: 9007199254740991 current_period_actions.extractions integer Required — minimum: -9007199254740991 maximum: 9007199254740991 credits_expire string or null Required —
Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /v1/account/keys List API keys
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /v1/account/keys Create an API key
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false name string Optional — test boolean Required false
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /v1/account/keys/revoke Revoke an API key
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false token string Required — minLength: 1
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /v1/account/keys/rotate Rotate an API key
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false token string Required — minLength: 1
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /api/public/signup Create an account
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /api/public/auth/device/start Start device authorization
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem GET /api/public/auth/device/verify Verify device authorization
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /api/public/auth/device/poll Poll device authorization
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /api/public/webhooks/stripe Receive a Stripe webhook (signed; raw body; API version 2026-03-25.dahlia)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Recorded: applied, already applied, ignored or unmatched; a redelivered event id is a duplicate with no effect Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false received boolean Required — Constant: true
Response 400: application/json — RFC 7807 invalid-signature; nothing stored Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-signature" title string Required — status number Required — Constant: 400 detail string Required — instance string Required —
Response 500: RFC 7807 internal error; rolled back, Stripe redelivers Response 503: application/json — RFC 7807 billing-unavailable: Stripe is not configured, the event arrived before the payment it refers to, a setup Checkout's saved method, or the subscription of an invoice that arrived first, could not be read from Stripe yet (rolled back, no event row; Stripe redelivers) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/billing/catalogue Credit prices, packs, tiers, the supervised rate and per-operation costs (public; Cache-Control: public, max-age=60; 60 per minute per IP)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — The current catalogue Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false catalogue_version string Required — The newest effective date, then the number of changes that took effect that day. currency string Required — Constant: "usd" credit_unit object Required — additionalProperties: false credit_unit.credits_per_usd integer Required — minimum: -9007199254740991 maximum: 9007199254740991 credit_unit.millicredits_per_credit integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised object Required — additionalProperties: false supervised.millicredits_per_minute integer Required — The base rate a session started now snapshots. minimum: -9007199254740991 maximum: 9007199254740991 supervised.credits_per_hour number Required — supervised.minimum_minutes integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised.rounding string Required — Allowed: ["ceil","floor","nearest"] costs object Required — additionalProperties: false costs.operations object Required — Whole credits per metered operation id (only those that cost credits). additionalProperties: {"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991} costs.actions object Required — Whole credits per browser.action.execute action. additionalProperties: {"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991} packs array Required — packs[] object Required — additionalProperties: false packs[].id string Required — packs[].version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 packs[].name string Required — packs[].unit_amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 packs[].credits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 packs[].supervised_hours_at_base_rate number Required — Floored to one decimal. tiers array Required — tiers[] object Required — additionalProperties: false tiers[].id string Required — tiers[].version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 tiers[].name string Required — tiers[].unit_amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 tiers[].interval string Required — Constant: "month" tiers[].credits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 tiers[].supervised_millicredits_per_minute integer Required — minimum: -9007199254740991 maximum: 9007199254740991 tiers[].supervised_credits_per_hour number Required —
Response 429: application/json — RFC 7807 purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30 Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/balance This account's exact balance and whether this key may buy credits, within what limits and with which packs
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credits_remaining integer Required — floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 plan string Required — livemode boolean Required — false for a test key: its purchases are simulated and count only against test-mode spend. credit_unit object Required — additionalProperties: false credit_unit.credits_per_usd integer Required — minimum: -9007199254740991 maximum: 9007199254740991 credit_unit.millicredits_per_credit integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised_millicredits_per_minute integer Required — What a supervised session started now would snapshot. minimum: -9007199254740991 maximum: 9007199254740991 purchasing object Required — additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — purchasing.owner_action_url string or null Required — Where the account owner can allow this, when not allowed. purchasing.payment_modes array Required — purchasing.payment_modes[] string Required — Allowed: ["checkout","saved_method"] purchasing.packs_within_limits array Required — Catalogue pack ids that fit every limit right now. purchasing.packs_within_limits[] string Required — purchasing.limits union Required — purchasing.limits (variant 1) object Required — additionalProperties: false purchasing.limits (variant 1).per_purchase_max_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period string Required — Allowed: ["day","week","month"] purchasing.limits (variant 1).period_max_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period_committed_cents integer Required — Agent and auto top-up purchases this period that reserve or spent their amount (same livemode). minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).key_period_max_cents union Required — null on the owner route (no key). purchasing.limits (variant 1).key_period_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).key_period_max_cents (variant 2) null Required — purchasing.limits (variant 1).key_period_committed_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period_resets_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchasing.limits (variant 2) null Required — auto_topup union Required — The account's auto top-up; null until the owner first configures it. auto_topup (variant 1) object Required — additionalProperties: false auto_topup (variant 1).state string Required — Allowed: ["off","armed","in_flight","paused"] auto_topup (variant 1).threshold_credits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 auto_topup (variant 1).blocked_until union Required — auto_topup (variant 1).blocked_until (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" auto_topup (variant 1).blocked_until (variant 2) null Required — auto_topup (variant 1).pause_reason string or null Required — auto_topup (variant 2) null Required —
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/billing/purchases Buy a credit pack within the owner's limits: charge the saved card off-session when allowed, else hand a person a Checkout link (next_action). Requires Idempotency-Key; a replay answers 200 with replayed true and Idempotent-Replayed: true; refusals leave no purchase. 10 per key and 20 per account per hour, per livemode
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
header parameter: Idempotency-Key Field Type Requiredness Default Description and constraints Idempotency-Key string Required — Scoped to the account; reuse it on every retry of the same purchase, use a new one for a new purchase. pattern: "^[A-Za-z0-9_.:-]{1,128}$"
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false item_id string Required — A current catalogue pack id, e.g. pack_1k (GET /v1/billing/catalogue). minLength: 1 maxLength: 64 payment string Optional — auto (default): charge the saved card when the owner allowed it, else hand a person a Checkout link; checkout: always a link; saved_method: only the saved card (refused with suggested_payment auto when not eligible). Allowed: ["auto","checkout","saved_method"]
Response 200: application/json — Idempotency-Key replay: the purchase as it is now (reconciled with Stripe first when it was still created after 2 minutes) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 400: application/json — RFC 7807 idempotency-key-required, or invalid-params (body or a malformed Idempotency-Key) Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/idempotency-key-required" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 1).idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2).idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. body (variant 2).errors array Required — body (variant 2).errors[] object Required — additionalProperties: false body (variant 2).errors[].field string Required — body (variant 2).errors[].detail string Required —
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 402: application/json — RFC 7807 payment-failed: the saved card was declined under payment 'saved_method', or Stripe refused the charge; the purchase is failed; retry new_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/payment-failed" title string Required — status number Required — Constant: 402 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. failure_code string Required — Stripe's decline or error code, or stripe_invalid_request (for example the saved card was removed). purchase_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
Response 403: application/json — RFC 7807 purchase-not-permitted (reason agent_purchasing_off or key_not_granted with owner_action_url, retry none; or no_saved_method / off_session_not_allowed with suggested_payment auto, retry same_key) or spend-limit-exceeded Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-permitted" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 403 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 1).idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. body (variant 1).reason string Required — Allowed: ["agent_purchasing_off","key_not_granted","no_saved_method","off_session_not_allowed"] body (variant 1).owner_action_url string Optional — agent_purchasing_off and key_not_granted: give the person this URL. body (variant 1).suggested_payment string Optional — no_saved_method and off_session_not_allowed (payment 'saved_method' only): retry with the same key and payment 'auto', which hands a Checkout link to a person (retry same_key). Constant: "auto" body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/spend-limit-exceeded" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 403 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2).idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. body (variant 2).limit string Required — Checked in this order. Allowed: ["per_purchase","key_period","account_period"] body (variant 2).limit_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 body (variant 2).committed_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 body (variant 2).requested_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 body (variant 2).resets_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" body (variant 2).packs_within_limits array Required — body (variant 2).packs_within_limits[] string Required — body (variant 2).owner_action_url string Required — Where the account owner can act (the billing page).
Response 404: application/json — RFC 7807 pack-not-found Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/pack-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. item_id any Required — The item id that was asked for.
Response 409: application/json — RFC 7807 idempotency-in-progress: the account's other purchase holds the lock; Retry-After: 1, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/idempotency-in-progress" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one.
Response 422: application/json — RFC 7807 idempotency-key-reused: the key was used for a different request; retry new_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/idempotency-key-reused" title string Required — status number Required — Constant: 422 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one.
Response 429: application/json — RFC 7807 purchase-rate-limited (Retry-After until the oldest counted purchase leaves the hour; retry same_key) or rate-limit-exceeded (plan limiter) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one.
Response 503: application/json — RFC 7807 billing-unavailable: Stripe unconfigured or unreachable; purchase_id when the row was kept created (a same-key retry reconciles it and never charges twice); retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] idempotency_key string Optional — The Idempotency-Key the request carried, when it had one. purchase_id string Optional — Present when the purchase row was kept created: Stripe may have acted; a same-key retry after 2 minutes reconciles it. format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
GET /v1/billing/purchases List the purchases this key created, newest first; the cursor is bound to the key
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 20 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false data array Required — Only purchases this key created, newest first (created_at, then id), at most limit (default 20, at most 100). data[] object Required — additionalProperties: false data[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].object string Required — Constant: "purchase" data[].status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] data[].livemode boolean Required — data[].actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] data[].api_key_id union Required — data[].api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].api_key_id (variant 2) null Required — data[].api_key_name string or null Required — data[].replayed boolean Required — data[].channel string Required — Allowed: ["checkout","off_session"] data[].item object Required — additionalProperties: false data[].item.id string Required — data[].item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].item.name string Required — data[].amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].currency string Required — Constant: "usd" data[].credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 data[].amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].next_action union Required — data[].next_action (variant 1) object Required — additionalProperties: false data[].next_action (variant 1).type string Required — Constant: "open_checkout_url" data[].next_action (variant 1).url string Required — data[].next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] data[].next_action (variant 1).instruction string Required — data[].next_action (variant 2) null Required — data[].retry union Required — data[].retry (variant 1) string Required — Allowed: ["same_key","new_key"] data[].retry (variant 2) null Required — data[].failure_code string or null Required — data[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].paid_at union Required — data[].paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].paid_at (variant 2) null Required — next_cursor string or null Required — Opaque; valid only for this key.
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/billing/purchases/{id} Read a purchase this key created (poll every 5 s or slower until paid); next_action carries the payment link for a person
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 404: application/json — RFC 7807 purchase-not-found (also another key's or the owner's purchase) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/billing/purchases/{id}/cancel Cancel an unpaid purchase this key created, so its payment link stops working (naturally idempotent; 30 per key per hour)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 404: application/json — RFC 7807 purchase-not-found (also another key's or the owner's purchase) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: application/json — RFC 7807 purchase-not-cancelable: purchase_status is the purchase status, or completing when the payment is already completing Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-cancelable" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] purchase_status string Required — The purchase's status, or completing when Stripe says the payment is already completing (the payment event follows). Named purchase_status because status is the HTTP status (RFC 7807).
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/billing/purchases/{id}/simulate Test keys only: move a simulated purchase to paid, expired, failed or requires_action (authentication_required); never charges and writes no ledger row (60 per key per hour)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false outcome string Required — Allowed: ["paid","expired","failed","authentication_required"]
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 400: application/json — RFC 7807 invalid-params (outcome) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 invalid-api-key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.noncelogic.com/errors/invalid-api-key" title string Required — status number Required — Constant: 401 detail string Required — instance string Required —
Response 403: application/json — RFC 7807 test-key-required: a live key cannot simulate Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/test-key-required" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 purchase-not-found (also another key's or the owner's purchase) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: application/json — RFC 7807 invalid-transition: purchase_status does not allow this outcome Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-transition" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] purchase_status string Required — The purchase's status; simulate only from a state that allows the outcome. Named purchase_status because status is the HTTP status (RFC 7807).
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/balance The account's BalanceView: plan, exact balance and the agent spend policy (no key limits)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false credits_remaining integer Required — floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991 credits_remaining_millicredits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 plan string Required — livemode boolean Required — false for a test key: its purchases are simulated and count only against test-mode spend. credit_unit object Required — additionalProperties: false credit_unit.credits_per_usd integer Required — minimum: -9007199254740991 maximum: 9007199254740991 credit_unit.millicredits_per_credit integer Required — minimum: -9007199254740991 maximum: 9007199254740991 supervised_millicredits_per_minute integer Required — What a supervised session started now would snapshot. minimum: -9007199254740991 maximum: 9007199254740991 purchasing object Required — additionalProperties: false purchasing.allowed boolean Required — purchasing.reason union Required — purchasing.reason (variant 1) string Required — Allowed: ["agent_purchasing_off","key_not_granted"] purchasing.reason (variant 2) null Required — purchasing.owner_action_url string or null Required — Where the account owner can allow this, when not allowed. purchasing.payment_modes array Required — purchasing.payment_modes[] string Required — Allowed: ["checkout","saved_method"] purchasing.packs_within_limits array Required — Catalogue pack ids that fit every limit right now. purchasing.packs_within_limits[] string Required — purchasing.limits union Required — purchasing.limits (variant 1) object Required — additionalProperties: false purchasing.limits (variant 1).per_purchase_max_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period string Required — Allowed: ["day","week","month"] purchasing.limits (variant 1).period_max_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period_committed_cents integer Required — Agent and auto top-up purchases this period that reserve or spent their amount (same livemode). minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).key_period_max_cents union Required — null on the owner route (no key). purchasing.limits (variant 1).key_period_max_cents (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).key_period_max_cents (variant 2) null Required — purchasing.limits (variant 1).key_period_committed_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchasing.limits (variant 1).period_resets_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchasing.limits (variant 2) null Required — auto_topup union Required — The account's auto top-up; null until the owner first configures it. auto_topup (variant 1) object Required — additionalProperties: false auto_topup (variant 1).state string Required — Allowed: ["off","armed","in_flight","paused"] auto_topup (variant 1).threshold_credits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 auto_topup (variant 1).blocked_until union Required — auto_topup (variant 1).blocked_until (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" auto_topup (variant 1).blocked_until (variant 2) null Required — auto_topup (variant 1).pause_reason string or null Required — auto_topup (variant 2) null Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/account/billing/payment-method/setup-sessions Save a card for agent purchases: a Stripe Checkout in setup mode on the account customer (30 per account per hour); the webhook stores the method it saved
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false url string Required — A Stripe Checkout (mode setup) that saves a card for agent purchases; returns to the billing page with ?setup=done.
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
DELETE /v1/account/billing/payment-method Remove the saved card: detach it in Stripe, then delete it (agent purchases then need a person each time); counts toward 30 billing-settings changes per hour
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 204: Removed; no content Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 no-saved-method Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/no-saved-method" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/auto-topup The account's auto top-up (state, threshold, pack, a limit block or pause reason) and the saved card it charges
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — off until the owner arms it; in_flight while its purchase is being paid; paused until the owner arms it again (or its handoff is paid). Allowed: ["off","armed","in_flight","paused"] threshold_credits union Required — Buys when the balance falls below this many whole credits; null until first configured. threshold_credits (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 threshold_credits (variant 2) null Required — item_id string or null Required — The catalogue pack it buys; null until first configured. blocked_until union Required — Set when the account's agent period limit refused it: it waits until then (the period end). blocked_until (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" blocked_until (variant 2) null Required — pause_reason union Required — pause_reason (variant 1) string Required — Allowed: ["no_saved_method","off_session_not_allowed","purchasing_off","item_retired","exceeds_per_purchase_limit","authentication_required","card_declined","stripe_request_unconfirmed"] pause_reason (variant 2) null Required — in_flight_purchase_id union Required — The purchase it follows: the one in flight, or the handoff a paused (authentication_required) one waits on; read it at /v1/account/billing/purchases/{id} for the payment link. in_flight_purchase_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" in_flight_purchase_id (variant 2) null Required — saved_method union Required — The saved card it charges, or null. saved_method (variant 1) object Required — additionalProperties: false saved_method (variant 1).brand string or null Required — saved_method (variant 1).last4 string or null Required — saved_method (variant 1).exp_month union Required — saved_method (variant 1).exp_month (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 saved_method (variant 1).exp_month (variant 2) null Required — saved_method (variant 1).exp_year union Required — saved_method (variant 1).exp_year (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 saved_method (variant 1).exp_year (variant 2) null Required — saved_method (variant 2) null Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
PUT /v1/account/billing/auto-topup Arm auto top-up (buy item_id off-session when the balance falls below threshold_credits; it spends within the account's agent period limit) or turn it off; audited; counts toward 30 billing-settings changes per hour
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — Allowed: ["off","armed"] threshold_credits integer Optional — Required to arm: buy when the balance falls below this many whole credits. Ignored when state is off. maximum: 9007199254740991 item_id string Optional — Required to arm: a current catalogue pack whose price is within the per-purchase limit. Ignored when state is off. minLength: 1 maxLength: 64
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false state string Required — off until the owner arms it; in_flight while its purchase is being paid; paused until the owner arms it again (or its handoff is paid). Allowed: ["off","armed","in_flight","paused"] threshold_credits union Required — Buys when the balance falls below this many whole credits; null until first configured. threshold_credits (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 threshold_credits (variant 2) null Required — item_id string or null Required — The catalogue pack it buys; null until first configured. blocked_until union Required — Set when the account's agent period limit refused it: it waits until then (the period end). blocked_until (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" blocked_until (variant 2) null Required — pause_reason union Required — pause_reason (variant 1) string Required — Allowed: ["no_saved_method","off_session_not_allowed","purchasing_off","item_retired","exceeds_per_purchase_limit","authentication_required","card_declined","stripe_request_unconfirmed"] pause_reason (variant 2) null Required — in_flight_purchase_id union Required — The purchase it follows: the one in flight, or the handoff a paused (authentication_required) one waits on; read it at /v1/account/billing/purchases/{id} for the payment link. in_flight_purchase_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" in_flight_purchase_id (variant 2) null Required — saved_method union Required — The saved card it charges, or null. saved_method (variant 1) object Required — additionalProperties: false saved_method (variant 1).brand string or null Required — saved_method (variant 1).last4 string or null Required — saved_method (variant 1).exp_month union Required — saved_method (variant 1).exp_month (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 saved_method (variant 1).exp_month (variant 2) null Required — saved_method (variant 1).exp_year union Required — saved_method (variant 1).exp_year (variant 1) integer Required — minimum: -9007199254740991 maximum: 9007199254740991 saved_method (variant 1).exp_year (variant 2) null Required — saved_method (variant 2) null Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 pack-not-found: no catalogue pack has this id Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/pack-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] item_id any Required — The item id that was asked for.
Response 409: application/json — RFC 7807 auto-topup-precondition: reason no_saved_method, off_session_not_allowed, purchasing_off, item_retired or exceeds_per_purchase_limit (checked in this order) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/auto-topup-precondition" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] reason string Required — The precondition that does not hold; fix it on the billing page, then arm again. Allowed: ["no_saved_method","off_session_not_allowed","purchasing_off","item_retired","exceeds_per_purchase_limit"]
Response 429: application/json — RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry_after_seconds integer Required — maximum: 9007199254740991
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/account/billing/checkout-sessions Start a Stripe Checkout for a credit pack; 201 with the new purchase, or 200 with the open purchase of the same pack started in the last 5 minutes (20 purchases per account per hour). For a tier, a Checkout in subscription mode: 201 with purchase null (20 per account per hour); the subscription events then set GET /v1/account/billing/subscription
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false item_id string Required — A current catalogue pack id (e.g. pack_1k) or tier id (tier_builder, tier_scale). minLength: 1 maxLength: 64
Response 200: application/json — The open purchase of this pack from the last 5 minutes (a repeated click) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false purchase union Required — The purchase for a pack; null for a tier (a subscription Checkout creates no purchase: read GET /v1/account/billing/subscription after return). purchase (variant 1) object Required — additionalProperties: false purchase (variant 1).id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase (variant 1).object string Required — Constant: "purchase" purchase (variant 1).status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] purchase (variant 1).livemode boolean Required — purchase (variant 1).actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] purchase (variant 1).api_key_id union Required — purchase (variant 1).api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase (variant 1).api_key_id (variant 2) null Required — purchase (variant 1).api_key_name string or null Required — purchase (variant 1).replayed boolean Required — purchase (variant 1).channel string Required — Allowed: ["checkout","off_session"] purchase (variant 1).item object Required — additionalProperties: false purchase (variant 1).item.id string Required — purchase (variant 1).item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).item.name string Required — purchase (variant 1).amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).currency string Required — Constant: "usd" purchase (variant 1).credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).next_action union Required — purchase (variant 1).next_action (variant 1) object Required — additionalProperties: false purchase (variant 1).next_action (variant 1).type string Required — Constant: "open_checkout_url" purchase (variant 1).next_action (variant 1).url string Required — purchase (variant 1).next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] purchase (variant 1).next_action (variant 1).instruction string Required — purchase (variant 1).next_action (variant 2) null Required — purchase (variant 1).retry union Required — purchase (variant 1).retry (variant 1) string Required — Allowed: ["same_key","new_key"] purchase (variant 1).retry (variant 2) null Required — purchase (variant 1).failure_code string or null Required — purchase (variant 1).created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).paid_at union Required — purchase (variant 1).paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).paid_at (variant 2) null Required — purchase (variant 2) null Required — checkout_url string Required — The Stripe Checkout page; it grants nothing by itself. Read the purchase until it is paid, or the subscription until it is active.
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false purchase union Required — The purchase for a pack; null for a tier (a subscription Checkout creates no purchase: read GET /v1/account/billing/subscription after return). purchase (variant 1) object Required — additionalProperties: false purchase (variant 1).id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase (variant 1).object string Required — Constant: "purchase" purchase (variant 1).status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] purchase (variant 1).livemode boolean Required — purchase (variant 1).actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] purchase (variant 1).api_key_id union Required — purchase (variant 1).api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase (variant 1).api_key_id (variant 2) null Required — purchase (variant 1).api_key_name string or null Required — purchase (variant 1).replayed boolean Required — purchase (variant 1).channel string Required — Allowed: ["checkout","off_session"] purchase (variant 1).item object Required — additionalProperties: false purchase (variant 1).item.id string Required — purchase (variant 1).item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).item.name string Required — purchase (variant 1).amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).currency string Required — Constant: "usd" purchase (variant 1).credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase (variant 1).next_action union Required — purchase (variant 1).next_action (variant 1) object Required — additionalProperties: false purchase (variant 1).next_action (variant 1).type string Required — Constant: "open_checkout_url" purchase (variant 1).next_action (variant 1).url string Required — purchase (variant 1).next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] purchase (variant 1).next_action (variant 1).instruction string Required — purchase (variant 1).next_action (variant 2) null Required — purchase (variant 1).retry union Required — purchase (variant 1).retry (variant 1) string Required — Allowed: ["same_key","new_key"] purchase (variant 1).retry (variant 2) null Required — purchase (variant 1).failure_code string or null Required — purchase (variant 1).created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).paid_at union Required — purchase (variant 1).paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase (variant 1).paid_at (variant 2) null Required — purchase (variant 2) null Required — checkout_url string Required — The Stripe Checkout page; it grants nothing by itself. Read the purchase until it is paid, or the subscription until it is active.
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 pack-not-found: no current pack or tier has this id; read the catalogue again Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/pack-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] item_id any Required — The item id that was asked for.
Response 409: application/json — RFC 7807 subscription-exists: the account already has a live subscription; change or cancel it in the payment portal Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/subscription-exists" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] subscription_status string Required — The live subscription's status. tier_id string Required — Its tier; change or cancel it in the payment portal.
Response 429: application/json — RFC 7807 purchase-rate-limited: 20 purchases (or subscription Checkouts) per account per hour (soft); Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/purchases List the account's purchases, newest first
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 20 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false data array Required — Newest first (created_at, then id), at most limit (default 20, at most 100). data[] object Required — additionalProperties: false data[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].object string Required — Constant: "purchase" data[].status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] data[].livemode boolean Required — data[].actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] data[].api_key_id union Required — data[].api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].api_key_id (variant 2) null Required — data[].api_key_name string or null Required — data[].replayed boolean Required — data[].channel string Required — Allowed: ["checkout","off_session"] data[].item object Required — additionalProperties: false data[].item.id string Required — data[].item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].item.name string Required — data[].amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].currency string Required — Constant: "usd" data[].credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 data[].amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].next_action union Required — data[].next_action (variant 1) object Required — additionalProperties: false data[].next_action (variant 1).type string Required — Constant: "open_checkout_url" data[].next_action (variant 1).url string Required — data[].next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] data[].next_action (variant 1).instruction string Required — data[].next_action (variant 2) null Required — data[].retry union Required — data[].retry (variant 1) string Required — Allowed: ["same_key","new_key"] data[].retry (variant 2) null Required — data[].failure_code string or null Required — data[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].paid_at union Required — data[].paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].paid_at (variant 2) null Required — next_cursor string or null Required —
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/purchases/{id} Read one purchase of the account (the billing page polls it after Checkout)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 purchase-not-found (also for another account's purchase) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/account/billing/purchases/{id}/cancel Cancel a purchase waiting for payment: expires its Stripe Checkout first
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" object string Required — Constant: "purchase" status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] livemode boolean Required — actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] api_key_id union Required — api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" api_key_id (variant 2) null Required — api_key_name string or null Required — replayed boolean Required — channel string Required — Allowed: ["checkout","off_session"] item object Required — additionalProperties: false item.id string Required — item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 item.name string Required — amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 currency string Required — Constant: "usd" credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 next_action union Required — next_action (variant 1) object Required — additionalProperties: false next_action (variant 1).type string Required — Constant: "open_checkout_url" next_action (variant 1).url string Required — next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] next_action (variant 1).instruction string Required — next_action (variant 2) null Required — retry union Required — retry (variant 1) string Required — Allowed: ["same_key","new_key"] retry (variant 2) null Required — failure_code string or null Required — created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at union Required — paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" paid_at (variant 2) null Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 purchase-not-found (also for another account's purchase) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-found" title string Required — status number Required — Constant: 404 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 409: application/json — RFC 7807 purchase-not-cancelable: purchase_status is the purchase status, or completing when the payment is already completing Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-not-cancelable" title string Required — status number Required — Constant: 409 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] purchase_status string Required — The purchase's status, or completing when Stripe says the payment is already completing (the payment event follows). Named purchase_status because status is the HTTP status (RFC 7807).
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/account/billing/portal-sessions Open the Stripe customer portal (payment methods, invoices, receipts, cancel or switch tier); creates the Stripe customer on first use (30 per account per hour)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 201: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false url string Required — A one-time Stripe customer portal link; it returns to the billing page.
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/history Every balance change of the account, newest first: purchases, refunds, dispute holds and releases, actions and supervised minutes
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: limit Field Type Requiredness Default Description and constraints limit integer Optional 20 minimum: 1 maximum: 100
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false data array Required — Newest first (at, then id), at most limit (default 20, at most 100). data[] object Required — additionalProperties: false data[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" data[].reason_code string Required — purchase_grant, refund_debit, refund_reversal, dispute_hold, dispute_release, unmatched_resolved, signup_bonus, an operation id, or a supervised charge. data[].delta_credits integer Required — The whole-credit column (truncated); delta_millicredits is exact. minimum: -9007199254740991 maximum: 9007199254740991 data[].delta_millicredits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].balance_after_millicredits integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].purchase_id union Required — data[].purchase_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].purchase_id (variant 2) null Required — data[].session_id string or null Required — next_cursor string or null Required —
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 400 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 1).errors array Required — body (variant 1).errors[] object Required — additionalProperties: false body (variant 1).errors[].field string Required — body (variant 1).errors[].detail string Required — body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 400 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/subscription The account's live subscription (tier, status, period end, cancel at period end, the tier's supervised rate), or null
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body union Required — The live subscription (not canceled or incomplete_expired), or null. supervised_millicredits_per_minute is the tier rate new supervised sessions snapshot while the status is active, trialing or past_due. body (variant 1) object Required — additionalProperties: false body (variant 1).tier object Required — additionalProperties: false body (variant 1).tier.id string Required — body (variant 1).tier.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 body (variant 1).tier.name string Required — body (variant 1).status string Required — Allowed: ["incomplete","trialing","active","past_due","unpaid","paused"] body (variant 1).current_period_end string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" body (variant 1).cancel_at_period_end boolean Required — body (variant 1).supervised_millicredits_per_minute integer Required — minimum: -9007199254740991 maximum: 9007199254740991 body (variant 2) null Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" title string Required — status number Required — Constant: 403 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited: 120 billing reads per minute per account; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /v1/account/billing/unmatched List open unmatched Stripe payments (operator only)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
query parameter: cursor Field Type Requiredness Default Description and constraints cursor string Optional — next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false data array Required — Open rows, newest first, at most 50. data[] object Required — additionalProperties: false data[].id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" data[].status string Required — Allowed: ["open","resolved","refunded"] data[].reason string Required — Allowed: ["no_purchase_reference","unknown_purchase","purchase_terminal","amount_mismatch","email_ambiguous","unknown_subscription","duplicate_payment"] data[].amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 data[].currency string Required — data[].email string or null Required — As Stripe reported it. data[].stripe_event_id string Required — data[].stripe_checkout_session_id string or null Required — data[].stripe_payment_intent_id string or null Required — data[].stripe_customer_id string or null Required — data[].created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" next_cursor string or null Required —
Response 400: application/json — RFC 7807 invalid-cursor Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-cursor" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 operator-required (the signed-in email is not in ROVE_OPERATOR_EMAILS) or owner-origin-refused Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/operator-required" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 403 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 403 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
POST /v1/account/billing/unmatched/{id}/resolve Resolve an unmatched payment into a paid purchase at a catalogue pack snapshot (operator only; 30 per hour)
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
path parameter: id Field Type Requiredness Default Description and constraints id string Required — format: "uuid"
Request: application/json (required body) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false customer_id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" item_id string Required — A catalogue pack id, current or legacy. minLength: 1 maxLength: 64
Response 200: application/json — Successful response (Cache-Control: no-store) Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false unmatched object Required — additionalProperties: false unmatched.id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" unmatched.status string Required — Allowed: ["open","resolved","refunded"] unmatched.reason string Required — Allowed: ["no_purchase_reference","unknown_purchase","purchase_terminal","amount_mismatch","email_ambiguous","unknown_subscription","duplicate_payment"] unmatched.amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 unmatched.currency string Required — unmatched.email string or null Required — As Stripe reported it. unmatched.stripe_event_id string Required — unmatched.stripe_checkout_session_id string or null Required — unmatched.stripe_payment_intent_id string or null Required — unmatched.stripe_customer_id string or null Required — unmatched.created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase object Required — additionalProperties: false purchase.id string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase.object string Required — Constant: "purchase" purchase.status string Required — Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"] purchase.livemode boolean Required — purchase.actor string Required — Allowed: ["owner_web","api_key","auto_topup","legacy_link"] purchase.api_key_id union Required — purchase.api_key_id (variant 1) string Required — format: "uuid" pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" purchase.api_key_id (variant 2) null Required — purchase.api_key_name string or null Required — purchase.replayed boolean Required — purchase.channel string Required — Allowed: ["checkout","off_session"] purchase.item object Required — additionalProperties: false purchase.item.id string Required — purchase.item.version integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase.item.name string Required — purchase.amount_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase.currency string Required — Constant: "usd" purchase.credits integer Required — Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991 purchase.amount_refunded_cents integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase.millicredits_reversed integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase.millicredits_held integer Required — minimum: -9007199254740991 maximum: 9007199254740991 purchase.next_action union Required — purchase.next_action (variant 1) object Required — additionalProperties: false purchase.next_action (variant 1).type string Required — Constant: "open_checkout_url" purchase.next_action (variant 1).url string Required — purchase.next_action (variant 1).expires_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase.next_action (variant 1).reason string Required — Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"] purchase.next_action (variant 1).instruction string Required — purchase.next_action (variant 2) null Required — purchase.retry union Required — purchase.retry (variant 1) string Required — Allowed: ["same_key","new_key"] purchase.retry (variant 2) null Required — purchase.failure_code string or null Required — purchase.created_at string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase.paid_at union Required — purchase.paid_at (variant 1) string Required — format: "date-time" pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" purchase.paid_at (variant 2) null Required —
Response 400: application/json — RFC 7807 invalid-params Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/invalid-params" title string Required — status number Required — Constant: 400 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] errors array Required — errors[] object Required — additionalProperties: false errors[].field string Required — errors[].detail string Required —
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/owner-session-required" title string Required — status number Required — Constant: 401 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] owner_action_url string Required — Where to sign in.
Response 403: application/json — RFC 7807 operator-required (the signed-in email is not in ROVE_OPERATOR_EMAILS) or owner-origin-refused Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/operator-required" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 403 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/owner-origin-refused" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 403 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 404: application/json — RFC 7807 unmatched-not-found or pack-not-found Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/unmatched-not-found" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 404 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/pack-not-found" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 404 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2).item_id any Required — The item id that was asked for.
Response 409: application/json — RFC 7807 unmatched-already-resolved or unmatched-refunded Field Type Requiredness Default Description and constraints body union Required — body (variant 1) object Required — additionalProperties: false body (variant 1).type string Required — Constant: "https://api.roveapi.com/errors/unmatched-already-resolved" body (variant 1).title string Required — body (variant 1).status number Required — Constant: 409 body (variant 1).detail string Required — body (variant 1).instance string Required — body (variant 1).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"] body (variant 2) object Required — additionalProperties: false body (variant 2).type string Required — Constant: "https://api.roveapi.com/errors/unmatched-refunded" body (variant 2).title string Required — body (variant 2).status number Required — Constant: 409 body (variant 2).detail string Required — body (variant 2).instance string Required — body (variant 2).retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 429: application/json — RFC 7807 purchase-rate-limited; Retry-After Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/purchase-rate-limited" title string Required — status number Required — Constant: 429 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key Field Type Requiredness Default Description and constraints body object Required — additionalProperties: false type string Required — Constant: "https://api.roveapi.com/errors/billing-unavailable" title string Required — status number Required — Constant: 503 detail string Required — instance string Required — retry string Required — same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
GET /mcp Open MCP Streamable HTTP transport
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem POST /mcp Send MCP message
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem DELETE /mcp Close MCP session
Use the authentication scheme and authorization described in the API reference and OpenAPI contract.
Response 200: Successful response Response 401: RFC 7807 authentication problem Response 409: RFC 7807 state/control problem Response 410: RFC 7807 expired or replayed admission problem