On this page

Endpoint schemas

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.

Use API reference for authentication, request/response examples and the supervised viewer lifecycle, actions for action-specific behavior, and billing API for purchase permissions and recovery. The machine-readable OpenAPI document is also available.

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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
originstringRequired—The site, an https URL.
return_tostringOptional—An https URL on the site to land on after the join.
page_idstringOptional—
scopesarrayOptional—With a stored approval: the scopes to use; [] connects signed out.
scopes[]stringRequired—
replace_company_cookiesbooleanOptional—Remove the profile's existing cookies and saved data for the site first (ask the person).
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
poppy_session_idstringRequired—
companyobjectRequired—additionalProperties: false
company.namestringRequired—
company.domainstringRequired—
statestringRequired—Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"]
recoveryunionRequired—
recovery (variant 1)objectRequired—additionalProperties: false
recovery (variant 1).towardstringRequired—Allowed: ["guest_joined","joined"]
recovery (variant 1).afterstringRequired—Allowed: ["sign_in_ended","sign_in_approved","revocation"]
recovery (variant 1).sincestringRequired—ISO 8601 UTC instant.
recovery (variant 2)nullRequired—
signed_inbooleanRequired—
effective_authorityunionRequired—
effective_authority (variant 1)objectRequired—additionalProperties: false
effective_authority (variant 1).modestringRequired—Allowed: ["held","guest","signed_in"]
effective_authority (variant 1).scopesarrayRequired—
effective_authority (variant 1).scopes[]stringRequired—
effective_authority (variant 2)nullRequired—
cleanupstringRequired—Allowed: ["none","pending","done","failed"]
last_resetunionRequired—
last_reset (variant 1)objectRequired—additionalProperties: false
last_reset (variant 1).atstringRequired—ISO 8601 UTC instant.
last_reset (variant 1).pages_resetarrayRequired—
last_reset (variant 1).pages_reset[]stringRequired—
last_reset (variant 1).pages_closedarrayRequired—
last_reset (variant 1).pages_closed[]stringRequired—
last_reset (variant 2)nullRequired—
requested_scopesarrayRequired—
requested_scopes[]stringRequired—
granted_scopesarrayRequired—
granted_scopes[]stringRequired—
available_scopesarrayRequired—
available_scopes[]objectRequired—additionalProperties: false
available_scopes[].scopestringRequired—
available_scopes[].descriptionstringRequired—
sign_in_modesarrayRequired—
sign_in_modes[]stringRequired—Constant: "direct"
sign_in_modes_unsupportedarrayRequired—
sign_in_modes_unsupported[]stringRequired—Allowed: ["device","mediated"]
stored_sign_inobjectRequired—additionalProperties: false
stored_sign_in.availablebooleanRequired—
stored_sign_in.usedbooleanRequired—
stored_sign_in.scopesarrayRequired—
stored_sign_in.scopes[]stringRequired—
stored_sign_in.signed_in_atstringOptional—ISO 8601 UTC instant.
stored_sign_in.reasonstringOptional—Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"]
sign_in_startingbooleanRequired—
sign_inunionRequired—
sign_in (variant 1)unionRequired—
sign_in (variant 1) (variant 1)objectRequired—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).kindstringRequired—Constant: "started"
sign_in (variant 1) (variant 1).phasestringRequired—Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"]
sign_in (variant 1) (variant 1).originstringRequired—Allowed: ["guest_joined","joined"]
sign_in (variant 1) (variant 1).requested_scopesarrayRequired—
sign_in (variant 1) (variant 1).requested_scopes[]stringRequired—
sign_in (variant 1) (variant 1).page_idstringRequired—
sign_in (variant 1) (variant 1).expires_atstringRequired—ISO 8601 UTC instant.
sign_in (variant 1) (variant 1).start_stagestringOptional—Constant: "navigation"
sign_in (variant 1) (variant 1).outcomestringOptional—Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"]
sign_in (variant 1) (variant 1).reasonstringOptional—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).detailstringOptional—Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"]
sign_in (variant 1) (variant 1).granted_scopesarrayOptional—
sign_in (variant 1) (variant 1).granted_scopes[]stringRequired—
sign_in (variant 1) (variant 1).off_site_authbooleanOptional—
sign_in (variant 1) (variant 1).windowstringOptional—Allowed: ["open","closing","closed","close_failed"]
sign_in (variant 1) (variant 1).agent_browser_data_off_sitebooleanOptional—
sign_in (variant 1) (variant 1).ended_atstringOptional—ISO 8601 UTC instant.
sign_in (variant 1) (variant 2)objectRequired—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).kindstringRequired—Constant: "start_failed"
sign_in (variant 1) (variant 2).phasestringRequired—Constant: "ended"
sign_in (variant 1) (variant 2).originstringRequired—Allowed: ["guest_joined","joined"]
sign_in (variant 1) (variant 2).requested_scopesarrayRequired—
sign_in (variant 1) (variant 2).requested_scopes[]stringRequired—
sign_in (variant 1) (variant 2).page_idnullRequired—
sign_in (variant 1) (variant 2).expires_atnullRequired—
sign_in (variant 1) (variant 2).outcomestringRequired—Constant: "failed"
sign_in (variant 1) (variant 2).reasonstringRequired—Constant: "window_start_failed"
sign_in (variant 1) (variant 2).start_stagestringRequired—Allowed: ["context","route","page"]
sign_in (variant 1) (variant 2).windowstringRequired—Allowed: ["not_created","closed","close_failed"]
sign_in (variant 1) (variant 2).off_site_authbooleanRequired—Constant: false
sign_in (variant 1) (variant 2).agent_browser_data_off_sitebooleanRequired—Constant: false
sign_in (variant 1) (variant 2).ended_atstringRequired—ISO 8601 UTC instant.
sign_in (variant 2)nullRequired—
refusalsarrayRequired—maxItems: 50
refusals[]objectRequired—additionalProperties: false
refusals[].seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
refusals[].atstringRequired—ISO 8601 UTC instant.
refusals[].page_idstring or nullRequired—
refusals[].kindstringRequired—Allowed: ["rove_scope_gate","rove_authority_held","company_refused"]
refusals[].methodstringRequired—
refusals[].hoststringRequired—
refusals[].required_scopestringOptional—Constant: "poppy:write"
refusals[].company_errorstringOptional—Allowed: ["insufficient_scope","sign_in_required"]
refusals_head_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
refusals_dropped_through_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
ended_reasonstringOptional—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_detailstringOptional—Constant: "join_cookie_script_readable"
ended_atstringOptional—ISO 8601 UTC instant.
nextstringRequired—What to do now, from the state and the latest sign-in outcome. minLength: 1
company_cookies_clearedintegerOptional—minimum: -9007199254740991 maximum: 9007199254740991
company_storage_origins_clearedintegerOptional—minimum: -9007199254740991 maximum: 9007199254740991
page_idstring or nullOptional—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
sessionsarrayRequired—
sessions[]objectRequired—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_idstringRequired—
sessions[].companyobjectRequired—additionalProperties: false
sessions[].company.namestringRequired—
sessions[].company.domainstringRequired—
sessions[].statestringRequired—Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"]
sessions[].recoveryunionRequired—
sessions[].recovery (variant 1)objectRequired—additionalProperties: false
sessions[].recovery (variant 1).towardstringRequired—Allowed: ["guest_joined","joined"]
sessions[].recovery (variant 1).afterstringRequired—Allowed: ["sign_in_ended","sign_in_approved","revocation"]
sessions[].recovery (variant 1).sincestringRequired—ISO 8601 UTC instant.
sessions[].recovery (variant 2)nullRequired—
sessions[].signed_inbooleanRequired—
sessions[].effective_authorityunionRequired—
sessions[].effective_authority (variant 1)objectRequired—additionalProperties: false
sessions[].effective_authority (variant 1).modestringRequired—Allowed: ["held","guest","signed_in"]
sessions[].effective_authority (variant 1).scopesarrayRequired—
sessions[].effective_authority (variant 1).scopes[]stringRequired—
sessions[].effective_authority (variant 2)nullRequired—
sessions[].cleanupstringRequired—Allowed: ["none","pending","done","failed"]
sessions[].last_resetunionRequired—
sessions[].last_reset (variant 1)objectRequired—additionalProperties: false
sessions[].last_reset (variant 1).atstringRequired—ISO 8601 UTC instant.
sessions[].last_reset (variant 1).pages_resetarrayRequired—
sessions[].last_reset (variant 1).pages_reset[]stringRequired—
sessions[].last_reset (variant 1).pages_closedarrayRequired—
sessions[].last_reset (variant 1).pages_closed[]stringRequired—
sessions[].last_reset (variant 2)nullRequired—
sessions[].requested_scopesarrayRequired—
sessions[].requested_scopes[]stringRequired—
sessions[].granted_scopesarrayRequired—
sessions[].granted_scopes[]stringRequired—
sessions[].available_scopesarrayRequired—
sessions[].available_scopes[]objectRequired—additionalProperties: false
sessions[].available_scopes[].scopestringRequired—
sessions[].available_scopes[].descriptionstringRequired—
sessions[].sign_in_modesarrayRequired—
sessions[].sign_in_modes[]stringRequired—Constant: "direct"
sessions[].sign_in_modes_unsupportedarrayRequired—
sessions[].sign_in_modes_unsupported[]stringRequired—Allowed: ["device","mediated"]
sessions[].stored_sign_inobjectRequired—additionalProperties: false
sessions[].stored_sign_in.availablebooleanRequired—
sessions[].stored_sign_in.usedbooleanRequired—
sessions[].stored_sign_in.scopesarrayRequired—
sessions[].stored_sign_in.scopes[]stringRequired—
sessions[].stored_sign_in.signed_in_atstringOptional—ISO 8601 UTC instant.
sessions[].stored_sign_in.reasonstringOptional—Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"]
sessions[].sign_in_startingbooleanRequired—
sessions[].sign_inunionRequired—
sessions[].sign_in (variant 1)unionRequired—
sessions[].sign_in (variant 1) (variant 1)objectRequired—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).kindstringRequired—Constant: "started"
sessions[].sign_in (variant 1) (variant 1).phasestringRequired—Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"]
sessions[].sign_in (variant 1) (variant 1).originstringRequired—Allowed: ["guest_joined","joined"]
sessions[].sign_in (variant 1) (variant 1).requested_scopesarrayRequired—
sessions[].sign_in (variant 1) (variant 1).requested_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 1).page_idstringRequired—
sessions[].sign_in (variant 1) (variant 1).expires_atstringRequired—ISO 8601 UTC instant.
sessions[].sign_in (variant 1) (variant 1).start_stagestringOptional—Constant: "navigation"
sessions[].sign_in (variant 1) (variant 1).outcomestringOptional—Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"]
sessions[].sign_in (variant 1) (variant 1).reasonstringOptional—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).detailstringOptional—Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"]
sessions[].sign_in (variant 1) (variant 1).granted_scopesarrayOptional—
sessions[].sign_in (variant 1) (variant 1).granted_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 1).off_site_authbooleanOptional—
sessions[].sign_in (variant 1) (variant 1).windowstringOptional—Allowed: ["open","closing","closed","close_failed"]
sessions[].sign_in (variant 1) (variant 1).agent_browser_data_off_sitebooleanOptional—
sessions[].sign_in (variant 1) (variant 1).ended_atstringOptional—ISO 8601 UTC instant.
sessions[].sign_in (variant 1) (variant 2)objectRequired—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).kindstringRequired—Constant: "start_failed"
sessions[].sign_in (variant 1) (variant 2).phasestringRequired—Constant: "ended"
sessions[].sign_in (variant 1) (variant 2).originstringRequired—Allowed: ["guest_joined","joined"]
sessions[].sign_in (variant 1) (variant 2).requested_scopesarrayRequired—
sessions[].sign_in (variant 1) (variant 2).requested_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 2).page_idnullRequired—
sessions[].sign_in (variant 1) (variant 2).expires_atnullRequired—
sessions[].sign_in (variant 1) (variant 2).outcomestringRequired—Constant: "failed"
sessions[].sign_in (variant 1) (variant 2).reasonstringRequired—Constant: "window_start_failed"
sessions[].sign_in (variant 1) (variant 2).start_stagestringRequired—Allowed: ["context","route","page"]
sessions[].sign_in (variant 1) (variant 2).windowstringRequired—Allowed: ["not_created","closed","close_failed"]
sessions[].sign_in (variant 1) (variant 2).off_site_authbooleanRequired—Constant: false
sessions[].sign_in (variant 1) (variant 2).agent_browser_data_off_sitebooleanRequired—Constant: false
sessions[].sign_in (variant 1) (variant 2).ended_atstringRequired—ISO 8601 UTC instant.
sessions[].sign_in (variant 2)nullRequired—
sessions[].refusalsarrayRequired—maxItems: 50
sessions[].refusals[]objectRequired—additionalProperties: false
sessions[].refusals[].seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].refusals[].atstringRequired—ISO 8601 UTC instant.
sessions[].refusals[].page_idstring or nullRequired—
sessions[].refusals[].kindstringRequired—Allowed: ["rove_scope_gate","rove_authority_held","company_refused"]
sessions[].refusals[].methodstringRequired—
sessions[].refusals[].hoststringRequired—
sessions[].refusals[].required_scopestringOptional—Constant: "poppy:write"
sessions[].refusals[].company_errorstringOptional—Allowed: ["insufficient_scope","sign_in_required"]
sessions[].refusals_head_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].refusals_dropped_through_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].ended_reasonstringOptional—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_detailstringOptional—Constant: "join_cookie_script_readable"
sessions[].ended_atstringOptional—ISO 8601 UTC instant.
sessions[].nextstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
sessionsarrayRequired—
sessions[]objectRequired—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_idstringRequired—
sessions[].companyobjectRequired—additionalProperties: false
sessions[].company.namestringRequired—
sessions[].company.domainstringRequired—
sessions[].statestringRequired—Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"]
sessions[].recoveryunionRequired—
sessions[].recovery (variant 1)objectRequired—additionalProperties: false
sessions[].recovery (variant 1).towardstringRequired—Allowed: ["guest_joined","joined"]
sessions[].recovery (variant 1).afterstringRequired—Allowed: ["sign_in_ended","sign_in_approved","revocation"]
sessions[].recovery (variant 1).sincestringRequired—ISO 8601 UTC instant.
sessions[].recovery (variant 2)nullRequired—
sessions[].signed_inbooleanRequired—
sessions[].effective_authorityunionRequired—
sessions[].effective_authority (variant 1)objectRequired—additionalProperties: false
sessions[].effective_authority (variant 1).modestringRequired—Allowed: ["held","guest","signed_in"]
sessions[].effective_authority (variant 1).scopesarrayRequired—
sessions[].effective_authority (variant 1).scopes[]stringRequired—
sessions[].effective_authority (variant 2)nullRequired—
sessions[].cleanupstringRequired—Allowed: ["none","pending","done","failed"]
sessions[].last_resetunionRequired—
sessions[].last_reset (variant 1)objectRequired—additionalProperties: false
sessions[].last_reset (variant 1).atstringRequired—ISO 8601 UTC instant.
sessions[].last_reset (variant 1).pages_resetarrayRequired—
sessions[].last_reset (variant 1).pages_reset[]stringRequired—
sessions[].last_reset (variant 1).pages_closedarrayRequired—
sessions[].last_reset (variant 1).pages_closed[]stringRequired—
sessions[].last_reset (variant 2)nullRequired—
sessions[].requested_scopesarrayRequired—
sessions[].requested_scopes[]stringRequired—
sessions[].granted_scopesarrayRequired—
sessions[].granted_scopes[]stringRequired—
sessions[].available_scopesarrayRequired—
sessions[].available_scopes[]objectRequired—additionalProperties: false
sessions[].available_scopes[].scopestringRequired—
sessions[].available_scopes[].descriptionstringRequired—
sessions[].sign_in_modesarrayRequired—
sessions[].sign_in_modes[]stringRequired—Constant: "direct"
sessions[].sign_in_modes_unsupportedarrayRequired—
sessions[].sign_in_modes_unsupported[]stringRequired—Allowed: ["device","mediated"]
sessions[].stored_sign_inobjectRequired—additionalProperties: false
sessions[].stored_sign_in.availablebooleanRequired—
sessions[].stored_sign_in.usedbooleanRequired—
sessions[].stored_sign_in.scopesarrayRequired—
sessions[].stored_sign_in.scopes[]stringRequired—
sessions[].stored_sign_in.signed_in_atstringOptional—ISO 8601 UTC instant.
sessions[].stored_sign_in.reasonstringOptional—Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"]
sessions[].sign_in_startingbooleanRequired—
sessions[].sign_inunionRequired—
sessions[].sign_in (variant 1)unionRequired—
sessions[].sign_in (variant 1) (variant 1)objectRequired—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).kindstringRequired—Constant: "started"
sessions[].sign_in (variant 1) (variant 1).phasestringRequired—Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"]
sessions[].sign_in (variant 1) (variant 1).originstringRequired—Allowed: ["guest_joined","joined"]
sessions[].sign_in (variant 1) (variant 1).requested_scopesarrayRequired—
sessions[].sign_in (variant 1) (variant 1).requested_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 1).page_idstringRequired—
sessions[].sign_in (variant 1) (variant 1).expires_atstringRequired—ISO 8601 UTC instant.
sessions[].sign_in (variant 1) (variant 1).start_stagestringOptional—Constant: "navigation"
sessions[].sign_in (variant 1) (variant 1).outcomestringOptional—Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"]
sessions[].sign_in (variant 1) (variant 1).reasonstringOptional—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).detailstringOptional—Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"]
sessions[].sign_in (variant 1) (variant 1).granted_scopesarrayOptional—
sessions[].sign_in (variant 1) (variant 1).granted_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 1).off_site_authbooleanOptional—
sessions[].sign_in (variant 1) (variant 1).windowstringOptional—Allowed: ["open","closing","closed","close_failed"]
sessions[].sign_in (variant 1) (variant 1).agent_browser_data_off_sitebooleanOptional—
sessions[].sign_in (variant 1) (variant 1).ended_atstringOptional—ISO 8601 UTC instant.
sessions[].sign_in (variant 1) (variant 2)objectRequired—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).kindstringRequired—Constant: "start_failed"
sessions[].sign_in (variant 1) (variant 2).phasestringRequired—Constant: "ended"
sessions[].sign_in (variant 1) (variant 2).originstringRequired—Allowed: ["guest_joined","joined"]
sessions[].sign_in (variant 1) (variant 2).requested_scopesarrayRequired—
sessions[].sign_in (variant 1) (variant 2).requested_scopes[]stringRequired—
sessions[].sign_in (variant 1) (variant 2).page_idnullRequired—
sessions[].sign_in (variant 1) (variant 2).expires_atnullRequired—
sessions[].sign_in (variant 1) (variant 2).outcomestringRequired—Constant: "failed"
sessions[].sign_in (variant 1) (variant 2).reasonstringRequired—Constant: "window_start_failed"
sessions[].sign_in (variant 1) (variant 2).start_stagestringRequired—Allowed: ["context","route","page"]
sessions[].sign_in (variant 1) (variant 2).windowstringRequired—Allowed: ["not_created","closed","close_failed"]
sessions[].sign_in (variant 1) (variant 2).off_site_authbooleanRequired—Constant: false
sessions[].sign_in (variant 1) (variant 2).agent_browser_data_off_sitebooleanRequired—Constant: false
sessions[].sign_in (variant 1) (variant 2).ended_atstringRequired—ISO 8601 UTC instant.
sessions[].sign_in (variant 2)nullRequired—
sessions[].refusalsarrayRequired—maxItems: 50
sessions[].refusals[]objectRequired—additionalProperties: false
sessions[].refusals[].seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].refusals[].atstringRequired—ISO 8601 UTC instant.
sessions[].refusals[].page_idstring or nullRequired—
sessions[].refusals[].kindstringRequired—Allowed: ["rove_scope_gate","rove_authority_held","company_refused"]
sessions[].refusals[].methodstringRequired—
sessions[].refusals[].hoststringRequired—
sessions[].refusals[].required_scopestringOptional—Constant: "poppy:write"
sessions[].refusals[].company_errorstringOptional—Allowed: ["insufficient_scope","sign_in_required"]
sessions[].refusals_head_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].refusals_dropped_through_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessions[].ended_reasonstringOptional—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_detailstringOptional—Constant: "join_cookie_script_readable"
sessions[].ended_atstringOptional—ISO 8601 UTC instant.
sessions[].nextstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
sign_outbooleanOptional—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
scopesarrayOptional—
scopes[]stringRequired—
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—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_idstringRequired—
companyobjectRequired—additionalProperties: false
company.namestringRequired—
company.domainstringRequired—
statestringRequired—Allowed: ["guest_joined","signing_in","joined","expired","closed","failed","guest","signed_in","revoked"]
recoveryunionRequired—
recovery (variant 1)objectRequired—additionalProperties: false
recovery (variant 1).towardstringRequired—Allowed: ["guest_joined","joined"]
recovery (variant 1).afterstringRequired—Allowed: ["sign_in_ended","sign_in_approved","revocation"]
recovery (variant 1).sincestringRequired—ISO 8601 UTC instant.
recovery (variant 2)nullRequired—
signed_inbooleanRequired—
effective_authorityunionRequired—
effective_authority (variant 1)objectRequired—additionalProperties: false
effective_authority (variant 1).modestringRequired—Allowed: ["held","guest","signed_in"]
effective_authority (variant 1).scopesarrayRequired—
effective_authority (variant 1).scopes[]stringRequired—
effective_authority (variant 2)nullRequired—
cleanupstringRequired—Allowed: ["none","pending","done","failed"]
last_resetunionRequired—
last_reset (variant 1)objectRequired—additionalProperties: false
last_reset (variant 1).atstringRequired—ISO 8601 UTC instant.
last_reset (variant 1).pages_resetarrayRequired—
last_reset (variant 1).pages_reset[]stringRequired—
last_reset (variant 1).pages_closedarrayRequired—
last_reset (variant 1).pages_closed[]stringRequired—
last_reset (variant 2)nullRequired—
requested_scopesarrayRequired—
requested_scopes[]stringRequired—
granted_scopesarrayRequired—
granted_scopes[]stringRequired—
available_scopesarrayRequired—
available_scopes[]objectRequired—additionalProperties: false
available_scopes[].scopestringRequired—
available_scopes[].descriptionstringRequired—
sign_in_modesarrayRequired—
sign_in_modes[]stringRequired—Constant: "direct"
sign_in_modes_unsupportedarrayRequired—
sign_in_modes_unsupported[]stringRequired—Allowed: ["device","mediated"]
stored_sign_inobjectRequired—additionalProperties: false
stored_sign_in.availablebooleanRequired—
stored_sign_in.usedbooleanRequired—
stored_sign_in.scopesarrayRequired—
stored_sign_in.scopes[]stringRequired—
stored_sign_in.signed_in_atstringOptional—ISO 8601 UTC instant.
stored_sign_in.reasonstringOptional—Allowed: ["scopes_not_covered","not_requested","company_no_longer_offers"]
sign_in_startingbooleanRequired—
sign_inunionRequired—
sign_in (variant 1)unionRequired—
sign_in (variant 1) (variant 1)objectRequired—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).kindstringRequired—Constant: "started"
sign_in (variant 1) (variant 1).phasestringRequired—Allowed: ["awaiting_person","authorizing","exchanging","joining","ended"]
sign_in (variant 1) (variant 1).originstringRequired—Allowed: ["guest_joined","joined"]
sign_in (variant 1) (variant 1).requested_scopesarrayRequired—
sign_in (variant 1) (variant 1).requested_scopes[]stringRequired—
sign_in (variant 1) (variant 1).page_idstringRequired—
sign_in (variant 1) (variant 1).expires_atstringRequired—ISO 8601 UTC instant.
sign_in (variant 1) (variant 1).start_stagestringOptional—Constant: "navigation"
sign_in (variant 1) (variant 1).outcomestringOptional—Allowed: ["signed_in","refused","abandoned","failed","account_mismatch","cancelled"]
sign_in (variant 1) (variant 1).reasonstringOptional—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).detailstringOptional—Allowed: ["state_mismatch","iss_mismatch","wrong_page","join_cookie_script_readable"]
sign_in (variant 1) (variant 1).granted_scopesarrayOptional—
sign_in (variant 1) (variant 1).granted_scopes[]stringRequired—
sign_in (variant 1) (variant 1).off_site_authbooleanOptional—
sign_in (variant 1) (variant 1).windowstringOptional—Allowed: ["open","closing","closed","close_failed"]
sign_in (variant 1) (variant 1).agent_browser_data_off_sitebooleanOptional—
sign_in (variant 1) (variant 1).ended_atstringOptional—ISO 8601 UTC instant.
sign_in (variant 1) (variant 2)objectRequired—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).kindstringRequired—Constant: "start_failed"
sign_in (variant 1) (variant 2).phasestringRequired—Constant: "ended"
sign_in (variant 1) (variant 2).originstringRequired—Allowed: ["guest_joined","joined"]
sign_in (variant 1) (variant 2).requested_scopesarrayRequired—
sign_in (variant 1) (variant 2).requested_scopes[]stringRequired—
sign_in (variant 1) (variant 2).page_idnullRequired—
sign_in (variant 1) (variant 2).expires_atnullRequired—
sign_in (variant 1) (variant 2).outcomestringRequired—Constant: "failed"
sign_in (variant 1) (variant 2).reasonstringRequired—Constant: "window_start_failed"
sign_in (variant 1) (variant 2).start_stagestringRequired—Allowed: ["context","route","page"]
sign_in (variant 1) (variant 2).windowstringRequired—Allowed: ["not_created","closed","close_failed"]
sign_in (variant 1) (variant 2).off_site_authbooleanRequired—Constant: false
sign_in (variant 1) (variant 2).agent_browser_data_off_sitebooleanRequired—Constant: false
sign_in (variant 1) (variant 2).ended_atstringRequired—ISO 8601 UTC instant.
sign_in (variant 2)nullRequired—
refusalsarrayRequired—maxItems: 50
refusals[]objectRequired—additionalProperties: false
refusals[].seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
refusals[].atstringRequired—ISO 8601 UTC instant.
refusals[].page_idstring or nullRequired—
refusals[].kindstringRequired—Allowed: ["rove_scope_gate","rove_authority_held","company_refused"]
refusals[].methodstringRequired—
refusals[].hoststringRequired—
refusals[].required_scopestringOptional—Constant: "poppy:write"
refusals[].company_errorstringOptional—Allowed: ["insufficient_scope","sign_in_required"]
refusals_head_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
refusals_dropped_through_seqintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
ended_reasonstringOptional—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_detailstringOptional—Constant: "join_cookie_script_readable"
ended_atstringOptional—ISO 8601 UTC instant.
nextstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
permissions_modestringOptional—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"]
egressstringOptional—Allowed: ["warp","direct"]
supervisedbooleanOptional—Opt in to exclusive human takeover, explicit handback, and fresh-observation fencing.
viewport_modestringOptional—Supervised sessions only. Whether human stage changes resize the remote page (`follow-human`) or leave its agent viewport fixed (`fixed`). Allowed: ["follow-human","fixed"]
viewportobjectOptional—additionalProperties: false
viewport.widthintegerRequired1280maximum: 9007199254740991
viewport.heightintegerRequired720maximum: 9007199254740991
record_videobooleanRequiredfalse
user_agentstringOptional—
localestringRequired"en-US"
timezonestringOptional—
block_resourcesarrayOptional—
block_resources[]stringRequired—
Response 201: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
permissions_modestringOptional—Allowed: ["ask","auto","bypass","off"]
permissions_mode_revisionintegerOptional—minimum: 0 maximum: 9007199254740991
session_idstringRequired—
egress_modestringOptional—Allowed: ["warp","direct"]
connection_tokenstringRequired—
expires_atstringRequired—
environmentstringRequired—Allowed: ["live","test"]
supervisedbooleanRequired—
viewport_modestringOptional—Allowed: ["follow-human","fixed"]
restoreunionOptional—Supervised sessions only. Answer it with the restore_pages action (decision restore or dismiss).
restore (variant 1)objectOptional—additionalProperties: false
restore (variant 1).availablebooleanRequired—Constant: true
restore (variant 1).page_countintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
restore (variant 1).ended_reasonstringRequired—Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown.
restore (variant 1).ended_atstringRequired—
restore (variant 1).pagesarrayRequired—
restore (variant 1).pages[]objectRequired—additionalProperties: false
restore (variant 1).pages[].urlstringRequired—
restore (variant 1).pages[].titlestringRequired—
restore (variant 2)nullOptional—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/insufficient-credits"
titlestringRequired—
statusnumberRequired—Constant: 402
detailstringRequired—
instancestringRequired—
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—Repeating the request unchanged fails again until credits are added. Constant: "none"
required_millicreditsintegerOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
session_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
session_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
session_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
permissions_modestringOptional—Committed permissions mode for an active supervised session. Allowed: ["ask","auto","bypass","off"]
permissions_mode_revisionintegerOptional—minimum: 0 maximum: 9007199254740991
egress_modestringOptional—Actual route for supervised sessions, including terminal readback. Allowed: ["direct","warp"]
session_idstringRequired—
statusstringRequired—
reasonstringOptional—Why the session is waiting for a human, or human_wait_timeout after its wait expired.
human_wait_expires_atstringOptional—
expires_atstringRequired—
hard_expires_atstringRequired—
last_activity_atstringRequired—
closed_atstring or nullRequired—
controllerstringOptional—Allowed: ["agent","human"]
observation_requiredbooleanOptional—
control_return_reasonstring or nullOptional—
current_page_idstring or nullOptional—
page_events_seqintegerOptional—minimum: -9007199254740991 maximum: 9007199254740991
pagesarrayOptional—Open pages, then the last 20 closed or blocked ones.
pages[]objectRequired—additionalProperties: false
pages[].page_idstringRequired—
pages[].opener_page_idstring or nullRequired—
pages[].return_to_page_idstring or nullRequired—
pages[].urlstringRequired—
pages[].titlestringRequired—
pages[].statusstringRequired—Allowed: ["open","closed","blocked"]
pages[].blocked_reasonstringOptional—Allowed: ["target-policy-refused","page-limit"]
pages[].closed_bystringOptional—Allowed: ["page","agent","human","crash","session-end","context-lost"]
pages[].opened_atstringRequired—
pages[].closed_atstringOptional—
restoreunionOptional—Supervised sessions only. Answer it with the restore_pages action (decision restore or dismiss).
restore (variant 1)objectOptional—additionalProperties: false
restore (variant 1).availablebooleanRequired—Constant: true
restore (variant 1).page_countintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
restore (variant 1).ended_reasonstringRequired—Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown.
restore (variant 1).ended_atstringRequired—
restore (variant 1).pagesarrayRequired—
restore (variant 1).pages[]objectRequired—additionalProperties: false
restore (variant 1).pages[].urlstringRequired—
restore (variant 1).pages[].titlestringRequired—
restore (variant 2)nullOptional—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/session-expired"
titlestringRequired—
statusnumberRequired—Constant: 410
detailstringRequired—
instancestringRequired—
reasonstringOptional—Allowed: ["runtime_restarted","explicit_close","inactivity_expired","human_wait_timeout","page_memory_exhausted","worker_lost","browser_unresponsive","credit_exhausted"]
controllerstringOptional—Allowed: ["agent","human"]
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
session_idstringRequired—minLength: 1
actionstringRequired—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
paramsobjectRequired{}additionalProperties: {}
params.page_idstringOptional—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.refstringOptional—An element ref from this page's latest get_a11y_tree, such as e5, or f1e3 inside an iframe.
params.frameunionOptional—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)stringOptional—
params.frame (variant 2)arrayOptional—
params.frame (variant 2)[]stringRequired—
params.textstringOptional—type: text to append key by key to selector or ref; never returned or logged.
params.delay_msnumberOptional—type: delay between keystrokes in milliseconds; defaults to 0. minimum: 0
params.keystringOptional—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_msnumberOptional—navigate, wait_for and wait_for_popup: how long to wait, in milliseconds (wait_for_popup: default 10000, maximum 30000).
params.after_seqintegerOptional—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.decisionstringOptional—restore_pages: restore reopens the offered pages; dismiss drops the offer. Allowed: ["restore","dismiss"]
params.reasonstringOptional—request_human: why the agent needs a human. Repeating request_human renews the viewer grant without extending the wait.
params.etld_plus_onestringOptional—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_selectorstringOptional—fill_credential: optional CSS selector for the username input; defaults to username/email inputs.
params.password_selectorstringOptional—fill_credential: optional CSS selector for a password input; defaults to current-password/password inputs.
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
successbooleanRequired—
resultobjectRequired—additionalProperties: {}
result.page_idstringOptional—The page the action ran on.
result.current_page_idstring or nullOptional—
result.page_events_seq_startintegerOptional—The page event head when the action started. minimum: -9007199254740991 maximum: 9007199254740991
result.page_events_seqintegerOptional—The page event head when the action finished. minimum: -9007199254740991 maximum: 9007199254740991
result.pages_openedarrayOptional—
result.pages_opened[]stringRequired—
result.pages_closedarrayOptional—
result.pages_closed[]stringRequired—
result.popups_blockedarrayOptional—
result.popups_blocked[]objectRequired—additionalProperties: false
result.popups_blocked[].page_idstringRequired—
result.popups_blocked[].reasonstringRequired—Allowed: ["target-policy-refused","page-limit"]
result.navigations_refusedarrayOptional—
result.navigations_refused[]objectRequired—additionalProperties: false
result.navigations_refused[].page_idstring or nullRequired—
result.navigations_refused[].framestringRequired—Allowed: ["top","sub","popup"]
result.pages_replacedarrayOptional—
result.pages_replaced[]stringRequired—
result.pagesarrayOptional—list_pages
result.pages[]objectRequired—additionalProperties: false
result.pages[].page_idstringRequired—
result.pages[].opener_page_idstring or nullRequired—
result.pages[].return_to_page_idstring or nullRequired—
result.pages[].urlstringRequired—
result.pages[].titlestringRequired—
result.pages[].statusstringRequired—Allowed: ["open","closed","blocked"]
result.pages[].blocked_reasonstringOptional—Allowed: ["target-policy-refused","page-limit"]
result.pages[].closed_bystringOptional—Allowed: ["page","agent","human","crash","session-end","context-lost"]
result.pages[].opened_atstringRequired—
result.pages[].closed_atstringOptional—
result.restoreunionOptional—list_pages in a supervised session
result.restore (variant 1)objectOptional—additionalProperties: false
result.restore (variant 1).availablebooleanRequired—Constant: true
result.restore (variant 1).page_countintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
result.restore (variant 1).ended_reasonstringRequired—Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown.
result.restore (variant 1).ended_atstringRequired—
result.restore (variant 1).pagesarrayRequired—
result.restore (variant 1).pages[]objectRequired—additionalProperties: false
result.restore (variant 1).pages[].urlstringRequired—
result.restore (variant 1).pages[].titlestringRequired—
result.restore (variant 2)nullOptional—
credits_usednumberRequired—
duration_msnumberRequired—
environmentstringRequired—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.
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
successbooleanRequired—
resultobjectRequired—additionalProperties: {}
result.page_idstringOptional—The page the action ran on.
result.current_page_idstring or nullOptional—
result.page_events_seq_startintegerOptional—The page event head when the action started. minimum: -9007199254740991 maximum: 9007199254740991
result.page_events_seqintegerOptional—The page event head when the action finished. minimum: -9007199254740991 maximum: 9007199254740991
result.pages_openedarrayOptional—
result.pages_opened[]stringRequired—
result.pages_closedarrayOptional—
result.pages_closed[]stringRequired—
result.popups_blockedarrayOptional—
result.popups_blocked[]objectRequired—additionalProperties: false
result.popups_blocked[].page_idstringRequired—
result.popups_blocked[].reasonstringRequired—Allowed: ["target-policy-refused","page-limit"]
result.navigations_refusedarrayOptional—
result.navigations_refused[]objectRequired—additionalProperties: false
result.navigations_refused[].page_idstring or nullRequired—
result.navigations_refused[].framestringRequired—Allowed: ["top","sub","popup"]
result.pages_replacedarrayOptional—
result.pages_replaced[]stringRequired—
result.pagesarrayOptional—list_pages
result.pages[]objectRequired—additionalProperties: false
result.pages[].page_idstringRequired—
result.pages[].opener_page_idstring or nullRequired—
result.pages[].return_to_page_idstring or nullRequired—
result.pages[].urlstringRequired—
result.pages[].titlestringRequired—
result.pages[].statusstringRequired—Allowed: ["open","closed","blocked"]
result.pages[].blocked_reasonstringOptional—Allowed: ["target-policy-refused","page-limit"]
result.pages[].closed_bystringOptional—Allowed: ["page","agent","human","crash","session-end","context-lost"]
result.pages[].opened_atstringRequired—
result.pages[].closed_atstringOptional—
result.restoreunionOptional—list_pages in a supervised session
result.restore (variant 1)objectOptional—additionalProperties: false
result.restore (variant 1).availablebooleanRequired—Constant: true
result.restore (variant 1).page_countintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
result.restore (variant 1).ended_reasonstringRequired—Why the previous session ended: worker_lost, page_memory_exhausted, browser_unresponsive, runtime_restarted, or unknown.
result.restore (variant 1).ended_atstringRequired—
result.restore (variant 1).pagesarrayRequired—
result.restore (variant 1).pages[]objectRequired—additionalProperties: false
result.restore (variant 1).pages[].urlstringRequired—
result.restore (variant 1).pages[].titlestringRequired—
result.restore (variant 2)nullOptional—
credits_usednumberRequired—
duration_msnumberRequired—
environmentstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/insufficient-credits"
titlestringRequired—
statusnumberRequired—Constant: 402
detailstringRequired—
instancestringRequired—
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—Repeating the request unchanged fails again until credits are added. Constant: "none"
required_millicreditsintegerOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
reasonstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
reasonstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/session-expired"
titlestringRequired—
statusnumberRequired—Constant: 410
detailstringRequired—
instancestringRequired—
reasonstringOptional—Allowed: ["runtime_restarted","explicit_close","inactivity_expired","human_wait_timeout","page_memory_exhausted","worker_lost","browser_unresponsive","credit_exhausted"]
controllerstringOptional—Allowed: ["agent","human"]
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
reasonstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
reasonstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—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"]
titlestringRequired—
statusintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
detailstringRequired—
instancestringRequired—
reasonstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
urlstringRequired—minLength: 1
selectorstringOptional—
full_pagebooleanRequiredfalse
formatstringRequired"png"Allowed: ["png","jpeg"]
qualityintegerRequired80minimum: 1 maximum: 100
viewportobjectOptional—additionalProperties: false
viewport.widthintegerRequired—maximum: 9007199254740991
viewport.heightintegerRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/insufficient-credits"
titlestringRequired—
statusnumberRequired—Constant: 402
detailstringRequired—
instancestringRequired—
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—Repeating the request unchanged fails again until credits are added. Constant: "none"
required_millicreditsintegerOptional—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

