API

DeepScanOption

Operations

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

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/verify/deep_scans/options list Launch form choices and permissions

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

deep_scan_options, err := client.DeepScanOption(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(deep_scan_options)

Lua

Construct client as shown in the Lua setup, then call the operations:

local deep_scan_options, err = client:DeepScanOption():list({ organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$deep_scan_options = $client->DeepScanOption()->list(["organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

deep_scan_options = client.DeepScanOption().list({"organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

deep_scan_options = client.DeepScanOption.list({ "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const deep_scan_options = await client.DeepScanOption().list({ organization_id: "example" })

Fields

Field Type Required Description
accounts array Yes Accounts
deep_scan_defaults any No The team a signed-out Deep Scan of this environment gets without budgets.
flow_map one,object,null Yes Flows from the newest discovery; null until discovery has recorded some.
id string Yes Id
name string Yes Name
personas array No Personas
preview boolean No A short-lived pull request or branch deployment, listed after configured environments.
target_url one,string,null Yes Target Url

list

GET /api/v1/organizations/{organization_id}/verify/deep_scans/options

Operation ID: options_api_v1_deep_scans.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id query string No
environment_query query string No Matches environment names, addresses, types, branches and pull request numbers, and limits the list to 25 configured environments and 25 previews; send it empty for the first page. Omit it to list every ready environment.

Responses

200: Launch form choices and permissions

application/json

Property Type Required Description
capacity object No Shared capacity when supplied by the API release. Older API releases omit this additive field during independent web and API rollouts.
capacity.active_runs integer Yes
capacity.available_slots integer,null Yes Available operator-limited slots; null means no organization concurrency cap.
capacity.concurrency_limit integer,null Yes Operator browser limit; null means no organization concurrency cap.
capacity.daily_run_limit integer Yes
capacity.daily_runs_remaining integer Yes
capacity.daily_runs_used integer Yes
capacity.observed_at string (date-time) Yes
deep_scan_defaults object No A signed-out browser Deep Scan's team when launched without budgets, before an environment is chosen. Older API releases omit this additive field.
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_query string No The search the environments match. Older API releases omit this additive field.
environments array of object Yes
environments[].accounts array of object Yes
environments[].accounts[].deep_scan_defaults object No The team a Deep Scan of this environment with this login gets without budgets. Older API releases omit this additive field.
environments[].accounts[].id string Yes
environments[].accounts[].name string Yes
environments[].deep_scan_defaults object No The team a signed-out Deep Scan of this environment gets without budgets. Older API releases omit this additive field.
environments[].flow_map object Yes Flows from the newest discovery; null until discovery has recorded some.
environments[].flow_map.flows array of object Yes
environments[].flow_map.flows[].name string Yes
environments[].flow_map.flows[].purpose string Yes
environments[].flow_map.observed_at string Yes
environments[].id string Yes
environments[].name string Yes
environments[].personas array of object No
environments[].personas[].account_id string,null Yes
environments[].personas[].id string Yes
environments[].personas[].name string Yes
environments[].personas[].role string Yes
environments[].preview boolean No A short-lived pull request or branch deployment, listed after configured environments. Older API releases omit this additive field during independent web and API rollouts.
environments[].target_url string Yes
environments_has_more boolean No More environments match than the 25 configured environments and 25 previews returned; false when environment_query was omitted. Older API releases omit this additive field.
permissions object Yes
permissions.manage boolean Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway