DeepScanFlow
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/deep_scans/flows |
create |
Success |
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:
created, err := client.DeepScanFlow(nil).Create(map[string]any{"organization_id": "example", "flow_names": []any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
Lua
Construct client as shown in the Lua setup, then call the operations:
local created, err = client:DeepScanFlow():create({ organization_id = "example", flow_names = {} })
PHP
Construct client as shown in the PHP setup, then call the operations:
$created = $client->DeepScanFlow()->create(["organization_id" => "example", "flow_names" => []]);
Python
Construct client as shown in the Python setup, then call the operations:
created = client.DeepScanFlow().create({ "organization_id": "example", "flow_names": [] })
Ruby
Construct client as shown in the Ruby setup, then call the operations:
created = client.DeepScanFlow.create({ "organization_id" => "example", "flow_names" => [] })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const created = await client.DeepScanFlow().create({ organization_id: "example", flow_names: [] })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
account_id |
one,string,null |
No | Account Id |
concurrency |
integer |
No | Concurrency |
environment_id |
string |
No | Environment Id |
exploration_id |
string |
No | Exploration Id |
flow_names |
array |
Yes | Flow Names |
idempotency_key |
string |
No | Idempotency Key |
max_seconds |
integer |
No | Max Seconds |
max_testers |
integer |
No | Max Testers |
note |
one,string,null |
No | Note |
create
POST /api/v1/organizations/{organization_id}/verify/deep_scans/flows
Operation ID: flows_api_v1_deep_scans.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
query |
string |
No | |
Idempotency-Key |
header |
string |
No |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
account_id |
string |
No | |
concurrency |
integer |
No | |
environment_id |
string |
No | |
exploration_id |
string |
No | |
flow_names |
array of string |
Yes | |
idempotency_key |
string |
No | |
max_seconds |
integer |
No | |
max_testers |
integer |
No | |
note |
string |
No |
Responses
200: Success
application/json
The response is object.
202: The started scans
application/json
| Property | Type | Required | Description |
|---|---|---|---|
explorations |
array of object |
Yes | |
explorations[].check_count |
integer |
Yes | |
explorations[].credential_name |
string |
No | The credential the team signed in with, by its saved name if it was deleted; null for public access. Older API releases omit this additive field. |
explorations[].deadline_at |
string (date-time) |
No | When the team's time limit ends. Older API releases omit this additive field during independent web and API rollouts. |
explorations[].duration_ms |
integer |
Yes | |
explorations[].environment_name |
string |
Yes | |
explorations[].finding_count |
integer |
Yes | |
explorations[].finished_at |
string (date-time) |
Yes | |
explorations[].id |
string |
Yes | |
explorations[].scenario_count |
integer |
No | Scenarios saved from this discovery. Older API releases omit this additive field. |
explorations[].scenarios_pending |
boolean |
No | Scenarios are still being prepared, so scenario_count may still grow. Older API releases omit this additive field. |
explorations[].started_at |
string (date-time) |
Yes | |
explorations[].status |
enum: discovering, testing, completed, partial, canceled |
Yes | |
explorations[].title |
string |
Yes |
401: Unauthorized
402: The organization's billing limit refuses this usage; see error.upgrade_path
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
object |
Yes | |
error.code |
enum: billing_limit_exceeded |
Yes | |
error.dimension_value |
string,null |
Yes | |
error.limit |
number or string |
Yes | Decimal quantities are serialized as strings |
error.message |
string |
Yes | |
error.meter_key |
string |
Yes | A billing meter key |
error.reason |
enum: payment_required, hard_cap, allowance_exhausted, budget_exhausted, suspended, seat_limit |
Yes | |
error.requested |
number or string |
Yes | |
error.upgrade_path |
string |
Yes | Frontend path of the organization's billing page |