POST /v1/browser/extract

Extract structured page data

Use the authentication scheme and authorization described in the API reference and OpenAPI contract.

Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
urlstringRequired—minLength: 1
schemaobjectRequired—additionalProperties: {"type":"string"}
wait_for_selectorstringOptional—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/insufficient-credits"
titlestringRequired—
statusnumberRequired—Constant: 402
detailstringRequired—
instancestringRequired—
credits_remainingintegerOptional—Whole credits, floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerOptional—Exact balance (1 credit = 1,000 millicredits). minimum: -9007199254740991 maximum: 9007199254740991
packs_within_limitsarrayOptional—Catalogue pack ids this key may buy now within every limit; empty when it may not buy.
packs_within_limits[]stringRequired—
purchasingobjectOptional—Whether this key may buy credits (as in GET /v1/account/balance). additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
next_stepstringOptional—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"]
linksobjectOptional—additionalProperties: false
links.balancestringRequired—Constant: "/v1/account/balance"
links.purchasestringRequired—Constant: "/v1/billing/purchases"
links.cataloguestringRequired—Constant: "/v1/billing/catalogue"
links.docsstringRequired—Constant: "https://roveapi.com/docs/billing-api"
owner_action_urlstringOptional—The billing page where the account owner adds credits.
retrystringOptional—Repeating the request unchanged fails again until credits are added. Constant: "none"
required_millicreditsintegerOptional—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
FieldTypeRequirednessDefaultDescription and constraints
session_idstringRequired—
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
session_idstringRequired—
artifactsarrayRequired—
artifacts[]objectRequired—additionalProperties: false
artifacts[].idstringOptional—
artifacts[].typestringRequired—Allowed: ["screenshot","video","download","receipt"]
artifacts[].namestringOptional—
artifacts[].content_typestringOptional—
artifacts[].urlstringRequired—For downloads, an API path requiring the session API key; otherwise a signed storage URL.
artifacts[].confirmation_urlstringOptional—For receipts, the confirmation page URL captured after the approved purchase.
artifacts[].expires_atstringRequired—
artifacts[].file_size_bytesnumberOptional—
artifacts[].width_pxnumberOptional—
artifacts[].height_pxnumberOptional—
artifacts[].duration_secondsnumberOptional—
download_errorsarrayRequired—Recent refused or failed downloads. Downloads are limited to 25 MiB per file and 100 MiB per session.
download_errors[]objectRequired—additionalProperties: false
download_errors[].namestringRequired—
download_errors[].reasonstringRequired—Allowed: ["download-too-large","session-download-limit","download-timeout","download-failed"]
download_errors[].detailstringOptional—Safe failure cause and recovery guidance.
download_errors[].error_idstringOptional—Diagnostic reference for support.
download_errors[].max_file_size_bytesnumberRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
session_idstringRequired—
path parameter: artifact_id
FieldTypeRequirednessDefaultDescription and constraints
artifact_idstringRequired—
Response 200: application/octet-stream — Download bytes, served as an attachment
FieldTypeRequirednessDefaultDescription and constraints
bodystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
qstringOptional—Case-insensitive substring of the URL or title. maxLength: 512
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional50minimum: 1 maximum: 200
query parameter: before
FieldTypeRequirednessDefaultDescription and constraints
beforestringOptional—next_before from an earlier page.
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
entriesarrayRequired—Newest first.
entries[]objectRequired—additionalProperties: false
entries[].entry_idstringRequired—
entries[].urlstringRequired—
entries[].titlestringRequired—
entries[].visited_atstringRequired—
entries[].session_idstringRequired—
entries[].actorstringRequired—Allowed: ["agent","human"]
next_beforestring or nullRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
clearedbooleanRequired—Constant: true
Response 401: RFC 7807 authentication problem
Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/profile-busy"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
session_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
rp_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
passkeysarrayRequired—
passkeys[]objectRequired—additionalProperties: false
passkeys[].credential_idstringRequired—
passkeys[].rp_idstring or nullRequired—
passkeys[].user_namestringOptional—
passkeys[].user_display_namestringOptional—
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
FieldTypeRequirednessDefaultDescription and constraints
credential_idstringRequired—URL-encoded credential_id from the listing. minLength: 1 maxLength: 4096
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
deletedbooleanRequired—
Response 401: RFC 7807 authentication problem
Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/profile-busy"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
session_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
deletedbooleanRequired—Constant: true
Response 401: RFC 7807 authentication problem
Response 409: application/json — RFC 7807 profile-busy: a supervised session on this key is running
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/profile-busy"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
session_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
statusstringOptional—Allowed: ["active","ended"]
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional100minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by created_at descending, then session id.
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
sessionsarrayRequired—
sessions[]objectRequired—additionalProperties: false
sessions[].idstringRequired—
sessions[].statusstringRequired—Allowed: ["active","closed","expired","failed"]
sessions[].controllerstringRequired—Allowed: ["agent","human"]
sessions[].generationintegerRequired—maximum: 9007199254740991
sessions[].observation_requiredbooleanRequired—
sessions[].created_atstringRequired—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_atstringRequired—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_atunionRequired—
sessions[].expires_at (variant 1)stringRequired—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)nullRequired—
sessions[].closed_atunionRequired—
sessions[].closed_at (variant 1)stringRequired—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)nullRequired—
sessions[].closed_reasonstring or nullRequired—
sessions[].api_keyunionRequired—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)objectRequired—additionalProperties: false
sessions[].api_key (variant 1).idstringRequired—
sessions[].api_key (variant 1).namestring or nullRequired—
sessions[].api_key (variant 1).environmentstringRequired—Allowed: ["live","test"]
sessions[].api_key (variant 1).key_id_fingerprintstringRequired—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).revokedbooleanRequired—
sessions[].api_key (variant 2)nullRequired—
sessions[].supervised_millicredits_per_minuteunionOptional—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)integerOptional—maximum: 9007199254740991
sessions[].supervised_millicredits_per_minute (variant 2)nullOptional—
sessions[].human_wait_expires_atstringOptional—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_reasonstringOptional—The reason the agent requested a human, present while waiting for a human.
next_cursorstring or nullRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
statusstringOptional—Allowed: ["active","ended"]
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional100minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by started_at descending, then session id.
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
usagearrayRequired—
usage[]objectRequired—additionalProperties: false
usage[].session_idstringRequired—
usage[].statestringRequired—Allowed: ["active","ended"]
usage[].started_atstringRequired—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_atunionRequired—
usage[].ended_at (variant 1)stringRequired—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)nullRequired—
usage[].worker_millisecondsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
usage[].credits_chargednumberRequired—Whole credits: floor(credits_charged_millicredits / 1000).
usage[].credits_charged_millicreditsintegerRequired—Exact amount charged, in millicredits (1 credit = 1,000). minimum: -9007199254740991 maximum: 9007199254740991
usage[].closed_reasonstring or nullRequired—
usage[].streamed_bytesintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
usage[].profile_bytesintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
usage[].active_control_millisecondsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_cursorstring or nullRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—
statusstringRequired—Allowed: ["active","closed","expired","failed"]
controllerstringRequired—Allowed: ["agent","human"]
generationintegerRequired—maximum: 9007199254740991
observation_requiredbooleanRequired—
created_atstringRequired—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_atstringRequired—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_atunionRequired—
expires_at (variant 1)stringRequired—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)nullRequired—
closed_atunionRequired—
closed_at (variant 1)stringRequired—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)nullRequired—
closed_reasonstring or nullRequired—
api_keyunionRequired—The API key that started the session; null when the session was not started by one of the account keys.
api_key (variant 1)objectRequired—additionalProperties: false
api_key (variant 1).idstringRequired—
api_key (variant 1).namestring or nullRequired—
api_key (variant 1).environmentstringRequired—Allowed: ["live","test"]
api_key (variant 1).key_id_fingerprintstringRequired—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).revokedbooleanRequired—
api_key (variant 2)nullRequired—
supervised_millicredits_per_minuteunionOptional—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)integerOptional—maximum: 9007199254740991
supervised_millicredits_per_minute (variant 2)nullOptional—
human_wait_expires_atstringOptional—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_reasonstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional100minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—
Response 200: application/json — Audit events in ascending sequence order (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
eventsarrayRequired—
events[]objectRequired—additionalProperties: false
events[].sequenceintegerRequired—maximum: 9007199254740991
events[].occurred_atstringRequired—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[].actorstringRequired—Allowed: ["agent","human"]
events[].actor_idstringRequired—
events[].actionstringRequired—
events[].targetobjectRequired—additionalProperties: false
events[].target.pageIdstringOptional—
events[].target.selectorstringOptional—
events[].target.refstringOptional—
events[].target.labelstringOptional—
events[].target.frameunionOptional—
events[].target.frame (variant 1)stringOptional—
events[].target.frame (variant 2)arrayOptional—
events[].target.frame (variant 2)[]stringRequired—
events[].target.sitestringOptional—
events[].target.xnumberOptional—
events[].target.ynumberOptional—
events[].authorizationobjectRequired—additionalProperties: false
events[].authorization.kindstringRequired—Allowed: ["permission","approval","viewer_grant","session","session_mode"]
events[].authorization.idstringRequired—
events[].generationintegerRequired—maximum: 9007199254740991
events[].permissions_modestringOptional—Session mode at action admission; absent on historical events. Allowed: ["ask","auto","bypass","off"]
events[].permissions_mode_revisionintegerOptional—minimum: 0 maximum: 9007199254740991
events[].length_bucketstringOptional—Allowed: ["0","1-16","17-64","65-256","257-1024","1025-8192","8193+"]
next_cursorstring or nullRequired—Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params or invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional100minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—
Response 200: application/json — Audit events in ascending sequence order (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
eventsarrayRequired—
events[]objectRequired—additionalProperties: false
events[].sequenceintegerRequired—maximum: 9007199254740991
events[].occurred_atstringRequired—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[].actorstringRequired—Allowed: ["agent","human"]
events[].actor_idstringRequired—
events[].actionstringRequired—
events[].targetobjectRequired—additionalProperties: false
events[].target.pageIdstringOptional—
events[].target.selectorstringOptional—
events[].target.refstringOptional—
events[].target.labelstringOptional—
events[].target.frameunionOptional—
events[].target.frame (variant 1)stringOptional—
events[].target.frame (variant 2)arrayOptional—
events[].target.frame (variant 2)[]stringRequired—
events[].target.sitestringOptional—
events[].target.xnumberOptional—
events[].target.ynumberOptional—
events[].authorizationobjectRequired—additionalProperties: false
events[].authorization.kindstringRequired—Allowed: ["permission","approval","viewer_grant","session","session_mode"]
events[].authorization.idstringRequired—
events[].generationintegerRequired—maximum: 9007199254740991
events[].permissions_modestringOptional—Session mode at action admission; absent on historical events. Allowed: ["ask","auto","bypass","off"]
events[].permissions_mode_revisionintegerOptional—minimum: 0 maximum: 9007199254740991
events[].length_bucketstringOptional—Allowed: ["0","1-16","17-64","65-256","257-1024","1025-8192","8193+"]
next_cursorstring or nullRequired—Pass as cursor for the next page; null on the last page.
Response 400: application/json — RFC 7807 invalid-params or invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Response 201: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
viewer_urlstringRequired—format: "uri"
expires_in_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Response 201: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
viewer_urlstringRequired—format: "uri"
expires_in_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statusstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 201: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
admission_codestringRequired—
expires_in_secondsintegerRequired—maximum: 9007199254740991
viewer_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
codestringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 201: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
sessionIdstringRequired—
expiresAtintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
sessionCreatedAtstringRequired—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))$"
sessionElapsedSecondsintegerRequired—minimum: 0 maximum: 9007199254740991
apiKeyFingerprintstringRequired—pattern: "^[a-f0-9]{8}$"
viewport_modestringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
actionstringRequired—Allowed: ["take","resume","return"]
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"]
generationintegerRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
viewport_modestringRequired—Allowed: ["follow-human","fixed"]
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
viewport_modestringRequired—Allowed: ["follow-human","fixed"]
transitionstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
actionstringRequired—Allowed: ["navigate","back","forward","reload"]
urlstringOptional—
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
urlstringRequired—
titlestringRequired—
movedbooleanRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
page_idstringRequired—
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
current_page_idstringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
qstringOptional—maxLength: 512
beforestringOptional—
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
entriesarrayRequired—Newest first.
entries[]objectRequired—additionalProperties: false
entries[].entry_idstringRequired—
entries[].urlstringRequired—
entries[].titlestringRequired—
entries[].visited_atstringRequired—
entries[].session_idstringRequired—
entries[].actorstringRequired—Allowed: ["agent","human"]
next_beforestring or nullRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
page_idstringRequired—
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
closed_page_idstringRequired—
current_page_idstringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
decisionstringRequired—Allowed: ["restore","dismiss"]
expected_generationintegerRequired—maximum: 9007199254740991
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
decisionstringRequired—Allowed: ["restore","dismiss"]
current_page_idstring or nullRequired—
pagesarrayRequired—
pages[]objectRequired—additionalProperties: false
pages[].urlstringRequired—
pages[].titlestringRequired—
pages[].outcomestringRequired—Allowed: ["restored","refused","failed","skipped"]
pages[].page_idstringOptional—
pages[].reasonstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
incident_idstringRequired—minLength: 1
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
incident_idstringRequired—
statestringRequired—Constant: "abandoned"
outcomestringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
dialog_idstringRequired—minLength: 1 maxLength: 64
actionstringRequired—Allowed: ["accept","dismiss"]
textstringOptional—maxLength: 4096
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
dialog_idstringRequired—
actionstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
downloadsarrayRequired—
downloads[]objectRequired—additionalProperties: false
downloads[].idstringRequired—
downloads[].namestringRequired—
downloads[].file_size_bytesintegerRequired—minimum: 0 maximum: 9007199254740991
downloads[].urlstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
session_idstringRequired—
query parameter: artifact_id
FieldTypeRequirednessDefaultDescription and constraints
artifact_idstringRequired—
query parameter: expires
FieldTypeRequirednessDefaultDescription and constraints
expiresstringRequired—
query parameter: signature
FieldTypeRequirednessDefaultDescription and constraints
signaturestringRequired—
Response 200: application/octet-stream — Download bytes, served as an attachment (private, no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
approvalunionRequired—
approval (variant 1)objectRequired—additionalProperties: false
approval (variant 1).approval_idstringRequired—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_idstringRequired—
approval (variant 1).action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
approval (variant 1).etld_plus_onestringRequired—
approval (variant 1).expires_atstringRequired—
approval (variant 2)nullRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
session_idstringRequired—
modestringRequired—Allowed: ["ask","auto","bypass","off"]
revisionintegerRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
incidentunionRequired—
incident (variant 1)objectRequired—additionalProperties: false
incident (variant 1).incident_idstringRequired—
incident (variant 1).sitestringRequired—
incident (variant 1).statestringRequired—Allowed: ["parked","human_solving","verifying"]
incident (variant 1).parked_secondsintegerOptional—minimum: 0 maximum: 9007199254740991
incident (variant 2)nullRequired—
askunionRequired—
ask (variant 1)objectRequired—additionalProperties: false
ask (variant 1).incident_idstringRequired—
ask (variant 1).sitestringRequired—
ask (variant 1).expires_atstringRequired—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_inbooleanRequired—Constant: true
ask (variant 1).choicesarrayRequired—
ask (variant 1).choices[]unionRequired—
ask (variant 1).choices[] (variant 1)objectRequired—additionalProperties: false
ask (variant 1).choices[] (variant 1).choicestringRequired—Constant: "just_this_time"
ask (variant 1).choices[] (variant 1).scopestringRequired—Constant: "none"
ask (variant 1).choices[] (variant 2)objectRequired—additionalProperties: false
ask (variant 1).choices[] (variant 2).choicestringRequired—Allowed: ["this_site","always","never"]
ask (variant 1).choices[] (variant 2).scopestringRequired—Allowed: ["site","all_sites"]
ask (variant 1).choices[] (variant 2).etld_plus_onestringRequired—
ask (variant 1).choices[] (variant 2).actionstringRequired—Allowed: ["page_human","abandon"]
ask (variant 2)nullRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"]
generationintegerRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
originstringRequired—pattern: "^https:\\/\\/|^http:\\/\\/(localhost|127\\.0\\.0\\.1)(?::\\d+)?$"
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—Allowed: ["Watching","Your control","Agent control","Waiting","Reconnecting","Stopped"]
generationintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
include_revokedbooleanOptionalfalse
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
keysarrayRequired—Newest first, at most 200.
keys[]objectRequired—additionalProperties: false
keys[].idstringRequired—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[].namestring or nullRequired—
keys[].environmentstringRequired—Allowed: ["live","test"]
keys[].key_id_fingerprintstringRequired—The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$"
keys[].created_atstringRequired—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_atunionRequired—
keys[].last_used_at (variant 1)stringRequired—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)nullRequired—
keys[].revoked_atunionRequired—
keys[].revoked_at (variant 1)stringRequired—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)nullRequired—
keys[].kindstringRequired—'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_appunionRequired—null for every kind 'key' row.
keys[].connected_app (variant 1)objectRequired—additionalProperties: false
keys[].connected_app (variant 1).grant_idstringRequired—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_namestringRequired—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_activebooleanRequired—
keys[].connected_app (variant 2)nullRequired—
truncatedbooleanRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
namestringRequired—minLength: 1 maxLength: 64
environmentstringRequired—Allowed: ["live","test"]
Response 201: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
keyobjectRequired—additionalProperties: false
key.idstringRequired—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.namestring or nullRequired—
key.environmentstringRequired—Allowed: ["live","test"]
key.key_id_fingerprintstringRequired—The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$"
key.created_atstringRequired—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_atunionRequired—
key.last_used_at (variant 1)stringRequired—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)nullRequired—
key.revoked_atunionRequired—
key.revoked_at (variant 1)stringRequired—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)nullRequired—
key.kindstringRequired—'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_appunionRequired—null for every kind 'key' row.
key.connected_app (variant 1)objectRequired—additionalProperties: false
key.connected_app (variant 1).grant_idstringRequired—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_namestringRequired—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_activebooleanRequired—
key.connected_app (variant 2)nullRequired—
tokenstringRequired—Shown once; never returned again.
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-create-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
query parameter: rp_id
FieldTypeRequirednessDefaultDescription and constraints
rp_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
passkeysarrayRequired—
passkeys[]objectRequired—additionalProperties: false
passkeys[].credential_idstringRequired—
passkeys[].rp_idstring or nullRequired—
passkeys[].user_namestringOptional—
passkeys[].user_display_namestringOptional—
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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
path parameter: credential_id
FieldTypeRequirednessDefaultDescription and constraints
credential_idstringRequired—URL-encoded credential_id from the listing. minLength: 1 maxLength: 4096
Response 200: application/json — Successful response
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
deletedbooleanRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/profile-busy"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
session_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
namestring or nullRequired—
environmentstringRequired—Allowed: ["live","test"]
key_id_fingerprintstringRequired—The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$"
created_atstringRequired—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_atunionRequired—
last_used_at (variant 1)stringRequired—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)nullRequired—
revoked_atunionRequired—
revoked_at (variant 1)stringRequired—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)nullRequired—
kindstringRequired—'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_appunionRequired—null for every kind 'key' row.
connected_app (variant 1)objectRequired—additionalProperties: false
connected_app (variant 1).grant_idstringRequired—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_namestringRequired—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_activebooleanRequired—
connected_app (variant 2)nullRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 201: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
keyobjectRequired—additionalProperties: false
key.idstringRequired—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.namestring or nullRequired—
key.environmentstringRequired—Allowed: ["live","test"]
key.key_id_fingerprintstringRequired—The viewer's API key ID: first 8 hex of SHA-256 of the key id. pattern: "^[a-f0-9]{8}$"
key.created_atstringRequired—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_atunionRequired—
key.last_used_at (variant 1)stringRequired—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)nullRequired—
key.revoked_atunionRequired—
key.revoked_at (variant 1)stringRequired—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)nullRequired—
key.kindstringRequired—'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_appunionRequired—null for every kind 'key' row.
key.connected_app (variant 1)objectRequired—additionalProperties: false
key.connected_app (variant 1).grant_idstringRequired—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_namestringRequired—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_activebooleanRequired—
key.connected_app (variant 2)nullRequired—
tokenstringRequired—Shown once; never returned again.
revoked_key_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
Response 409: application/json — RFC 7807 key-revoked; or oauth-key-not-rotatable for a connected app's key (AR-01)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/key-revoked"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 409
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).revoked_atstringRequired—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)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-key-not-rotatable"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 409
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-create-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional100minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
policiesarrayRequired—
policies[]objectRequired—additionalProperties: false
policies[].etld_plus_onestringRequired—
policies[].scopestringRequired—Allowed: ["site","all_sites"]
policies[].actionstringRequired—Allowed: ["page_human","abandon"]
policies[].created_atstringRequired—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_atstringRequired—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_cursorstring or nullRequired—
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor (garbled, or another account or list)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—

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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialstringRequired—
incident_idstringRequired—minLength: 1
choicestringRequired—Allowed: ["just_this_time","this_site","always","never"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
incident_idstringRequired—
choicestringRequired—Allowed: ["just_this_time","this_site","always","never"]
policyunionRequired—
policy (variant 1)objectRequired—additionalProperties: false
policy (variant 1).etld_plus_onestringRequired—
policy (variant 1).scopestringRequired—Allowed: ["site","all_sites"]
policy (variant 1).actionstringRequired—Allowed: ["page_human","abandon"]
policy (variant 2)nullRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/challenge-policy-refused"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
reasonstringRequired—Allowed: ["not_offered","already_answered","window_closed","policy_exists"]
existingobjectOptional—additionalProperties: false
existing.etld_plus_onestringRequired—
existing.scopestringRequired—Allowed: ["site","all_sites"]
existing.actionstringRequired—Allowed: ["page_human","abandon"]
Response 503: application/json — RFC 7807 challenge-policy-unavailable: the policy store could not be read or changed; nothing changed
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—

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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—minLength: 1 maxLength: 253 pattern: "^\\S+$"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—
removedbooleanRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—

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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
removedintegerRequired—minimum: 0 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/challenge-policy-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—

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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Response 200: application/json — Committed session mode and revision (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
session_idstringRequired—
modestringRequired—Allowed: ["ask","auto","bypass","off"]
revisionintegerRequired—minimum: 0 maximum: 9007199254740991
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
sessionIdstringRequired—
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
modestringRequired—Allowed: ["ask","auto"]
expected_revisionintegerRequired—minimum: 0 maximum: 2147483647
Response 200: application/json — Committed session mode and revision (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
session_idstringRequired—
modestringRequired—Allowed: ["ask","auto","bypass","off"]
revisionintegerRequired—minimum: 0 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
modestringRequired—The stored starting mode, or ask when none is stored. Allowed: ["ask","auto","off"]
storedbooleanRequired—Whether the account has a stored starting mode; false reads as ask.
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
modestringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
modestringRequired—The stored starting mode, or ask when none is stored. Allowed: ["ask","auto","off"]
storedbooleanRequired—Whether the account has a stored starting mode; false reads as ask.
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required: no owner session cookie, or not from the configured web Origin; nothing changed
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
permissionsarrayRequired—
permissions[]objectRequired—additionalProperties: false
permissions[].etld_plus_onestringRequired—
permissions[].action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
permissions[].permissionstringRequired—Allowed: ["allow","ask","deny"]
permissions[].created_atstringRequired—
permissions[].updated_atstringRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—A hostname, normalized to its eTLD+1 (including private suffixes), or "*" for all sites. minLength: 1 maxLength: 254
action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
permissionstringRequired—Allowed: ["allow","ask","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—
action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
permissionstringRequired—Allowed: ["allow","ask","deny"]
created_atstringRequired—
updated_atstringRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—A hostname, normalized to its eTLD+1 (including private suffixes), or "*" for all sites. minLength: 1 maxLength: 254
action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—
action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
removedbooleanRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
approvalsarrayRequired—
approvals[]objectRequired—additionalProperties: false
approvals[].approval_idstringRequired—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_idstringRequired—
approvals[].action_classstringRequired—pattern: "^[a-z][a-z0-9_]{0,63}$"
approvals[].etld_plus_onestringRequired—
approvals[].expires_atstringRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
approval_idstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
approvedbooleanRequired—Constant: true
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
approval_idstringRequired—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)$"
choicestringRequired—Allowed: ["allow_once","allow_once_and_auto","always_for_site","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
answeredbooleanRequired—Constant: true
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credentialsarrayRequired—
credentials[]objectRequired—additionalProperties: false
credentials[].etld_plus_onestringRequired—
credentials[].created_atstringRequired—
credentials[].updated_atstringRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—A hostname normalized to one eTLD+1, including private suffixes. Wildcards are refused. minLength: 1 maxLength: 254
secretstringRequired—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_seedstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—
created_atstringRequired—
updated_atstringRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
etld_plus_onestringRequired—
removedbooleanRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused: writes require the configured web Origin
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
request_idstringRequired—
clientobjectRequired—additionalProperties: false
client.client_idstringRequired—
client.namestringRequired—
client.name_kindstringRequired—Where the display name came from. 'asserted' names are supplied by the app and not verified. Allowed: ["asserted","redirect_host","this_computer"]
client.name_verifiedbooleanRequired—Constant: false
redirectobjectRequired—additionalProperties: false
redirect.hoststringRequired—
redirect.kindstringRequired—Allowed: ["web","loopback"]
scopes_requestedarrayRequired—
scopes_requested[]objectRequired—additionalProperties: false
scopes_requested[].scopestringRequired—Allowed: ["rove:browse","rove:supervised"]
scopes_requested[].titlestringRequired—
scopes_requested[].linestringRequired—
existing_grantunionRequired—
existing_grant (variant 1)objectRequired—additionalProperties: false
existing_grant (variant 1).scopesarrayRequired—
existing_grant (variant 1).scopes[]objectRequired—additionalProperties: false
existing_grant (variant 1).scopes[].scopestringRequired—Allowed: ["rove:browse","rove:supervised"]
existing_grant (variant 1).scopes[].titlestringRequired—
existing_grant (variant 1).created_atstringRequired—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)nullRequired—
choicesarrayRequired—
choices[]objectRequired—additionalProperties: false
choices[].choicestringRequired—Allowed: ["allow","allow_browse","deny"]
choices[].scopesarrayRequired—
choices[].scopes[]stringRequired—Allowed: ["rove:browse","rove:supervised"]
choices[].addsarrayRequired—
choices[].adds[]stringRequired—Allowed: ["rove:browse","rove:supervised"]
choices[].removesarrayRequired—
choices[].removes[]stringRequired—Allowed: ["rove:browse","rove:supervised"]
choices[].leaves_connectedbooleanRequired—
expires_atstringRequired—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_asstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-request-completed"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
decisionstringRequired—Allowed: ["approved","denied"]
clientobjectRequired—additionalProperties: false
client.namestringRequired—
still_connectedbooleanRequired—
Response 410: application/json — RFC 7807 oauth-request-spent: expired, decided by another account, or unknown
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-request-spent"
titlestringRequired—
statusnumberRequired—Constant: 410
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
choicestringRequired—Allowed: ["allow","allow_browse","deny"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
redirect_tostringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: RFC 7807 owner-session-required: sign in
Response 403: application/json — RFC 7807 owner-origin-refused
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-request-completed"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
decisionstringRequired—Allowed: ["approved","denied"]
clientobjectRequired—additionalProperties: false
client.namestringRequired—
still_connectedbooleanRequired—
Response 410: application/json — RFC 7807 oauth-request-spent
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-request-spent"
titlestringRequired—
statusnumberRequired—Constant: 410
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—
query parameter: limit
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional50minimum: 1 maximum: 50
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
itemsarrayRequired—Active grants only, newest first.
items[]objectRequired—additionalProperties: false
items[].grant_idstringRequired—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[].clientobjectRequired—additionalProperties: false
items[].client.client_idstringRequired—
items[].client.namestringRequired—
items[].client.name_kindstringRequired—Where the display name came from. 'asserted' names are supplied by the app and not verified. Allowed: ["asserted","redirect_host","this_computer"]
items[].redirectobjectRequired—additionalProperties: false
items[].redirect.hoststringRequired—
items[].redirect.kindstringRequired—Allowed: ["web","loopback"]
items[].scopesarrayRequired—
items[].scopes[]stringRequired—Allowed: ["rove:browse","rove:supervised"]
items[].api_key_idstringRequired—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_atstringRequired—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_atstringRequired—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_atunionRequired—
items[].last_token_issued_at (variant 1)stringRequired—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)nullRequired—
items[].signed_out_for_safety_atunionRequired—
items[].signed_out_for_safety_at (variant 1)stringRequired—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)nullRequired—
next_cursorstring or nullRequired—
Response 400: application/json — RFC 7807 invalid-cursor or invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/oauth-grant-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
policyobjectRequired—additionalProperties: false
policy.statestringRequired—off by default: no API key can buy until the owner turns it on Allowed: ["off","on"]
policy.per_purchase_max_centsintegerRequired—Ceiling $500; not above period_max_cents. maximum: 50000
policy.periodstringRequired—Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"]
policy.period_max_centsintegerRequired—Ceiling $2,000. maximum: 200000
policy.off_session_allowedbooleanRequired—
policy.updated_atunionRequired—null until the owner first changes it; the values are then the defaults ($25 per purchase, $100 per month).
policy.updated_at (variant 1)stringRequired—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)nullRequired—
policy.period_committed_centsintegerRequired—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_atstringRequired—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.ceilingsobjectRequired—additionalProperties: false
policy.ceilings.per_purchase_max_centsnumberRequired—Constant: 50000
policy.ceilings.period_max_centsnumberRequired—Constant: 200000
keysarrayRequired—The account's live keys, newest first.
keys[]objectRequired—additionalProperties: false
keys[].api_key_idstringRequired—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_namestring or nullRequired—
keys[].token_prefixstringRequired—Allowed: ["rvp_live_","rvp_test_"]
keys[].statestringRequired—none: this key was never allowed to buy. Allowed: ["none","granted","revoked"]
keys[].per_purchase_max_centsunionRequired—null inherits the account limit.
keys[].per_purchase_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
keys[].per_purchase_max_cents (variant 2)nullRequired—
keys[].period_max_centsunionRequired—null inherits the account limit.
keys[].period_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
keys[].period_max_cents (variant 2)nullRequired—
keys[].period_committed_centsintegerRequired—This key's purchases this period, in the key's own mode (test keys count test-mode spend). minimum: -9007199254740991 maximum: 9007199254740991
keys[].last_refusalunionRequired—
keys[].last_refusal (variant 1)objectRequired—additionalProperties: {}
keys[].last_refusal (variant 1).typestringRequired—
keys[].last_refusal (variant 1).limitstringOptional—
keys[].last_refusal (variant 1).atstringRequired—
keys[].last_refusal (variant 2)nullRequired—
changesarrayRequired—The last 20 owner billing-settings changes, newest first.
changes[]objectRequired—additionalProperties: false
changes[].idstringRequired—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[].kindstringRequired—Allowed: ["spend_policy","key_grant","payment_method","auto_topup"]
changes[].beforeunionRequired—
changes[].before (variant 1)anyRequired—
changes[].before (variant 2)nullRequired—
changes[].afterunionRequired—
changes[].after (variant 1)anyRequired—
changes[].after (variant 2)nullRequired—
changes[].atstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—off by default: no API key can buy until the owner turns it on Allowed: ["off","on"]
per_purchase_max_centsintegerRequired—Ceiling $500; not above period_max_cents. maximum: 50000
periodstringRequired—Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"]
period_max_centsintegerRequired—Ceiling $2,000. maximum: 200000
off_session_allowedbooleanRequired—
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—off by default: no API key can buy until the owner turns it on Allowed: ["off","on"]
per_purchase_max_centsintegerRequired—Ceiling $500; not above period_max_cents. maximum: 50000
periodstringRequired—Calendar periods in UTC; weeks start Monday. Allowed: ["day","week","month"]
period_max_centsintegerRequired—Ceiling $2,000. maximum: 200000
off_session_allowedbooleanRequired—
updated_atunionRequired—null until the owner first changes it; the values are then the defaults ($25 per purchase, $100 per month).
updated_at (variant 1)stringRequired—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)nullRequired—
period_committed_centsintegerRequired—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_atstringRequired—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))$"
ceilingsobjectRequired—additionalProperties: false
ceilings.per_purchase_max_centsnumberRequired—Constant: 50000
ceilings.period_max_centsnumberRequired—Constant: 200000
Response 400: application/json — RFC 7807 invalid-params: the field and its ceiling
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
keyIdstringRequired—format: "uuid"
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
per_purchase_max_centsunionOptional—Omitted or null inherits the account limit; never above it.
per_purchase_max_cents (variant 1)integerOptional—maximum: 50000
per_purchase_max_cents (variant 2)nullOptional—
period_max_centsunionOptional—Omitted or null inherits the account limit; never above it.
period_max_cents (variant 1)integerOptional—maximum: 200000
period_max_cents (variant 2)nullOptional—
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
api_key_idstringRequired—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_namestring or nullRequired—
token_prefixstringRequired—Allowed: ["rvp_live_","rvp_test_"]
statestringRequired—none: this key was never allowed to buy. Allowed: ["none","granted","revoked"]
per_purchase_max_centsunionRequired—null inherits the account limit.
per_purchase_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
per_purchase_max_cents (variant 2)nullRequired—
period_max_centsunionRequired—null inherits the account limit.
period_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
period_max_cents (variant 2)nullRequired—
period_committed_centsintegerRequired—This key's purchases this period, in the key's own mode (test keys count test-mode spend). minimum: -9007199254740991 maximum: 9007199254740991
last_refusalunionRequired—
last_refusal (variant 1)objectRequired—additionalProperties: {}
last_refusal (variant 1).typestringRequired—
last_refusal (variant 1).limitstringOptional—
last_refusal (variant 1).atstringRequired—
last_refusal (variant 2)nullRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
keyIdstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/key-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—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
FieldTypeRequirednessDefaultDescription and constraints
rangestringOptional"7d"Allowed: ["7d","30d","90d"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
rangestringRequired—Allowed: ["7d","30d","90d"]
fromstringRequired—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])))$"
tostringRequired—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])))$"
daysarrayRequired—One entry per UTC day, oldest first, zeros included.
days[]objectRequired—additionalProperties: false
days[].datestringRequired—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_millicreditsintegerRequired—Negated sum of the day's supervised worker ledger rows (charges, settlement, rounding and allocation refunds). minimum: -9007199254740991 maximum: 9007199254740991
days[].action_millicreditsintegerRequired—Negated sum of the day's per-action debits (REST and stdio MCP). minimum: -9007199254740991 maximum: 9007199254740991
days[].actionsintegerRequired—Metered API operations recorded that day. minimum: -9007199254740991 maximum: 9007199254740991
operationsarrayRequired—Operations over the range, most frequent first (REST and stdio MCP).
operations[]objectRequired—additionalProperties: false
operations[].operation_idstringRequired—
operations[].countintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervisedobjectRequired—additionalProperties: false
supervised.sessions_startedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised.worker_millisecondsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised.active_control_millisecondsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised.millicreditsintegerRequired—Sum of days[].supervised_millicredits. minimum: -9007199254740991 maximum: 9007199254740991
totalsobjectRequired—additionalProperties: false
totals.millicreditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
totals.actionsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
Response 400: application/json — RFC 7807 invalid-params: unknown range
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
rangestringOptional"7d"Allowed: ["7d","30d","90d"]
Response 200: text/csv — text/csv; Content-Disposition: attachment; filename="rove-usage-<range>-<to>.csv"; Cache-Control: no-store
FieldTypeRequirednessDefaultDescription and constraints
bodystringRequired—
Response 400: application/json — RFC 7807 invalid-params: unknown range
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
api_keystringRequired—Deprecated: the masked key prefix (rvp_live_… or rvp_test_…), never the token. To be removed in a future major version.
planstringRequired—
credits_totalnumberRequired—
credits_usednumberRequired—
credits_remainingnumberRequired—
credits_total_millicreditsintegerRequired—Exact credits_total in millicredits (1 credit = 1,000); equals used + remaining exactly. minimum: -9007199254740991 maximum: 9007199254740991
credits_used_millicreditsintegerRequired—Exact credits_used in millicredits. minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerRequired—Exact balance in millicredits; credits_remaining is its floor in whole credits. minimum: -9007199254740991 maximum: 9007199254740991
current_period_actionsobjectRequired—additionalProperties: false
current_period_actions.sessionsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
current_period_actions.navigationsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
current_period_actions.interactionsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
current_period_actions.screenshotsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
current_period_actions.extractionsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
credits_expirestring or nullRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
namestringOptional—
testbooleanRequiredfalse
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
tokenstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
tokenstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
receivedbooleanRequired—Constant: true
Response 400: application/json — RFC 7807 invalid-signature; nothing stored
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-signature"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
catalogue_versionstringRequired—The newest effective date, then the number of changes that took effect that day.
currencystringRequired—Constant: "usd"
credit_unitobjectRequired—additionalProperties: false
credit_unit.credits_per_usdintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
credit_unit.millicredits_per_creditintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervisedobjectRequired—additionalProperties: false
supervised.millicredits_per_minuteintegerRequired—The base rate a session started now snapshots. minimum: -9007199254740991 maximum: 9007199254740991
supervised.credits_per_hournumberRequired—
supervised.minimum_minutesintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised.roundingstringRequired—Allowed: ["ceil","floor","nearest"]
costsobjectRequired—additionalProperties: false
costs.operationsobjectRequired—Whole credits per metered operation id (only those that cost credits). additionalProperties: {"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}
costs.actionsobjectRequired—Whole credits per browser.action.execute action. additionalProperties: {"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}
packsarrayRequired—
packs[]objectRequired—additionalProperties: false
packs[].idstringRequired—
packs[].versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
packs[].namestringRequired—
packs[].unit_amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
packs[].creditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
packs[].supervised_hours_at_base_ratenumberRequired—Floored to one decimal.
tiersarrayRequired—
tiers[]objectRequired—additionalProperties: false
tiers[].idstringRequired—
tiers[].versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
tiers[].namestringRequired—
tiers[].unit_amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
tiers[].intervalstringRequired—Constant: "month"
tiers[].creditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
tiers[].supervised_millicredits_per_minuteintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
tiers[].supervised_credits_per_hournumberRequired—
Response 429: application/json — RFC 7807 purchase-rate-limited; Retry-After
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credits_remainingintegerRequired—floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
planstringRequired—
livemodebooleanRequired—false for a test key: its purchases are simulated and count only against test-mode spend.
credit_unitobjectRequired—additionalProperties: false
credit_unit.credits_per_usdintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
credit_unit.millicredits_per_creditintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised_millicredits_per_minuteintegerRequired—What a supervised session started now would snapshot. minimum: -9007199254740991 maximum: 9007199254740991
purchasingobjectRequired—additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
purchasing.owner_action_urlstring or nullRequired—Where the account owner can allow this, when not allowed.
purchasing.payment_modesarrayRequired—
purchasing.payment_modes[]stringRequired—Allowed: ["checkout","saved_method"]
purchasing.packs_within_limitsarrayRequired—Catalogue pack ids that fit every limit right now.
purchasing.packs_within_limits[]stringRequired—
purchasing.limitsunionRequired—
purchasing.limits (variant 1)objectRequired—additionalProperties: false
purchasing.limits (variant 1).per_purchase_max_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).periodstringRequired—Allowed: ["day","week","month"]
purchasing.limits (variant 1).period_max_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).period_committed_centsintegerRequired—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_centsunionRequired—null on the owner route (no key).
purchasing.limits (variant 1).key_period_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).key_period_max_cents (variant 2)nullRequired—
purchasing.limits (variant 1).key_period_committed_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).period_resets_atstringRequired—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)nullRequired—
auto_topupunionRequired—The account's auto top-up; null until the owner first configures it.
auto_topup (variant 1)objectRequired—additionalProperties: false
auto_topup (variant 1).statestringRequired—Allowed: ["off","armed","in_flight","paused"]
auto_topup (variant 1).threshold_creditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
auto_topup (variant 1).blocked_untilunionRequired—
auto_topup (variant 1).blocked_until (variant 1)stringRequired—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)nullRequired—
auto_topup (variant 1).pause_reasonstring or nullRequired—
auto_topup (variant 2)nullRequired—
Response 401: application/json — RFC 7807 invalid-api-key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
Idempotency-KeystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
item_idstringRequired—A current catalogue pack id, e.g. pack_1k (GET /v1/billing/catalogue). minLength: 1 maxLength: 64
paymentstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 201: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 400: application/json — RFC 7807 idempotency-key-required, or invalid-params (body or a malformed Idempotency-Key)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/idempotency-key-required"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 1).idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2).idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
body (variant 2).errorsarrayRequired—
body (variant 2).errors[]objectRequired—additionalProperties: false
body (variant 2).errors[].fieldstringRequired—
body (variant 2).errors[].detailstringRequired—
Response 401: application/json — RFC 7807 invalid-api-key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/payment-failed"
titlestringRequired—
statusnumberRequired—Constant: 402
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
failure_codestringRequired—Stripe's decline or error code, or stripe_invalid_request (for example the saved card was removed).
purchase_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-permitted"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 403
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 1).idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
body (variant 1).reasonstringRequired—Allowed: ["agent_purchasing_off","key_not_granted","no_saved_method","off_session_not_allowed"]
body (variant 1).owner_action_urlstringOptional—agent_purchasing_off and key_not_granted: give the person this URL.
body (variant 1).suggested_paymentstringOptional—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)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/spend-limit-exceeded"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 403
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2).idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
body (variant 2).limitstringRequired—Checked in this order. Allowed: ["per_purchase","key_period","account_period"]
body (variant 2).limit_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
body (variant 2).committed_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
body (variant 2).requested_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
body (variant 2).resets_atstringRequired—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_limitsarrayRequired—
body (variant 2).packs_within_limits[]stringRequired—
body (variant 2).owner_action_urlstringRequired—Where the account owner can act (the billing page).
Response 404: application/json — RFC 7807 pack-not-found
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/pack-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
item_idanyRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/idempotency-in-progress"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/idempotency-key-reused"
titlestringRequired—
statusnumberRequired—Constant: 422
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
idempotency_keystringOptional—The Idempotency-Key the request carried, when it had one.
purchase_idstringOptional—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
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional20minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
dataarrayRequired—Only purchases this key created, newest first (created_at, then id), at most limit (default 20, at most 100).
data[]objectRequired—additionalProperties: false
data[].idstringRequired—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[].objectstringRequired—Constant: "purchase"
data[].statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
data[].livemodebooleanRequired—
data[].actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
data[].api_key_idunionRequired—
data[].api_key_id (variant 1)stringRequired—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)nullRequired—
data[].api_key_namestring or nullRequired—
data[].replayedbooleanRequired—
data[].channelstringRequired—Allowed: ["checkout","off_session"]
data[].itemobjectRequired—additionalProperties: false
data[].item.idstringRequired—
data[].item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].item.namestringRequired—
data[].amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].currencystringRequired—Constant: "usd"
data[].creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
data[].amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].next_actionunionRequired—
data[].next_action (variant 1)objectRequired—additionalProperties: false
data[].next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
data[].next_action (variant 1).urlstringRequired—
data[].next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
data[].next_action (variant 1).instructionstringRequired—
data[].next_action (variant 2)nullRequired—
data[].retryunionRequired—
data[].retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
data[].retry (variant 2)nullRequired—
data[].failure_codestring or nullRequired—
data[].created_atstringRequired—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_atunionRequired—
data[].paid_at (variant 1)stringRequired—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)nullRequired—
next_cursorstring or nullRequired—Opaque; valid only for this key.
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
Response 429: application/json — RFC 7807 rate-limit-exceeded (the plan limiter) or purchase-rate-limited; Retry-After
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 401: application/json — RFC 7807 invalid-api-key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
Response 404: application/json — RFC 7807 purchase-not-found (also another key's or the owner's purchase)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 401: application/json — RFC 7807 invalid-api-key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
Response 404: application/json — RFC 7807 purchase-not-found (also another key's or the owner's purchase)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-cancelable"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
purchase_statusstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
outcomestringRequired—Allowed: ["paid","expired","failed","authentication_required"]
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 400: application/json — RFC 7807 invalid-params (outcome)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 invalid-api-key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.noncelogic.com/errors/invalid-api-key"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
Response 403: application/json — RFC 7807 test-key-required: a live key cannot simulate
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/test-key-required"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-transition"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
purchase_statusstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
credits_remainingintegerRequired—floor(credits_remaining_millicredits / 1000). minimum: -9007199254740991 maximum: 9007199254740991
credits_remaining_millicreditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
planstringRequired—
livemodebooleanRequired—false for a test key: its purchases are simulated and count only against test-mode spend.
credit_unitobjectRequired—additionalProperties: false
credit_unit.credits_per_usdintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
credit_unit.millicredits_per_creditintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
supervised_millicredits_per_minuteintegerRequired—What a supervised session started now would snapshot. minimum: -9007199254740991 maximum: 9007199254740991
purchasingobjectRequired—additionalProperties: false
purchasing.allowedbooleanRequired—
purchasing.reasonunionRequired—
purchasing.reason (variant 1)stringRequired—Allowed: ["agent_purchasing_off","key_not_granted"]
purchasing.reason (variant 2)nullRequired—
purchasing.owner_action_urlstring or nullRequired—Where the account owner can allow this, when not allowed.
purchasing.payment_modesarrayRequired—
purchasing.payment_modes[]stringRequired—Allowed: ["checkout","saved_method"]
purchasing.packs_within_limitsarrayRequired—Catalogue pack ids that fit every limit right now.
purchasing.packs_within_limits[]stringRequired—
purchasing.limitsunionRequired—
purchasing.limits (variant 1)objectRequired—additionalProperties: false
purchasing.limits (variant 1).per_purchase_max_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).periodstringRequired—Allowed: ["day","week","month"]
purchasing.limits (variant 1).period_max_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).period_committed_centsintegerRequired—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_centsunionRequired—null on the owner route (no key).
purchasing.limits (variant 1).key_period_max_cents (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).key_period_max_cents (variant 2)nullRequired—
purchasing.limits (variant 1).key_period_committed_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchasing.limits (variant 1).period_resets_atstringRequired—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)nullRequired—
auto_topupunionRequired—The account's auto top-up; null until the owner first configures it.
auto_topup (variant 1)objectRequired—additionalProperties: false
auto_topup (variant 1).statestringRequired—Allowed: ["off","armed","in_flight","paused"]
auto_topup (variant 1).threshold_creditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
auto_topup (variant 1).blocked_untilunionRequired—
auto_topup (variant 1).blocked_until (variant 1)stringRequired—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)nullRequired—
auto_topup (variant 1).pause_reasonstring or nullRequired—
auto_topup (variant 2)nullRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/no-saved-method"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—maximum: 9007199254740991
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—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_creditsunionRequired—Buys when the balance falls below this many whole credits; null until first configured.
threshold_credits (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
threshold_credits (variant 2)nullRequired—
item_idstring or nullRequired—The catalogue pack it buys; null until first configured.
blocked_untilunionRequired—Set when the account's agent period limit refused it: it waits until then (the period end).
blocked_until (variant 1)stringRequired—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)nullRequired—
pause_reasonunionRequired—
pause_reason (variant 1)stringRequired—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)nullRequired—
in_flight_purchase_idunionRequired—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)stringRequired—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)nullRequired—
saved_methodunionRequired—The saved card it charges, or null.
saved_method (variant 1)objectRequired—additionalProperties: false
saved_method (variant 1).brandstring or nullRequired—
saved_method (variant 1).last4string or nullRequired—
saved_method (variant 1).exp_monthunionRequired—
saved_method (variant 1).exp_month (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
saved_method (variant 1).exp_month (variant 2)nullRequired—
saved_method (variant 1).exp_yearunionRequired—
saved_method (variant 1).exp_year (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
saved_method (variant 1).exp_year (variant 2)nullRequired—
saved_method (variant 2)nullRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—Allowed: ["off","armed"]
threshold_creditsintegerOptional—Required to arm: buy when the balance falls below this many whole credits. Ignored when state is off. maximum: 9007199254740991
item_idstringOptional—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
statestringRequired—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_creditsunionRequired—Buys when the balance falls below this many whole credits; null until first configured.
threshold_credits (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
threshold_credits (variant 2)nullRequired—
item_idstring or nullRequired—The catalogue pack it buys; null until first configured.
blocked_untilunionRequired—Set when the account's agent period limit refused it: it waits until then (the period end).
blocked_until (variant 1)stringRequired—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)nullRequired—
pause_reasonunionRequired—
pause_reason (variant 1)stringRequired—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)nullRequired—
in_flight_purchase_idunionRequired—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)stringRequired—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)nullRequired—
saved_methodunionRequired—The saved card it charges, or null.
saved_method (variant 1)objectRequired—additionalProperties: false
saved_method (variant 1).brandstring or nullRequired—
saved_method (variant 1).last4string or nullRequired—
saved_method (variant 1).exp_monthunionRequired—
saved_method (variant 1).exp_month (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
saved_method (variant 1).exp_month (variant 2)nullRequired—
saved_method (variant 1).exp_yearunionRequired—
saved_method (variant 1).exp_year (variant 1)integerRequired—minimum: -9007199254740991 maximum: 9007199254740991
saved_method (variant 1).exp_year (variant 2)nullRequired—
saved_method (variant 2)nullRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/pack-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
item_idanyRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/auto-topup-precondition"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
reasonstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-settings-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retry_after_secondsintegerRequired—maximum: 9007199254740991
Response 503: application/json — RFC 7807 billing-unavailable; Retry-After: 30, retry same_key
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
item_idstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
purchaseunionRequired—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)objectRequired—additionalProperties: false
purchase (variant 1).idstringRequired—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).objectstringRequired—Constant: "purchase"
purchase (variant 1).statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
purchase (variant 1).livemodebooleanRequired—
purchase (variant 1).actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
purchase (variant 1).api_key_idunionRequired—
purchase (variant 1).api_key_id (variant 1)stringRequired—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)nullRequired—
purchase (variant 1).api_key_namestring or nullRequired—
purchase (variant 1).replayedbooleanRequired—
purchase (variant 1).channelstringRequired—Allowed: ["checkout","off_session"]
purchase (variant 1).itemobjectRequired—additionalProperties: false
purchase (variant 1).item.idstringRequired—
purchase (variant 1).item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).item.namestringRequired—
purchase (variant 1).amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).currencystringRequired—Constant: "usd"
purchase (variant 1).creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).next_actionunionRequired—
purchase (variant 1).next_action (variant 1)objectRequired—additionalProperties: false
purchase (variant 1).next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
purchase (variant 1).next_action (variant 1).urlstringRequired—
purchase (variant 1).next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
purchase (variant 1).next_action (variant 1).instructionstringRequired—
purchase (variant 1).next_action (variant 2)nullRequired—
purchase (variant 1).retryunionRequired—
purchase (variant 1).retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
purchase (variant 1).retry (variant 2)nullRequired—
purchase (variant 1).failure_codestring or nullRequired—
purchase (variant 1).created_atstringRequired—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_atunionRequired—
purchase (variant 1).paid_at (variant 1)stringRequired—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)nullRequired—
purchase (variant 2)nullRequired—
checkout_urlstringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
purchaseunionRequired—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)objectRequired—additionalProperties: false
purchase (variant 1).idstringRequired—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).objectstringRequired—Constant: "purchase"
purchase (variant 1).statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
purchase (variant 1).livemodebooleanRequired—
purchase (variant 1).actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
purchase (variant 1).api_key_idunionRequired—
purchase (variant 1).api_key_id (variant 1)stringRequired—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)nullRequired—
purchase (variant 1).api_key_namestring or nullRequired—
purchase (variant 1).replayedbooleanRequired—
purchase (variant 1).channelstringRequired—Allowed: ["checkout","off_session"]
purchase (variant 1).itemobjectRequired—additionalProperties: false
purchase (variant 1).item.idstringRequired—
purchase (variant 1).item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).item.namestringRequired—
purchase (variant 1).amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).currencystringRequired—Constant: "usd"
purchase (variant 1).creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase (variant 1).next_actionunionRequired—
purchase (variant 1).next_action (variant 1)objectRequired—additionalProperties: false
purchase (variant 1).next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
purchase (variant 1).next_action (variant 1).urlstringRequired—
purchase (variant 1).next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
purchase (variant 1).next_action (variant 1).instructionstringRequired—
purchase (variant 1).next_action (variant 2)nullRequired—
purchase (variant 1).retryunionRequired—
purchase (variant 1).retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
purchase (variant 1).retry (variant 2)nullRequired—
purchase (variant 1).failure_codestring or nullRequired—
purchase (variant 1).created_atstringRequired—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_atunionRequired—
purchase (variant 1).paid_at (variant 1)stringRequired—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)nullRequired—
purchase (variant 2)nullRequired—
checkout_urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/pack-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
item_idanyRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/subscription-exists"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
subscription_statusstringRequired—The live subscription's status.
tier_idstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional20minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
dataarrayRequired—Newest first (created_at, then id), at most limit (default 20, at most 100).
data[]objectRequired—additionalProperties: false
data[].idstringRequired—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[].objectstringRequired—Constant: "purchase"
data[].statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
data[].livemodebooleanRequired—
data[].actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
data[].api_key_idunionRequired—
data[].api_key_id (variant 1)stringRequired—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)nullRequired—
data[].api_key_namestring or nullRequired—
data[].replayedbooleanRequired—
data[].channelstringRequired—Allowed: ["checkout","off_session"]
data[].itemobjectRequired—additionalProperties: false
data[].item.idstringRequired—
data[].item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].item.namestringRequired—
data[].amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].currencystringRequired—Constant: "usd"
data[].creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
data[].amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].next_actionunionRequired—
data[].next_action (variant 1)objectRequired—additionalProperties: false
data[].next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
data[].next_action (variant 1).urlstringRequired—
data[].next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
data[].next_action (variant 1).instructionstringRequired—
data[].next_action (variant 2)nullRequired—
data[].retryunionRequired—
data[].retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
data[].retry (variant 2)nullRequired—
data[].failure_codestring or nullRequired—
data[].created_atstringRequired—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_atunionRequired—
data[].paid_at (variant 1)stringRequired—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)nullRequired—
next_cursorstring or nullRequired—
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
idstringRequired—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)$"
objectstringRequired—Constant: "purchase"
statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
livemodebooleanRequired—
actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
api_key_idunionRequired—
api_key_id (variant 1)stringRequired—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)nullRequired—
api_key_namestring or nullRequired—
replayedbooleanRequired—
channelstringRequired—Allowed: ["checkout","off_session"]
itemobjectRequired—additionalProperties: false
item.idstringRequired—
item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
item.namestringRequired—
amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
currencystringRequired—Constant: "usd"
creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
next_actionunionRequired—
next_action (variant 1)objectRequired—additionalProperties: false
next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
next_action (variant 1).urlstringRequired—
next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
next_action (variant 1).instructionstringRequired—
next_action (variant 2)nullRequired—
retryunionRequired—
retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
retry (variant 2)nullRequired—
failure_codestring or nullRequired—
created_atstringRequired—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_atunionRequired—
paid_at (variant 1)stringRequired—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)nullRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-found"
titlestringRequired—
statusnumberRequired—Constant: 404
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-not-cancelable"
titlestringRequired—
statusnumberRequired—Constant: 409
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
purchase_statusstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
limitintegerOptional20minimum: 1 maximum: 100
query parameter: cursor
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
dataarrayRequired—Newest first (at, then id), at most limit (default 20, at most 100).
data[]objectRequired—additionalProperties: false
data[].idstringRequired—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[].atstringRequired—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_codestringRequired—purchase_grant, refund_debit, refund_reversal, dispute_hold, dispute_release, unmatched_resolved, signup_bonus, an operation id, or a supervised charge.
data[].delta_creditsintegerRequired—The whole-credit column (truncated); delta_millicredits is exact. minimum: -9007199254740991 maximum: 9007199254740991
data[].delta_millicreditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].balance_after_millicreditsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].purchase_idunionRequired—
data[].purchase_id (variant 1)stringRequired—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)nullRequired—
data[].session_idstring or nullRequired—
next_cursorstring or nullRequired—
Response 400: application/json — RFC 7807 invalid-params (limit) or invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 400
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 1).errorsarrayRequired—
body (variant 1).errors[]objectRequired—additionalProperties: false
body (variant 1).errors[].fieldstringRequired—
body (variant 1).errors[].detailstringRequired—
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 400
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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)
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—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)objectRequired—additionalProperties: false
body (variant 1).tierobjectRequired—additionalProperties: false
body (variant 1).tier.idstringRequired—
body (variant 1).tier.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
body (variant 1).tier.namestringRequired—
body (variant 1).statusstringRequired—Allowed: ["incomplete","trialing","active","past_due","unpaid","paused"]
body (variant 1).current_period_endstringRequired—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_endbooleanRequired—
body (variant 1).supervised_millicredits_per_minuteintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
body (variant 2)nullRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—Where to sign in.
Response 403: application/json — RFC 7807 owner-origin-refused (mutations only)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
titlestringRequired—
statusnumberRequired—Constant: 403
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
cursorstringOptional—next_cursor from an earlier page; ordered by created_at descending, then id.
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
dataarrayRequired—Open rows, newest first, at most 50.
data[]objectRequired—additionalProperties: false
data[].idstringRequired—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[].statusstringRequired—Allowed: ["open","resolved","refunded"]
data[].reasonstringRequired—Allowed: ["no_purchase_reference","unknown_purchase","purchase_terminal","amount_mismatch","email_ambiguous","unknown_subscription","duplicate_payment"]
data[].amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
data[].currencystringRequired—
data[].emailstring or nullRequired—As Stripe reported it.
data[].stripe_event_idstringRequired—
data[].stripe_checkout_session_idstring or nullRequired—
data[].stripe_payment_intent_idstring or nullRequired—
data[].stripe_customer_idstring or nullRequired—
data[].created_atstringRequired—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_cursorstring or nullRequired—
Response 400: application/json — RFC 7807 invalid-cursor
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-cursor"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/operator-required"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 403
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 403
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
idstringRequired—format: "uuid"
Request: application/json (required body)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
customer_idstringRequired—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_idstringRequired—A catalogue pack id, current or legacy. minLength: 1 maxLength: 64
Response 200: application/json — Successful response (Cache-Control: no-store)
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
unmatchedobjectRequired—additionalProperties: false
unmatched.idstringRequired—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.statusstringRequired—Allowed: ["open","resolved","refunded"]
unmatched.reasonstringRequired—Allowed: ["no_purchase_reference","unknown_purchase","purchase_terminal","amount_mismatch","email_ambiguous","unknown_subscription","duplicate_payment"]
unmatched.amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
unmatched.currencystringRequired—
unmatched.emailstring or nullRequired—As Stripe reported it.
unmatched.stripe_event_idstringRequired—
unmatched.stripe_checkout_session_idstring or nullRequired—
unmatched.stripe_payment_intent_idstring or nullRequired—
unmatched.stripe_customer_idstring or nullRequired—
unmatched.created_atstringRequired—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))$"
purchaseobjectRequired—additionalProperties: false
purchase.idstringRequired—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.objectstringRequired—Constant: "purchase"
purchase.statusstringRequired—Allowed: ["created","open","requires_action","processing","paid","refunded","disputed","reversed","expired","canceled","failed"]
purchase.livemodebooleanRequired—
purchase.actorstringRequired—Allowed: ["owner_web","api_key","auto_topup","legacy_link"]
purchase.api_key_idunionRequired—
purchase.api_key_id (variant 1)stringRequired—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)nullRequired—
purchase.api_key_namestring or nullRequired—
purchase.replayedbooleanRequired—
purchase.channelstringRequired—Allowed: ["checkout","off_session"]
purchase.itemobjectRequired—additionalProperties: false
purchase.item.idstringRequired—
purchase.item.versionintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase.item.namestringRequired—
purchase.amount_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase.currencystringRequired—Constant: "usd"
purchase.creditsintegerRequired—Whole credits the pack grants. minimum: -9007199254740991 maximum: 9007199254740991
purchase.amount_refunded_centsintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase.millicredits_reversedintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase.millicredits_heldintegerRequired—minimum: -9007199254740991 maximum: 9007199254740991
purchase.next_actionunionRequired—
purchase.next_action (variant 1)objectRequired—additionalProperties: false
purchase.next_action (variant 1).typestringRequired—Constant: "open_checkout_url"
purchase.next_action (variant 1).urlstringRequired—
purchase.next_action (variant 1).expires_atstringRequired—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).reasonstringRequired—Allowed: ["checkout_requested","no_saved_method","off_session_not_allowed","authentication_required","card_declined"]
purchase.next_action (variant 1).instructionstringRequired—
purchase.next_action (variant 2)nullRequired—
purchase.retryunionRequired—
purchase.retry (variant 1)stringRequired—Allowed: ["same_key","new_key"]
purchase.retry (variant 2)nullRequired—
purchase.failure_codestring or nullRequired—
purchase.created_atstringRequired—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_atunionRequired—
purchase.paid_at (variant 1)stringRequired—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)nullRequired—
Response 400: application/json — RFC 7807 invalid-params
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/invalid-params"
titlestringRequired—
statusnumberRequired—Constant: 400
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
errorsarrayRequired—
errors[]objectRequired—additionalProperties: false
errors[].fieldstringRequired—
errors[].detailstringRequired—
Response 401: application/json — RFC 7807 owner-session-required: sign in at owner_action_url
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/owner-session-required"
titlestringRequired—
statusnumberRequired—Constant: 401
detailstringRequired—
instancestringRequired—
retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
owner_action_urlstringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/operator-required"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 403
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/owner-origin-refused"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 403
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/unmatched-not-found"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 404
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/pack-not-found"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 404
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2).item_idanyRequired—The item id that was asked for.
Response 409: application/json — RFC 7807 unmatched-already-resolved or unmatched-refunded
FieldTypeRequirednessDefaultDescription and constraints
bodyunionRequired—
body (variant 1)objectRequired—additionalProperties: false
body (variant 1).typestringRequired—Constant: "https://api.roveapi.com/errors/unmatched-already-resolved"
body (variant 1).titlestringRequired—
body (variant 1).statusnumberRequired—Constant: 409
body (variant 1).detailstringRequired—
body (variant 1).instancestringRequired—
body (variant 1).retrystringRequired—same_key: repeat the same request; none: change something first. Allowed: ["same_key","new_key","none"]
body (variant 2)objectRequired—additionalProperties: false
body (variant 2).typestringRequired—Constant: "https://api.roveapi.com/errors/unmatched-refunded"
body (variant 2).titlestringRequired—
body (variant 2).statusnumberRequired—Constant: 409
body (variant 2).detailstringRequired—
body (variant 2).instancestringRequired—
body (variant 2).retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/purchase-rate-limited"
titlestringRequired—
statusnumberRequired—Constant: 429
detailstringRequired—
instancestringRequired—
retrystringRequired—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
FieldTypeRequirednessDefaultDescription and constraints
bodyobjectRequired—additionalProperties: false
typestringRequired—Constant: "https://api.roveapi.com/errors/billing-unavailable"
titlestringRequired—
statusnumberRequired—Constant: 503
detailstringRequired—
instancestringRequired—
retrystringRequired—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

Help improve this page: Report a correction.

Blocked on a task? Contact support. Include the error type and session ID; omit keys and viewer credentials.

Rove — the supervised browser for agents