API

EnvironmentFirstRun

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/verify/environments/{verify_environment_id}/first_run/start create The included discovery to open
POST /api/v1/organizations/{organization_id}/verify/environments/{verify_environment_id}/first_run/test_user create The app page with the saved choice, waiting for the sign-up check

Fields

Field Type Required Description

create

POST /api/v1/organizations/{organization_id}/verify/environments/{verify_environment_id}/first_run/start

Operation ID: api_v1_verify_environment_first_run_start.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
verify_environment_id path string Yes

Request body

application/json

The request body is object.

Responses

200: The included discovery to open

application/json

Property Type Required Description
discovery_id string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: The free scan did not start; the app stays saved and the rest of setup can continue

application/json

Property Type Required Description
code enum: payment_required, included_discovery_unavailable, included_discovery_used, website_required, test_account_required, runner_unavailable, ... Yes
error string Yes The refusal, written for the person
502: Bad gateway

POST /api/v1/organizations/{organization_id}/verify/environments/{verify_environment_id}/first_run/test_user

Operation ID: api_v1_verify_environment_first_run_test_user.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
verify_environment_id path string Yes

Request body

application/json

The request body is object.

Responses

200: The app page with the saved choice, waiting for the sign-up check

application/json

Property Type Required Description
agent_sign_up_available boolean Yes Whether the signed-in admin can have Verify's agent create a test user for the included Deep Scan (POST .../first_run/test_user). False once the agent stopped on something only the person can resolve.
billing object Yes
billing.can_manage boolean Yes
billing.cardless boolean Yes
billing.checkout_available boolean Yes
billing.checkout_blocker string Yes
billing.checkout_required boolean Yes
billing.confirmed boolean Yes
billing.coupon_entry_available boolean No Enter a legacy package coupon before opening Stripe. Prepaid packages accept promotion codes in Stripe instead.
billing.custom_pricing_available boolean No Whether the plan picker includes a Custom contact option.
billing.organization_id string Yes
billing.package object Yes
billing.package_options array of object No Ready offers for initial enrollment. Omitted by API versions predating plan selection during a rolling release.
billing.package_options[].addons array of object Yes
billing.package_options[].addons[].addon_key string Yes
billing.package_options[].addons[].max_quantity integer,null No
billing.package_options[].addons[].monthly_price_cents integer Yes
billing.package_options[].addons[].name string Yes
billing.package_options[].addons[].purchasable boolean No Whether new purchases are available. Older API releases omit this field; absence preserves purchase availability.
billing.package_options[].addons[].raises_meter_key string,null Yes
billing.package_options[].addons[].raises_quantity number Yes
billing.package_options[].addons[].raises_roder_concurrency integer Yes
billing.package_options[].base_price_cents integer Yes
billing.package_options[].billing_interval enum: month, year Yes
billing.package_options[].billing_policy enum: metered, prepaid_browser Yes
billing.package_options[].ci_included_spend_cents integer No Monthly USD credit in cents shared by all CI charges, including runners, cache, storage and add-ons; replaces CI unit allowances when positive. Omitted by older API releases.
billing.package_options[].currency string Yes
billing.package_options[].key string Yes
billing.package_options[].max_seats integer,null No
billing.package_options[].name string Yes
billing.package_options[].pay_as_you_go_enabled boolean Yes
billing.package_options[].rates array of object Yes
billing.package_options[].rates[].dimension_value string,null No
billing.package_options[].rates[].hard_cap number,null No
billing.package_options[].rates[].included_per_organization number Yes
billing.package_options[].rates[].included_per_seat number Yes
billing.package_options[].rates[].meter_key string Yes
billing.package_options[].rates[].unit string Yes
billing.package_options[].rates[].unit_price_dollars string Yes Decimal string
billing.package_options[].rates[].unit_price_nanodollars integer Yes
billing.package_options[].revision integer Yes
billing.package_options[].roder_daily_run_limit integer No
billing.package_options[].roder_run_concurrency_limit integer No
billing.package_options[].seat_price_cents integer Yes
billing.package_options[].trial_days integer Yes
billing.package_options[].visibility enum: public, custom Yes
billing.package_selection_customized boolean No
billing.plan_selection_available boolean No Whether to show the plan picker instead of continuing with an accepted package.
billing.prepaid object or null Yes
billing.prepaid_cents_per_minute integer,null Yes
billing.recurring_price_cents integer Yes
billing.seat_total_cents integer Yes
billing.seats integer Yes
billing.state enum: none, trialing, active, past_due, suspended, exempt Yes
billing.subscription object Yes
billing.trial_credit_cents integer Yes
cleanup array of object Yes
cleanup[].attempts integer Yes
cleanup[].manual_action_reason string Yes
cleanup[].next_retry_at string (date-time) Yes
cleanup[].resource_kind string Yes
cleanup[].resource_reference string Yes
cleanup[].revision_id string No
cleanup[].state string Yes
discovery_defaults object Yes
discovery_defaults.concurrency integer Yes
discovery_defaults.max_seconds integer Yes Default discovery duration in seconds.
discovery_defaults.max_seconds_limit integer No Maximum explicitly requested discovery duration in seconds.
discovery_defaults.max_testers integer Yes
environment object Yes
environment.active_revision_id string Yes
environment.allowed_actions enum: read_only, writes Yes
environment.connection enum: managed, external Yes
environment.created_at string (date-time) Yes
environment.default_policy_json object Yes
environment.hosted_app_id string Yes
environment.id string Yes
environment.imessage_number string Yes International destination number; blank or null clears it on an added environment.
environment.lock_version integer Yes
environment.name string Yes
environment.organization_id string Yes
environment.project_id string Yes Owning project. Null only for unassigned legacy environments.
environment.repository_id string Yes
environment.slug string Yes
environment.status string Yes
environment.target_kind string Yes
environment.target_url string (uri) Yes
environment.updated_at string (date-time) Yes
environment.verify_network_connection_id string Yes
exploration_accounts array of object No
exploration_accounts[].id string Yes
exploration_accounts[].login_method string Yes
exploration_accounts[].managed boolean Yes
exploration_accounts[].name string Yes
exploration_accounts[].selectable boolean Yes Whether setup offers it among the saved accounts to pick. Not for a managed Google account, which setup offers on its own, or for a test user Verify's agent made that has not signed up to the app yet. One whose latest sign-up ended without signing up is left out of the list.
exploration_accounts[].sign_in_check object Yes The account's most recent sign-in check today, if any.
exploration_accounts[].sign_in_check.id string Yes
exploration_accounts[].sign_in_check.outcome enum: running, waiting, verified, settings_changed, blocked, firewall_blocked, ... Yes What a sign-in check established. waiting: the agent asked the person something and waits in its browser. verified: the agent signed in with the account as saved now. settings_changed: it signed in, but the account changed afterwards. blocked: it could not sign in. firewall_blocked: a firewall or bot challenge kept its browser from the app. browser_failed: its browser never ran. stopped: the person stopped it.
exploration_accounts[].sign_in_check.reason string Yes Why a waiting, blocked or stopped check needs the person, in the agent's words: its question or first blocker. Null otherwise.
exploration_accounts[].sign_in_verified boolean Yes A sign-in check confirmed this account signs in with its current settings.
explorations array of object No
explorations[].created_at string Yes
explorations[].goal string Yes
explorations[].id string Yes
explorations[].status string Yes
first_run object No
included_deep_scan boolean Yes Whether this app still gets the signed-in user's included Deep Scan (verify_onboarding_deep_scan) once it has a test account or is marked as having no sign-in, so setup asks for one before anything else.
managed_google_available boolean Yes Whether the managed Google account can be offered for this app.
managed_google_email string Yes
network_connections array of object Yes
network_connections[].created_at string (date-time) Yes
network_connections[].device_tag string Yes
network_connections[].id string Yes
network_connections[].name string Yes
network_connections[].oauth_client_id string Yes
network_connections[].provider enum: tailscale, aws_client_vpn Yes
network_connections[].status enum: active, disabled Yes
network_connections[].updated_at string (date-time) Yes
onboarding_discovery object No
pending_accounts array of object No Credentials on a Composal address still waiting for the password the customer chose at signup.
pending_accounts[].browser_authentication object No
pending_accounts[].browser_authentication.auth_url string No
pending_accounts[].browser_authentication.client_id string No
pending_accounts[].browser_authentication.expires_at string (date-time) No
pending_accounts[].browser_authentication.issuer_origin string No Server-assigned OIDC origin, retained when the credential is edited. Older credentials omit it and retain the legacy issuer.
pending_accounts[].browser_authentication.kind enum: webauthn, browser_session, oidc_identity No
pending_accounts[].browser_authentication.origin string No
pending_accounts[].browser_authentication.provider_id string No
pending_accounts[].browser_authentication.rp_id string No
pending_accounts[].composal_address string,null Yes The Composal address provisioned for this account, kept while it signs in with another username so turning the address back on reuses it. Null until one is provisioned.
pending_accounts[].configured boolean Yes
pending_accounts[].credential_keys object Yes
pending_accounts[].credential_keys.browser string No
pending_accounts[].credential_keys.password string No
pending_accounts[].credential_keys.totp string No
pending_accounts[].credential_keys.username string Yes
pending_accounts[].description string Yes
pending_accounts[].email_link_auth_origins array of string (uri) Yes
pending_accounts[].has_inbox boolean Yes Whether Composal provisioned this address and can show the mail it receives
pending_accounts[].id string Yes
pending_accounts[].identity_provider object Yes For oidc_identity accounts, the Composal issuer the app trusts and the persona settings it must match
pending_accounts[].identity_provider.client_id string Yes
pending_accounts[].identity_provider.discovery_url string Yes
pending_accounts[].identity_provider.email_suffix string Yes Every persona signs in as <user> followed by this suffix, for example .acme@cred.composal.ai
pending_accounts[].identity_provider.issuer string Yes
pending_accounts[].identity_provider.persona_user string Yes The user part of this persona's address
pending_accounts[].identity_provider.provider_id string Yes
pending_accounts[].instructions string Yes
pending_accounts[].login_method enum: email_password, email_link, google, github, custom, passkey, ... Yes
pending_accounts[].login_url string Yes
pending_accounts[].managed boolean Yes
pending_accounts[].mfa_enabled boolean Yes
pending_accounts[].name string Yes
pending_accounts[].provider_guidance string Yes
pending_accounts[].sign_in_verified boolean Yes A sign-in check confirmed this account signs in with its current settings
pending_accounts[].sign_in_verified_at string (date-time) Yes
pending_accounts[].status string Yes
pending_accounts[].updated_at string (date-time) Yes
pending_accounts[].username string Yes
permissions object Yes
permissions.knowledge_connections boolean No
permissions.manage boolean Yes
revisions array of object Yes
revisions[].allowed_origins array of string Yes Origins browser testers may visit, subdomains included. Links elsewhere are blocked.
revisions[].app_environment_id string Yes
revisions[].app_release_id string Yes
revisions[].blueprint_json object Yes
revisions[].cleanup_state string Yes
revisions[].created_at string (date-time) Yes
revisions[].digest string Yes
revisions[].expires_at string (date-time) Yes
revisions[].id string Yes
revisions[].organization_id string Yes
revisions[].ready_at string (date-time) Yes
revisions[].resolved_manifest_json object Yes
revisions[].retention_policy_json object Yes
revisions[].revision integer Yes
revisions[].revoked_at string (date-time) Yes
revisions[].runner_environment_revision_id string Yes
revisions[].safety_policy_json object Yes
revisions[].schema_version integer Yes
revisions[].source_metadata_json object Yes
revisions[].status string Yes
revisions[].updated_at string (date-time) Yes
revisions[].validation_json object Yes
revisions[].verify_environment_id string Yes
setup_discovery_id string No Existing discovery to resume after setup or Checkout, selected within this environment.
sign_in_check_available boolean Yes Whether a test account's live sign-in check can run on this app.
test_accounts object Yes
test_accounts.accounts array of object Yes
test_accounts.accounts[].configured boolean Yes
test_accounts.accounts[].credentials array of object Yes
test_accounts.accounts[].credentials[].configured boolean Yes
test_accounts.accounts[].credentials[].key string Yes
test_accounts.accounts[].credentials[].kind enum: literal, totp_seed Yes
test_accounts.accounts[].credentials[].pinned boolean Yes
test_accounts.accounts[].credentials[].secret_id string Yes
test_accounts.accounts[].credentials[].source string Yes
test_accounts.accounts[].persona string Yes
test_accounts.accounts[].role string Yes
test_accounts.accounts[].tenant string Yes
test_accounts.revision_id string Yes
test_accounts.target_available boolean Yes
test_accounts.unavailable_reason string No
401: Unauthorized
403: Forbidden
404: Not found
422: No test user can be created for this app now

application/json

Property Type Required Description
code string Yes
error string Yes The refusal, written for the person
502: Bad gateway