API

PageProjectRun

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}/runs/{id}/page load Run browser page

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:

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

Lua

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

local page_project_run, err = client:PageProjectRun():load({ id = "example_id", organization_id = "example", project_id = "example" })

PHP

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

$page_project_run = $client->PageProjectRun()->load(["id" => "example_id", "organization_id" => "example", "project_id" => "example"]);

Python

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

page_project_run = client.PageProjectRun().load({"id": "example_id", "organization_id": "example", "project_id": "example"})

Ruby

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

page_project_run = client.PageProjectRun.load({ "id" => "example_id", "organization_id" => "example", "project_id" => "example" })

TypeScript

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

const page_project_run = await client.PageProjectRun().load({ id: "example_id", organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
available_tests array Yes Available Tests
fix_scenario_count integer Yes How many scenarios the agent handoff covers, including those on other pages.
fix_scenarios array Yes The fixable scenarios an agent handoff covers.
fixable_count integer Yes Fixable Count
id string No Id
pagination object Yes Pagination
permissions object Yes Permissions
preparation_reason one,string,null Yes Preparation Reason
project object Yes Project
run object Yes Run
scenario_runs array Yes Scenario Runs
selected_scenario_run any Yes Selected Scenario Run
web_path string Yes Web Path

load

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/page

Operation ID: page_api_v1_verification_project_run.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
id path string Yes
page query integer No
browser query string No ScenarioRun public ID to open, scoped to this run.
details query boolean No false returns only summaries for the agent handoff page.

Responses

200: Run browser page

application/json

Property Type Required Description
available_tests array of object Yes
available_tests[].id string Yes
available_tests[].name string Yes
fix_scenario_count integer Yes How many scenarios the agent handoff covers, including those on other pages.
fix_scenarios array of object Yes The fixable scenarios an agent handoff covers. With an open browser, only that scenario; otherwise the fixable scenarios on this page.
fix_scenarios[].activity string Yes What a running scenario is doing now, the same line as its ScenarioRun activity; null unless running.
fix_scenarios[].failure_code string Yes
fix_scenarios[].fixable boolean Yes
fix_scenarios[].id string Yes
fix_scenarios[].scenario_name string Yes
fix_scenarios[].state enum: pending, planning, prepared, queued, running, passed, ... Yes
fix_scenarios[].summary string Yes
fixable_count integer Yes
pagination object Yes
pagination.count integer Yes
pagination.last integer Yes
pagination.limit integer Yes
pagination.next integer Yes
pagination.page integer Yes
pagination.previous integer Yes
pagination.series array of integer or string Yes
permissions object Yes
permissions.manage boolean Yes
preparation_reason string Yes
project object Yes
project.archived_at string,null Yes
project.demo boolean Yes A signup's demo project, copied from the Acme Notes template. Archiving removes it.
project.execution_mode enum: website, computer_use Yes
project.icon_url string,null Yes
project.id string Yes
project.lock_version integer Yes
project.name string Yes
project.slug string Yes
run object Yes
run.approved_at string,null (date-time) Yes
run.approved_digest string,null Yes
run.archived_at string (date-time) Yes
run.can_archive boolean Yes
run.can_restore boolean Yes
run.can_start_another_run boolean Yes
run.cleanup_state enum: not_started, pending, complete, blocked Yes
run.concurrency integer Yes
run.created_at string (date-time) Yes
run.creator_name string,null Yes
run.definition_mode enum: saved, latest Yes
run.environment_id string,null Yes
run.id string Yes
run.lock_version integer Yes
run.max_seconds integer Yes
run.outcome enum: skipped, passed, failed, blocked, cancelled, timed_out, ... Yes
run.plan_digest string,null Yes
run.preparation_error_code string,null Yes
run.progress object Yes
run.progress.finished integer Yes
run.progress.planned integer Yes Scenarios ready to run or past that point.
run.progress.planning integer Yes
run.progress.running integer Yes
run.progress.total integer Yes
run.project_id string Yes
run.pull_request object or null Yes
run.queued_at string,null (date-time) Yes
run.run_plan_id string No
run.source_run_id string,null Yes
run.source_versions array,null Yes
run.start_when_prepared boolean Yes The run starts as soon as its browser plans are ready, without a review step.
run.state enum: waiting_for_target, preparing, prepared, queued, running, cancelling, ... Yes
run.target_snapshot object Yes
run.title string Yes
run.updated_at string (date-time) Yes
run.verifier_preferences_snapshot object Yes Project guidance for human-readable verifier reports; core execution and evidence rules take precedence.
run.verifier_preferences_snapshot.behavior_guidance string No
run.verifier_preferences_snapshot.prioritization string No
run.verifier_preferences_snapshot.report_style string No
run.verifier_preferences_snapshot.reporting_focus string No
run.verifier_preferences_snapshot.terminology string No
scenario_runs array of object Yes
scenario_runs[].activity string Yes What a running scenario is doing now, the same line as its ScenarioRun activity; null unless running.
scenario_runs[].failure_code string Yes
scenario_runs[].fixable boolean Yes
scenario_runs[].id string Yes
scenario_runs[].scenario_name string Yes
scenario_runs[].state enum: pending, planning, prepared, queued, running, passed, ... Yes
scenario_runs[].summary string Yes
selected_scenario_run object Yes
web_path string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway