API

ProductMapState

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}/verification/projects/{project_id}/product_map/states list Bounded evidence-backed product map retrieval
GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/states/{state_id} load Bounded evidence-backed product map retrieval

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:

product_map_states, err := client.ProductMapState(nil).List(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(product_map_states)
product_map_state, err := client.ProductMapState(nil).Load(map[string]any{"id": "example_id", "organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(product_map_state)

Lua

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

local product_map_states, err = client:ProductMapState():list({ organization_id = "example", project_id = "example" })
local product_map_state, err = client:ProductMapState():load({ id = "example_id", organization_id = "example", project_id = "example" })

PHP

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

$product_map_states = $client->ProductMapState()->list(["organization_id" => "example", "project_id" => "example"]);
$product_map_state = $client->ProductMapState()->load(["id" => "example_id", "organization_id" => "example", "project_id" => "example"]);

Python

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

product_map_states = client.ProductMapState().list({"organization_id": "example", "project_id": "example"})
product_map_state = client.ProductMapState().load({"id": "example_id", "organization_id": "example", "project_id": "example"})

Ruby

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

product_map_states = client.ProductMapState.list({ "organization_id" => "example", "project_id" => "example" })
product_map_state = client.ProductMapState.load({ "id" => "example_id", "organization_id" => "example", "project_id" => "example" })

TypeScript

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

const product_map_states = await client.ProductMapState().list({ organization_id: "example", project_id: "example" })
const product_map_state = await client.ProductMapState().load({ id: "example_id", organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
account_id one,string,null Yes Account Id
attempts array Yes Attempts
captured_at string Yes Captured At
id string Yes Id
incoming array Yes Incoming
labels object Yes Labels
layout object Yes Layout
observation_id string Yes Observation Id
omitted_controls integer Yes Omitted Controls
outgoing array Yes Outgoing
revision_id string Yes Revision Id
scope object Yes Scope
screenshot_url one,string,null Yes Screenshot Url
state object Yes State
truncated boolean Yes Truncated
url string Yes Url

list

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/states

Operation ID: api_v1_verification_project_product_map_states.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
revision_id query string No
persona_id query string No
account_id query string No
query query string No
area query string No
since query string No
before query string No
after query string No

Responses

200: Bounded evidence-backed product map retrieval

application/json

Property Type Required Description
next_cursor string,null Yes
scope object Yes
scope.account_id string Yes
scope.area string Yes
scope.before string,null Yes
scope.persona_id string No
scope.query string Yes
scope.revision_id string,null Yes
scope.since string,null Yes
states array of object Yes
states[].account_id string,null Yes
states[].captured_at string Yes
states[].id string Yes
states[].labels object Yes
states[].labels.area string Yes
states[].labels.purpose string Yes
states[].labels.screen_key string Yes
states[].labels.state string Yes
states[].labels.state_key string Yes
states[].labels.title string Yes
states[].observation_id string Yes
states[].omitted_controls integer Yes
states[].revision_id string Yes
states[].screenshot_url string,null Yes
states[].url string Yes
truncated boolean Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

load

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/states/{state_id}

Operation ID: api_v1_verification_project_product_map_state.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
state_id path string Yes
observation_id query string No Select an exact retained capture within the requested state and authorized scope.
include_connections query boolean No
revision_id query string No
persona_id query string No
account_id query string No
query query string No
area query string No
since query string No
before query string No

Responses

200: Bounded evidence-backed product map retrieval

application/json

Property Type Required Description
attempts array of object Yes
attempts[].account_id string,null Yes
attempts[].account_name string No Project-scoped display name, present in page and state-detail projections.
attempts[].action string Yes
attempts[].destination_observation_id string Yes
attempts[].id string Yes
attempts[].kind string Yes
attempts[].observed_at string Yes
attempts[].outcome enum: observed, same_state, unchanged, failed, automatic, unresolved Yes
attempts[].revision_id string Yes
attempts[].revision_name string No Project-scoped environment and revision display name, present in page and state-detail projections.
attempts[].run_id string Yes
attempts[].source string Yes
attempts[].source_control object,null Yes
attempts[].source_control.label string Yes
attempts[].source_control.role string Yes
attempts[].source_observation_id string Yes
attempts[].status enum: passed, failed, observed, unverified, conflicting Yes
attempts[].step_id string,null Yes
attempts[].target string Yes
incoming array of object Yes
incoming[].account_id string,null Yes
incoming[].account_name string No Project-scoped display name, present in page and state-detail projections.
incoming[].action string Yes
incoming[].destination_observation_id string Yes
incoming[].id string Yes
incoming[].kind string Yes
incoming[].observed_at string Yes
incoming[].outcome enum: observed, same_state, unchanged, failed, automatic, unresolved Yes
incoming[].revision_id string Yes
incoming[].revision_name string No Project-scoped environment and revision display name, present in page and state-detail projections.
incoming[].run_id string Yes
incoming[].source string Yes
incoming[].source_control object,null Yes
incoming[].source_control.label string Yes
incoming[].source_control.role string Yes
incoming[].source_observation_id string Yes
incoming[].status enum: passed, failed, observed, unverified, conflicting Yes
incoming[].step_id string,null Yes
incoming[].target string Yes
layout object Yes
layout.controls array of object Yes
layout.controls[].disabled boolean Yes
layout.controls[].id string Yes
layout.controls[].label string Yes
layout.controls[].operations array of string Yes
layout.controls[].rect object,null Yes
layout.controls[].rect.h number Yes
layout.controls[].rect.w number Yes
layout.controls[].rect.x number Yes
layout.controls[].rect.y number Yes
layout.controls[].role string Yes
layout.controls[].selected boolean Yes
layout.coordinate_space string Yes
layout.document object,null Yes
layout.document.content_height number Yes
layout.document.content_width number Yes
layout.document.height number Yes
layout.document.sticky_regions array of object Yes
layout.document.sticky_regions[].position enum: fixed, sticky Yes
layout.document.sticky_regions[].rect object Yes
layout.document.sticky_regions[].rect.h number Yes
layout.document.sticky_regions[].rect.w number Yes
layout.document.sticky_regions[].rect.x number Yes
layout.document.sticky_regions[].rect.y number Yes
layout.document.sticky_regions[].role string Yes
layout.document.width number Yes
layout.document.x number Yes
layout.document.y number Yes
layout.full_page_screenshot_url string,null Yes
layout.full_page_status string Yes
layout.viewport object Yes
layout.viewport.height number Yes
layout.viewport.width number Yes
outgoing array of object Yes
outgoing[].account_id string,null Yes
outgoing[].account_name string No Project-scoped display name, present in page and state-detail projections.
outgoing[].action string Yes
outgoing[].destination_observation_id string Yes
outgoing[].id string Yes
outgoing[].kind string Yes
outgoing[].observed_at string Yes
outgoing[].outcome enum: observed, same_state, unchanged, failed, automatic, unresolved Yes
outgoing[].revision_id string Yes
outgoing[].revision_name string No Project-scoped environment and revision display name, present in page and state-detail projections.
outgoing[].run_id string Yes
outgoing[].source string Yes
outgoing[].source_control object,null Yes
outgoing[].source_control.label string Yes
outgoing[].source_control.role string Yes
outgoing[].source_observation_id string Yes
outgoing[].status enum: passed, failed, observed, unverified, conflicting Yes
outgoing[].step_id string,null Yes
outgoing[].target string Yes
scope object Yes
scope.account_id string Yes
scope.area string Yes
scope.before string,null Yes
scope.persona_id string No
scope.query string Yes
scope.revision_id string,null Yes
scope.since string,null Yes
state object Yes
state.account_id string,null Yes
state.actions array of object Yes
state.actions[].account_id string,null Yes
state.actions[].account_name string No Project-scoped display name, present in page and state-detail projections.
state.actions[].action string Yes
state.actions[].destination_observation_id string Yes
state.actions[].id string Yes
state.actions[].kind string Yes
state.actions[].observed_at string Yes
state.actions[].outcome enum: observed, same_state, unchanged, failed, automatic, unresolved Yes
state.actions[].revision_id string Yes
state.actions[].revision_name string No Project-scoped environment and revision display name, present in page and state-detail projections.
state.actions[].run_id string Yes
state.actions[].source string Yes
state.actions[].source_control object,null Yes
state.actions[].source_control.label string Yes
state.actions[].source_control.role string Yes
state.actions[].source_observation_id string Yes
state.actions[].status enum: passed, failed, observed, unverified, conflicting Yes
state.actions[].step_id string,null Yes
state.actions[].target string Yes
state.actor_key string Yes
state.captured_at string Yes
state.details_loaded boolean No
state.execution_scope object or object or null Yes
state.id string Yes
state.identity_review object Yes
state.identity_review.identity_decision_id string,null Yes
state.identity_review.interpretation_id string,null Yes
state.identity_review.observation_id string Yes
state.identity_review.state_id string Yes
state.identity_uncertain boolean Yes
state.interpretation object or null Yes
state.label_status enum: pending, labeling, labeled, failed Yes
state.labels object Yes
state.labels.area string Yes
state.labels.controls array of object Yes
state.labels.controls[].control_id string No
state.labels.controls[].label string Yes
state.labels.controls[].purpose string Yes
state.labels.controls[].region string Yes
state.labels.controls[].role string Yes
state.labels.purpose string Yes
state.labels.regions array of object Yes
state.labels.regions[].kind enum: navigation, header, content, form, list, tabs, ... Yes
state.labels.regions[].name string Yes
state.labels.screen_key string Yes
state.labels.state string Yes
state.labels.state_key string Yes
state.labels.title string Yes
state.observation_id string Yes
state.omitted_controls integer Yes
state.revision_id string Yes
state.screenshot_url string,null Yes
state.url string Yes
truncated boolean Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway