API

VerifyEvidence

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/evidence/{id} load Success
GET /api/v1/organizations/{organization_id}/verify/evidence/archive load A zip of the scenario run's evidence in capture order
GET /api/v1/organizations/{organization_id}/verify/evidence/{id}/download load Evidence bytes with the recorded content type
GET /api/v1/organizations/{organization_id}/verify/evidence load 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:

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

Lua

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

local verify_evidence, err = client:VerifyEvidence():load({ organization_id = "example" })

PHP

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

$verify_evidence = $client->VerifyEvidence()->load(["organization_id" => "example"]);

Python

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

verify_evidence = client.VerifyEvidence().load({"organization_id": "example"})

Ruby

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

verify_evidence = client.VerifyEvidence.load({ "organization_id" => "example" })

TypeScript

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

const verify_evidence = await client.VerifyEvidence().load({ organization_id: "example" })

Fields

Field Type Required Description
id string No Id

load

GET /api/v1/organizations/{organization_id}/verify/evidence/{id}

Operation ID: api_v1_evidence.

Authentication: bearer token (bearerAuth).

Parameters

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

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

GET /api/v1/organizations/{organization_id}/verify/evidence/archive

Operation ID: archive_api_v1_evidence_index.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
scenario_run_id query string Yes

Responses

200: A zip of the scenario run's evidence in capture order

application/json

The response is object.

application/zip

The response is string (binary).

401: Unauthorized
403: Forbidden
404: The scenario run is not visible, or has no readable evidence
422: Unprocessable entity
502: Bad gateway

GET /api/v1/organizations/{organization_id}/verify/evidence/{id}/download

Operation ID: download_api_v1_evidence.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes
inline query boolean No
Range header string No

Responses

200: Evidence bytes with the recorded content type

*/*

The response is string (binary).

206: Requested byte range

*/*

The response is string (binary).

302: Authorized inline recording at an exact object version; the signed URL expires within five minutes and never outlives retention
401: Authentication required
403: Organization access denied
404: Evidence is not visible to this organization
416: Unsatisfiable byte range
422: Evidence is expired or unavailable

GET /api/v1/organizations/{organization_id}/verify/evidence

Operation ID: api_v1_evidence_index.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
scenario_run_id query string No Only evidence from this scenario run
repository_id query string No Only evidence from scenario runs of projects linked to this repository
exploration_id query string No Only evidence captured by agents of this exploration
agent_id query string No Only evidence captured by this exploration agent
kind query enum: screenshot, video_segment, dom_snapshot, accessibility_snapshot, console_log, network_summary, ... No Only evidence of this kind
cursor query string No next_cursor from the previous page
limit query integer No Items per page, 1 to 100 (default 50)

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway