How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mabl Plan Run API

The PlanRun API from Mabl — 18 operation(s) for planrun.

Mabl Plan Run API is one of 113 APIs that Mabl publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include PlanRun. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 21 operations across 18 paths, and defines 86 schemas. It is described by OpenAPI 3.2.0, at version 0.599.3.1792436330.

Requests are made against a single base URL, /.

21 operations 18 paths 86 schemas 1 DELETE8 GET2 PATCH7 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.599.3.1792436330
Server
/
Authentication
HTTP Basic, API Key
Resource Areas
1

Authentication & Security 2

Mabl Plan Run API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). An API key is passed in the header as Authorization (bearerAuth). By default, every request must be authenticated.

Paths & Operations 21

Across 18 paths, the API surfaces 21 operations — 1 DELETE, 8 GET, 2 PATCH, 7 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

PlanRun 21
POST
/planRuns
Create a plan run
createPlanRun body → 201401403404default
POST
/planRuns/duplicate
Duplicate a plan run
duplicatePlanRun body → 201401403404default
POST
/planRuns/external
Record an external plan run. This endpoint will not cause tests to be executed
recordPlanRun body → 201401402403default
PATCH
/planRuns/external/{id}
Update an external plan run
updateExternalPlanRun 2 params body → 200400401402403404default
GET
/planRuns/workspace/{workspace_id}
Queries plan runs
queryPlanRuns 10 params → 200401403default
POST
/planRuns/workspace/{workspace_id}/querySummaries
Retrieve plan run summaries for a workspace
queryPlanRunSummaries 3 params body → 200401403default
GET
/planRuns/workspace/{workspace_id}/summaries
Retrieve plan run summaries by plan ID (narrow agent path)
queryPlanRunSummariesForAgent 9 params → 200401403default
GET
/planRuns/workspace/{workspace_id}/aggregate
Aggregate plan run counts for a workspace (fast Datastore counts)
aggregateWorkspacePlanRuns 6 params → 200401403400default
GET
/planRuns/workspace/{workspace_id}/aggregate/daily
Exact per-day plan run counts for a workspace (fast Spanner aggregation)
aggregateWorkspacePlanRunsByDay 6 params → 200401403400default
GET
/planRuns/workspace/{workspace_id}/latestByEnvironment
Latest terminal plan run per plan/environment pair for a workspace window
getWorkspaceLatestPlanRunsByEnvironment 5 params → 200401403400default
GET
/planRuns/deployment/{deployment_id}
Queries plan runs by deployment event
queryPlanRunsByEventId 3 params → 200401403default
GET
/planRuns/{plan_run_id}/browserState
Get signed URLs for the browser state a plan run's tests share
getPlanRunBrowserStateUrls 3 params → 200400401403404default
GET
/planRuns/{id}
Retrieve a plan run
getPlanRun 1 param → 200401403404default
DELETE
/planRuns/{id}
Delete plan run
removePlanRun 1 param → 200401403404default
PATCH
/planRuns/{id}
Update plan run
updatePlanRun 2 params body → 200401403404default
POST
/planRun/{id}/terminate
Terminate plan run
terminatePlanRun 1 param → 200204401403404409default
PUT
/planRun/{plan_run_id}/webhooks
Called when a webhook completes to idempotently update the plan run status…
attemptWebhookExecutionComplete 1 param body → 204400401403404409default
POST
/planRun/{plan_run_id}/webhooks
Called when a webhook completes to update the plan run status accordingly
webhookExecutionComplete 1 param body → 204400401403404409default
POST
/planRun/{plan_run_id}/rerun
Called to kick off a new plan run that is identical to a previously executed run
rerunPlanRun 3 params body → 201400401403404default
PUT
/planRun/{plan_run_id}/failureCategorization
Categorize all failed journey runs within a plan run
categorizeAllFailures 2 params body → 204400401403404default
PUT
/planRun/deployment/{deployment_event_id}/failureCategorization
Update all associated journey runs' failure categorizations in a deployment…
categorizeFailuresForDeploymentEvent 2 params body → 204401403default

Schemas 86

The contract defines 86 schemas that model the data the API accepts and returns. The most detailed are Plan (68 properties), PlanRun (54 properties), PlanRunSummary (26 properties), Deployment (20 properties). Each schema is shown below with its type and property counts.

