ProjectRunPlan
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}/verification/projects/{project_id}/run_plans/{id}/archive |
create |
Archived Run Plan |
POST |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans |
create |
Saved Run Plan |
GET |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans |
list |
Run Plan authoring page |
GET |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id} |
load |
Run Plan |
PATCH |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id} |
patch |
Updated Run Plan |
PUT |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id} |
update |
Updated Run Plan |
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:
project_run_plans, err := client.ProjectRunPlan(nil).List(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(project_run_plans)
project_run_plan, err := client.ProjectRunPlan(nil).Load(map[string]any{"id": "example_id", "organization_id": "example", "project_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(project_run_plan)
created, err := client.ProjectRunPlan(nil).Create(map[string]any{"organization_id": "example", "project_id": "example", "dependencies": []any{}, "name": "example", "nodes": []any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
updated, err := client.ProjectRunPlan(nil).Update(map[string]any{"id": "example_id", "organization_id": "example", "project_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
patched, err := client.ProjectRunPlan(nil).Patch(map[string]any{"id": "example_id", "organization_id": "example", "project_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(patched)
Lua
Construct client as shown in the Lua setup, then call the operations:
local project_run_plans, err = client:ProjectRunPlan():list({ organization_id = "example", project_id = "example" })
local project_run_plan, err = client:ProjectRunPlan():load({ id = "example_id", organization_id = "example", project_id = "example" })
local created, err = client:ProjectRunPlan():create({ organization_id = "example", project_id = "example", dependencies = {}, name = "example", nodes = {} })
local updated, err = client:ProjectRunPlan():update({ id = "example_id", organization_id = "example", project_id = "example" })
local patched, err = client:ProjectRunPlan():patch({ id = "example_id", organization_id = "example", project_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$project_run_plans = $client->ProjectRunPlan()->list(["organization_id" => "example", "project_id" => "example"]);
$project_run_plan = $client->ProjectRunPlan()->load(["id" => "example_id", "organization_id" => "example", "project_id" => "example"]);
$created = $client->ProjectRunPlan()->create(["organization_id" => "example", "project_id" => "example", "dependencies" => [], "name" => "example", "nodes" => []]);
$updated = $client->ProjectRunPlan()->update(["id" => "example_id", "organization_id" => "example", "project_id" => "example"]);
$patched = $client->ProjectRunPlan()->patch(["id" => "example_id", "organization_id" => "example", "project_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
project_run_plans = client.ProjectRunPlan().list({"organization_id": "example", "project_id": "example"})
project_run_plan = client.ProjectRunPlan().load({"id": "example_id", "organization_id": "example", "project_id": "example"})
created = client.ProjectRunPlan().create({ "organization_id": "example", "project_id": "example", "dependencies": [], "name": "example", "nodes": [] })
updated = client.ProjectRunPlan().update({"id": "example_id", "organization_id": "example", "project_id": "example"})
patched = client.ProjectRunPlan().patch({"id": "example_id", "organization_id": "example", "project_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
project_run_plans = client.ProjectRunPlan.list({ "organization_id" => "example", "project_id" => "example" })
project_run_plan = client.ProjectRunPlan.load({ "id" => "example_id", "organization_id" => "example", "project_id" => "example" })
created = client.ProjectRunPlan.create({ "organization_id" => "example", "project_id" => "example", "dependencies" => [], "name" => "example", "nodes" => [] })
updated = client.ProjectRunPlan.update({ "id" => "example_id", "organization_id" => "example", "project_id" => "example" })
patched = client.ProjectRunPlan.patch({ "id" => "example_id", "organization_id" => "example", "project_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const project_run_plans = await client.ProjectRunPlan().list({ organization_id: "example", project_id: "example" })
const project_run_plan = await client.ProjectRunPlan().load({ id: "example_id", organization_id: "example", project_id: "example" })
const created = await client.ProjectRunPlan().create({ organization_id: "example", project_id: "example", dependencies: [], name: "example", nodes: [] })
const updated = await client.ProjectRunPlan().update({ id: "example_id", organization_id: "example", project_id: "example" })
const patched = await client.ProjectRunPlan().patch({ id: "example_id", organization_id: "example", project_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
archived_at |
one,string,null |
Yes | Archived At |
base_url |
one,string,null |
Yes | Base Url |
created_at |
string |
Yes | Created At |
dependencies |
array |
Yes | Dependencies |
id |
string |
Yes | Id |
identity_probe |
one,object,null |
Yes | Identity Probe |
kind |
one,string,null |
Yes | Kind |
lock_version |
integer |
Yes | Lock Version |
name |
string |
Yes | Name |
nodes |
array |
Yes | Nodes |
preview |
any |
Yes | Preview |
project_id |
string |
Yes | Project Id |
updated_at |
string |
Yes | Updated At |
version |
integer |
Yes | Version |
create
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id}/archive
Operation ID: archive_api_v1_verification_project_run_plan.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
version |
integer |
Yes |
Responses
200: Archived Run Plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
archived_at |
string |
Yes | |
created_at |
string |
Yes | |
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
id |
string |
Yes | |
identity_probe |
object |
Yes | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
lock_version |
integer |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes | |
preview |
object |
Yes | |
project_id |
string |
Yes | |
updated_at |
string |
Yes |
400: Missing parameter
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
404: Not found
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
409: Source or version changed
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
422: Invalid plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
502: Bad gateway
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans
Operation ID: post_api_v1_organizations_organization_id_verification_projects_project_id_run_plans.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
identity_probe |
object |
No | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes |
Responses
201: Saved Run Plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
archived_at |
string |
Yes | |
created_at |
string |
Yes | |
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
id |
string |
Yes | |
identity_probe |
object |
Yes | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
lock_version |
integer |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes | |
preview |
object |
Yes | |
project_id |
string |
Yes | |
updated_at |
string |
Yes |
400: Missing parameter
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
404: Not found
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
409: Source or version changed
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
422: Invalid plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
list
GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans
Operation ID: api_v1_verification_project_run_plans.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
page |
query |
integer |
No |
Responses
200: Run Plan authoring page
application/json
| Property | Type | Required | Description |
|---|---|---|---|
environments |
array of object |
Yes | |
environments[].base_url |
string |
Yes | |
environments[].id |
string |
Yes | |
environments[].kind |
string |
Yes | |
environments[].name |
string |
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 | |
plans |
array of object |
Yes | |
plans[].archived_at |
string |
Yes | |
plans[].created_at |
string |
Yes | |
plans[].dependencies |
array of object |
Yes | |
plans[].dependencies[].after_step |
integer |
Yes | |
plans[].dependencies[].before_step |
integer |
Yes | |
plans[].dependencies[].from |
string |
Yes | |
plans[].dependencies[].name |
string |
No | |
plans[].dependencies[].to |
string |
Yes | |
plans[].id |
string |
Yes | |
plans[].identity_probe |
object |
Yes | |
plans[].identity_probe.email_pointer |
string |
Yes | |
plans[].identity_probe.path |
string |
Yes | |
plans[].identity_probe.subject_pointer |
string |
Yes | |
plans[].lock_version |
integer |
Yes | |
plans[].name |
string |
Yes | |
plans[].nodes |
array of object |
Yes | |
plans[].nodes[].key |
string |
Yes | |
plans[].nodes[].scenario_id |
string |
Yes | |
plans[].preview |
object |
Yes | |
plans[].project_id |
string |
Yes | |
plans[].updated_at |
string |
Yes | |
scenarios |
array of object |
Yes | |
scenarios[].available |
boolean |
Yes | |
scenarios[].id |
string |
Yes | |
scenarios[].name |
string |
Yes | |
scenarios[].persona_name |
string |
Yes | |
scenarios[].step_count |
integer |
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}/run_plans/{id}
Operation ID: api_v1_verification_project_run_plan.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Responses
200: Run Plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
archived_at |
string |
Yes | |
created_at |
string |
Yes | |
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
id |
string |
Yes | |
identity_probe |
object |
Yes | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
lock_version |
integer |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes | |
preview |
object |
Yes | |
project_id |
string |
Yes | |
updated_at |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
patch
PATCH /api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id}
Operation ID: patch_api_v1_organizations_organization_id_verification_projects_project_id_run_plans_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
The request body is object and object.
Responses
200: Updated Run Plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
archived_at |
string |
Yes | |
created_at |
string |
Yes | |
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
id |
string |
Yes | |
identity_probe |
object |
Yes | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
lock_version |
integer |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes | |
preview |
object |
Yes | |
project_id |
string |
Yes | |
updated_at |
string |
Yes |
400: Missing parameter
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
404: Not found
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
409: Source or version changed
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
422: Invalid plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
update
PUT /api/v1/organizations/{organization_id}/verification/projects/{project_id}/run_plans/{id}
Operation ID: put_api_v1_organizations_organization_id_verification_projects_project_id_run_plans_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
The request body is object and object.
Responses
200: Updated Run Plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
archived_at |
string |
Yes | |
created_at |
string |
Yes | |
dependencies |
array of object |
Yes | |
dependencies[].after_step |
integer |
Yes | |
dependencies[].before_step |
integer |
Yes | |
dependencies[].from |
string |
Yes | |
dependencies[].name |
string |
No | |
dependencies[].to |
string |
Yes | |
id |
string |
Yes | |
identity_probe |
object |
Yes | |
identity_probe.email_pointer |
string |
Yes | |
identity_probe.path |
string |
Yes | |
identity_probe.subject_pointer |
string |
Yes | |
lock_version |
integer |
Yes | |
name |
string |
Yes | |
nodes |
array of object |
Yes | |
nodes[].key |
string |
Yes | |
nodes[].scenario_id |
string |
Yes | |
preview |
object |
Yes | |
project_id |
string |
Yes | |
updated_at |
string |
Yes |
400: Missing parameter
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
404: Not found
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
409: Source or version changed
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |
422: Invalid plan
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
No | |
field_errors |
object |
No |