TestSelection
object
An explicit set of tests to run for a deployment, in place of matching stored plans by label. mabl runs them as one synthesized plan whose identity is scoped t…
8 properties 2 required
RetryTestRunParameters
object
For a failed or skipped journey run in a plan run, this describes the location of the journey to be retried within the plan, and the TestParameters for that ru…
4 properties
PlanRunDuplicationRequest
object
Configuration for duplicating a plan run
8 properties 2 required
PlanRunWebhookCompletionEvent
object
Event indicating that all webhooks associated with a plan run's current lifecycle status have completed
2 properties
SourceControlPullRequest
object
the pull request associated with this object
4 properties
PlanRunSummaryQueryOptions
object
2 properties
PlanRunExecutionStage
object
A single execution stage of a plan run
6 properties
SourceControl
object
11 properties
TcmSyncSkippedCase
object
A case link that produced no result on the external platform.
5 properties 2 required
SourceControlBranch
object
the SCM branch associated with this object
2 properties 2 required
PlanRunQueryResult
object
result envelope for plan run query results
2 properties
WorkspaceLatestPlanRunsByEnvironment
object
Latest terminal plan run per (plan, environment) pair for a workspace window, plus a window-scoped run/failure tally for each pair.
2 properties 2 required
TestRecoveryAgentModeEnum
string
Test Recovery Agent mode. Use inherit (plan-level only) to defer to the workspace-level default.
PlanRunScripts
object
18 properties
TraceFidelityEnum
string
How much Chrome trace data to capture. full records the complete category set, and is what the "Download step trace" artifact contains. metrics records only th…
TestConfiguration
object
Specifies a Test that should be executed as part of a Plan
2 properties 1 required
AsynchronousJobAssociatedEntity
object
Represent an entity that is associated with an AsynchronousJob
2 properties
SkippedTest
object
A test that a selection named but that mabl did not run
2 properties 2 required
Label
object
2 properties 1 required
DeviceEmulationConfiguration
object
Emulation configuration
6 properties 1 required
VariableRow
object
9 properties
Deployment
object
20 properties
DeviceScreenDimensions
object
2 properties 2 required
GuardrailRefusal
object
The guardrail policy that refused an agent request.
6 properties
GuardrailApprovalState
string
Where a guardrail approval stands. PENDING awaits a decision and expires undecided after 24 hours; APPROVED lets the agent repeat the request, as often as it d…
ArtifactUrls
object
Signed artifact urls for uploading and downloading
2 properties
Plan
object
68 properties
FailureCategorization
object
Information describing the cause of a test run failure
11 properties
NotifyOnComplete
object
Arms a trigger in the same call that starts the work, so the session is woken when the work completes and no completion can land before the trigger exists.
2 properties 1 required
TcmSyncTargetRun
object
An external run holding results from this plan run.
6 properties 1 required
ResolvedTest
object
The version a selected test resolved to when mabl accepted the event
3 properties 3 required
ComparatorEnum
string
Comparator operators used in filtering conditions
Trigger
object
The various triggers that should kick off an execution of a run policy or report
2 properties
AdHocRunInfo
object
Metadata about the run if it is an ad hoc run
2 properties
ExecutionRunnerSizeEnum
string
available runner sizes
StaticScenarioSelection
object
Static scenario selection parameter argument
3 properties 2 required
ExecutionStage
object
Describes a stage of plan execution
11 properties
SourceControlRepositoryOwner
object
the SCM repository associated with this object
5 properties 4 required
PlanRun
object
A single run of a plan
54 properties
PlanRunSummarySortColumn
object
2 properties 2 required
PlanRunWebhookStatus
object
Status update associated with a webhook execution
3 properties 2 required
ExternalPlanRunReference
object
PlanRun reference details to record an external plan run
7 properties 1 required
DeviceEmulation
object
Emulation configuration
2 properties 2 required
WorkspaceLatestPlanRunByEnvironmentRow
object
The latest terminal run of one plan in one environment within the window, plus that pair's run/failure counts over the window.
11 properties 9 required
TcmSyncCompletionDetails
object
What a test case management sync did, so the UI can report it without parsing text. Counts are always the full totals; the lists are capped and may be shorter…
6 properties 3 required
TestParameters
object
The parameters that differentiate this test run from another run of the same test within the same plan
13 properties
WebEmulationConfiguration
object
Mobile web device emulation configuration
2 properties 2 required
WorkspaceDailyRunCountEntry
object
Exact passed/failed/total run counts for one calendar day of a workspace window.
4 properties 4 required
PlanRunSummaryQueryResult
object
Result envelope for plan run summary query results
2 properties
ExternalTcmBinding
object
Represents an association between an entity in an external test-case management solution, and a mabl entity
10 properties
RefreshAndRetryFailedStepModeEnum
string
How a plan uses Runtime Recovery Refresh, which reloads the page and re-runs a failed browser step once. pass lets the test pass when the re-run passes. failat…
PlanRunWorkspaceAggregateResult
object
Fast aggregate over plan runs for a workspace and optional filters
8 properties 8 required
MobileDeviceConfiguration
object
Represents a mobile device configuration (model, OS version) for executing mobile tests
16 properties 5 required
GuardrailApprovalKind
string
Who decides a guardrail approval. SELF is decided by the person the agent acts for; WORKSPACE, for an agent acting for an API key, by a workspace owner or edit…
LocalizationOptions
object
Localization-related settings to apply on the browser in browser tests, e.g. timezone, locale. When not specified, cloud tests run with UTC timezone and defaul…
2 properties
DynamicScenarioSelection
object
Dynamic scenario selection parameter argument
3 properties 2 required
PlanRunSummaryFilterCondition
object
Filter options for querying plan run summaries
Variable
object
2 properties
SortDirectionEnum
string
Direction of sort when ordering query results
WorkspaceDailyRunCounts
object
Exact per-day run counts for a workspace window, ordered oldest first, only days with runs.
1 property 1 required
ErrorResponseGeneric
object
5 properties
MobilePlatformEnum
string
The mobile platform associated with this object
VariableSource
object
Metadata about the source of a variable value
6 properties
SourceControlAuthor
object
the SCM author associated with this object
7 properties 4 required
PlanRunSummary
object
Simplified summary of a plan run
26 properties
HttpHeader
object
An HTTP header
3 properties 1 required
TcmSyncSkipReasonEnum
string
Why a case link produced no result. notacaseid: blank, or not a case id shape for the platform. unknowncase: the platform reports no such case. unresolvablesui…
PlanRunRerunOptions
object
Narrows or redirects a rerun of a plan run
3 properties
XrayEntityBinding
object
TestSource
string
Where the test lives
PlanBrowserRunnerTypes
object
3 properties
ExternalTcmPlatformTypeEnum
string
Supported external test case management platforms
PlanRunWorkspaceTopFailingPlanEntry
object
Plan with many failing plan runs within the sampled failed runs
3 properties 2 required
ActionAttributeType
string
Action Attribute Types
SelectedTestCredentials
object
The login credentials one selected test runs with
2 properties 2 required
TraceRetentionEnum
string
Whether the Chrome trace file is kept after a run. keep makes it available as the Download step trace artifact. discard publishes the same performance measures…
MablEntityTypeEnum
string
Types of mabl entities that can be bound to external TCM.
BaseFilterCondition
object
4 properties 1 required
SourceControlRepository
object
the SCM repository associated with this object
8 properties 4 required
AndroidDeviceConfiguration
object
Android specific options
2 properties
Tag
object
2 properties 1 required
ExecutionParameter
object
A parameter that is passed during execution of a Plan
5 properties 2 required
GuardrailApprovalRef
object
An approval a guardrail policy asks for. While it is PENDING, stop: give the person the url, tell them the request is waiting for approval, and do not repeat t…
5 properties
PlanRunOptions
object
Options that affect the way a Plan is executed
8 properties
PlanRunWorkspaceNormalizedStatusCounts
object
Plan run counts normalized for workspace analytics (aligned with agent-facing buckets)
6 properties 6 required
AsynchronousJob
object
An AsynchronousJob to track and provide insight into long-running background job
12 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mabl-planrun-api-openapi.yml Raw ↑

Other APIs Mabl publishes across the network.

Mabl API
Mabl Applications API
Mabl Credentials API
Mabl Database Connections API
Mabl Deployment Events API
Mabl Environments API
Mabl Flows API
Mabl Issues API
Mabl Test Runs API
Mabl Tests API
Mabl Users API
Mabl Ab Test Config API
Where this information came from

This is an independent, third-party profile of Mabl Plan Run API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.