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 Test Run API

The Test Run API from Mabl — 37 operation(s) for test run.

Mabl Test 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 Test Run. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 41 operations across 37 paths, and defines 161 schemas. It is described by OpenAPI 3.2.0, at version 0.599.3.1792436330.

Requests are made against a single base URL, /.

41 operations 37 paths 161 schemas 3 DELETE23 GET4 PATCH9 POST2 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 Test 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 41

Across 37 paths, the API surfaces 41 operations — 3 DELETE, 23 GET, 4 PATCH, 9 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Test Run 41
GET
/journeyRuns/planRun/{plan_run_id}
Query test runs
queryTestRunsByPlanRun 5 params → 200401403default
PUT
/testRuns/{test_run_id}/liveTestOutput/grantAccess
Grant access to live test output, if user has relevant access
grantUserLiveTestOutputAccess 1 param → 204401403default
GET
/testRuns/{test_run_id}/artifactUrl
Get a signed URL for one of a test run's own artifacts
getTestRunArtifactUrl 2 params → 200400401403404default
DELETE
/testRuns/{test_run_id}/failureReason
Remove failure reason from a test run
removeTestRunFailureReason 2 params → 200401403404default
PATCH
/testRuns/{test_run_id}/failureReason
Update failure reason for a test run
updateTestRunFailureReason 2 params body → 200401403default
GET
/journeyRuns/workspace/{workspace_id}/aggregate
Aggregate test run counts for a workspace (fast Spanner aggregation)
aggregateWorkspaceTestRuns 6 params → 200401403400default
GET
/journeyRuns/workspace/{workspace_id}/aggregate/daily
Exact per-day test run counts for a workspace (fast Spanner aggregation)
aggregateWorkspaceTestRunsByDay 6 params → 200401403400default
GET
/journeyRuns/workspace/{workspace_id}
Retrieve test runs for a workspace
queryTestRunsByWorkspace 4 params → 200401403default
GET
/journeyRuns/virtualMachine/{virtual_machine_id}/{virtual_machine_name}
Fetch latest Test Run for given Virtual Machine
queryLatestTestRunByVmIdAndName 2 params → 200401403404default
POST
/journeyRuns/workspace/{workspace_id}/querySummarys
Retrieve test run summaries for a workspace
queryTestRunSummaryByWorkspace 1 param body → 200401403default
GET
/testRuns/workspace/{workspace_id}/byTest
Retrieve last 10 test runs for each test in a workspace
queryRecentTestRunsByTestAndWorkspace 4 params → 200401403default
POST
/testRuns/workspace/{workspace_id}/byTestIds
Retrieve last n test runs for each of the specified tests
queryRecentTestRunsByTestIds 1 param body → 200401403default
GET
/journeyRuns/journey/{journey_id}/byPlan
Retrieve last 10 test runs of a test for each plan the test is in
queryRecentTestRunsByTestAndPlan 2 params → 200401403default
POST
/journeyRuns/{id}/duplicate
Duplicate a test run
duplicateTestRun 1 param body → 201401403404default
POST
/journeyRuns/{id}/reschedule
Sends a message to stop the current execution of the test run and send another…
reschedule 1 param → 200201404default
GET
/journeyRuns/journey/{journey_id}
Retrieve last 50 test runs of a test
queryRecentTestRunsByTest 3 params → 200401403default
GET
/journeyRuns/plan/{plan_id}/journey/{journey_id}
Retrieve test runs by plan and test
queryTestRunsByPlanAndTest 5 params → 200401403default
POST
/journeyRuns
(Deprecated, needs to be replaced in tests) Creates a test run
createTestRunForInternalTesting body → 201400default
POST
/testRun/external
(Experimental labs feature, subject to change) Creates a test run for a test…
recordTestRun body → 201400401402403default
PATCH
/testRun/external/{id}
Update an external test run
updateExternalTestRun 2 params body → 200400401402403404default
POST
/testRun/local/usage
Report billable feature usage from local test runs
reportLocalTestRunUsage body → 204400401403404default
GET
/journeyRuns/{id}
Retrieve test run
getTestRun 1 param → 200401403404default
DELETE
/journeyRuns/{id}
Remove test run
removeTestRun 1 param → 204401403404default
PATCH
/journeyRuns/{id}
Update test run
updateTestRun 2 params body → 200401403404default
POST
/journeyRun/{id}/terminate
Terminate test run
terminateTestRun 3 params → 200204401403404default
GET
/journeyRun/{id}/insights
Find insights associated with a test run
queryTestRunInsights 4 params → 200400401403default
GET
/journeyRun/{id}/stateDetections
Query StateDetections
queryTestRunStateDetections 4 params → 200400401403default
DELETE
/journeyRun/{id}/failureCategorizationdeprecated
Remove failure categorization from a test run
deleteTestRunFailureCategorization 2 params → 200401403404default
PATCH
/journeyRun/{id}/failureCategorization/{failure_category_id}deprecated
Update failure categorization of a test run
updateTestRunFailureCategorization 3 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/summary
Get the summary of the performance test run
getPerformanceTestRunSummary 2 params → 200400401403404default
PUT
/performanceTestRun/{performance_test_run_id}/summary
Create a summary of the performance test run
createPerformanceTestRunSummary 5 params body → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/endpoints
Extracts the endpoints from the given performance run
getPerformanceRunEndpoints 1 param → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/metric/{metric_type}
Get a metric for the performance test run
queryPerformanceTestRunMetric 12 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/browserStepMetrics
Get all browser step metrics for all steps of the specified performance test run
queryPerformanceBrowserStepMetrics 10 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/metrics
Get all the specified metrics for the performance test run
queryPerformanceTestRunMetrics 12 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/endpoint/metrics
Get metrics for the performance test run and a specific endpoint
queryPerformanceTestRunEndpointMetrics 12 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/metric/{metric_type}/endpoint
Get a metric for the performance test run and a specific endpoint
queryPerformanceTestRunEndpointMetric 12 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/browser/{functional_test_id}/{step_id}/network
Get all the network calls for a step in a functional test
getPerformanceTestRunBrowserNetwork 5 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/browser/{functional_test_invariant_id}/{step_id}/network/metric/{metric_type}
Get a metric for the browser test run and a specific network entry
queryPerformanceTestRunBrowserNetworkMetric 14 params → 200401403404default
GET
/performanceTestRun/{performance_test_run_id}/browser/{functional_test_invariant_id}/{step_id}/network/metrics
Get all the metrics for the browser test run and a specific network entry
queryPerformanceTestRunBrowserNetworkMetrics 14 params → 200401403404default
POST
/performanceTestRun/{performance_test_run_id}/requestDetails
Retrieve details of all sampled requests for a given journey run ID
queryRequestDetails 4 params body → 200400401403default

Schemas 161

The contract defines 161 schemas that model the data the API accepts and returns. The most detailed are Plan (68 properties), StateDetection (63 properties), TestRunSummary (57 properties), PlanRun (54 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
TestRunSummary
object
simplified summary of a test run
57 properties
OAuth1Authentication
object
Configuration for OAuth 1.0 authentication
14 properties
PerformanceRunFailureCriteriaSummaryItem
object
Individual failure criteria result
3 properties
SourceControlPullRequest
object
the pull request associated with this object
4 properties
TestRunFailureSummary
object
Information useful for diagnosing test run failures
11 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
TestRunOutput
object
Contains exported items from the results of the test run
3 properties
RequestSortColumn
object
2 properties
TestRunWorkspaceTopFailingTestEntry
object
One row in the top failing tests list for a workspace test-run aggregate
3 properties 2 required
BearerAuthentication
object
Configuration for bearer authentication
1 property
PerformanceFailureCriteria
object
Definition of failure criteria per workload
4 properties
TestRecoveryAgentModeEnum
string
Test Recovery Agent mode. Use inherit (plan-level only) to defer to the workspace-level default.
TestRun
object
Single test run
AssertFailure
object
Details about assert failure
3 properties
PlanRunScripts
object
18 properties
TestTypeEnum
string
Type of test
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
TestRunRescheduleResponse
object
Response to reschedule requests, describes whether another scheduling message was sent and the number of remaining attempts allowed
2 properties 2 required
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
TimingSummary
object
Sumamry of various timing measures for this run
2 properties
VariableRow
object
9 properties
Deployment
object
20 properties
AgentType
string
RepairNotesSessionProperties
object
Additional properties specific to runtime repair notes agent sessions
TestObjectiveState
string
Whether the steps of this test version have been checked against the objective summary, and what the check found. unverified means the summary has not been che…
DeviceScreenDimensions
object
2 properties 2 required
TriggeringResourceTypeEnum
string
The kind of resource that triggered an execution. Mirrors com.mabl.model.ExecutionTriggeringResourceType.
FileDownloadReference
object
Run-scoped coordinates locating a file downloaded during a test run. The backend derives the workspace from testrunid and reconstructs the artifact location fr…
3 properties 2 required
GuardrailRefusal
object
The guardrail policy that refused an agent request.
6 properties
UserDefinedInputVariable
object
4 properties 1 required
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…
TestRunQueryResult
object
result envelope for test run query results
2 properties
ApiConfiguration
object
Configuration of the API test type.
3 properties
PerformanceRunFunctionalTestSummary
object
Summary of the metrics of a functional test
18 properties
PerformanceRunStepMetricResultListMap
object
A mapping of browser test step IDs to a list of performanceRunMetricResults
StepSessionProperties
object
The step an agent session acted on
3 properties
Plan
object
68 properties
FlowConfiguration
object
Configuration for a flow instance
3 properties
TestHistory
object
Contains map of test to most recent test run
2 properties
FailureCategorization
object
Information describing the cause of a test run failure
11 properties
TestRunDuplicationRequest
object
Configuration for duplicating a test run
13 properties
MetricSummary
object
Summary of the Core Web Vitals metrics
15 properties
TestObjective
object
What this test version is trying to accomplish, in natural language. Version-scoped, so each version records the objective it was authored against rather than…
4 properties
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
AdHocRunInfo
object
Metadata about the run if it is an ad hoc run
2 properties
Trigger
object
The various triggers that should kick off an execution of a run policy or report
2 properties
ExecutionRunnerSizeEnum
string
available runner sizes
WorkloadConfiguration
object
Definition of workload for a test
8 properties
StaticScenarioSelection
object
Static scenario selection parameter argument
3 properties 2 required
InsightQueryResult
object
2 properties
LocalTestRunUsage
object
Usage data from a local test run for billing purposes
4 properties 3 required
RecentTestRunsByTestIdsRequest
object
Request body for querying recent test runs for a set of tests
2 properties 2 required
FileValue
object
A typed file value for a file-typed variable, reconciling field-for-field with the runtime FileValue (mabl-cli mablscript-find). origin selects which reference…
7 properties 4 required
Test
object
Tests represent a single chunk of test logic.
SourceControlRepositoryOwner
object
the SCM repository associated with this object
5 properties 4 required
ExecutionStage
object
Describes a stage of plan execution
11 properties
PlanRun
object
A single run of a plan
54 properties
TestMetadata
object
SignedArtifactUrl
object
A short-lived signed URL granting read access to a single test run artifact
1 property 1 required
RecoverySessionProperties
object
Additional properties specific to test recovery agent sessions
1 property
ExternalTestRun
object
Single test run
PerformanceRunMetricResultList
object
All the metrics for a network entry
1 property
DeviceEmulation
object
Emulation configuration
2 properties 2 required
PerformanceRunBrowserNetworkItem
object
The network calls for a browser step
3 properties
TestRunWorkspaceNormalizedStatusCounts
object
Normalized status bucket counts for workspace test runs
5 properties
BaseTestRunResult
object
Results of a test run
20 properties
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
StateDetectionUserMetadata
object
1 property
RequestFilterOptions
object
3 properties
PerformanceRunMetricResult
object
The performance test metric
5 properties
LocalTestRunUsageType
string
Type of billable usage from a local test run
WorkspaceDailyRunCountEntry
object
Exact passed/failed/total run counts for one calendar day of a workspace window.
4 properties 4 required
ExternalTestCase
object
External test case
1 property
ExternalTcmBinding
object
Represents an association between an entity in an external test-case management solution, and a mabl entity
10 properties
ExternalTestRunUpdate
object
Updatable external test run attributes
1 property
PerformanceRunSummary
object
The summary of a performance test run
24 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…
FlowRole
string
The role this flow plays in the test. A teardown flow always runs at the end of the test, even if an earlier flow failed. Teardown flows must form a contiguous…
MobileDeviceConfiguration
object
Represents a mobile device configuration (model, OS version) for executing mobile tests
16 properties 5 required
StateDetectionQueryResult
object
2 properties
PerformanceConfiguration
object
Configuration of the performance test type.
2 properties
PerformanceFailureCriteriaCWVMeasurement
object
Individual CWV measurement failure criteria configuration
2 properties
CreatePerformanceRunSummaryArguments
object
Extra information for creating a performance run summary
1 property
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
LiveVideoOutput
object
Information about live test run output
3 properties 3 required
ApiAuthentication
object
Configuration for API authentication
6 properties 1 required
DynamicScenarioSelection
object
Dynamic scenario selection parameter argument
3 properties 2 required
RelatedAgentSession
object
A reference linking an entity to a related agent session
4 properties 2 required
RequestDetails
object
20 properties
TestRunSummaryQueryResult
object
result envelope for test run status query results
2 properties
PerformanceFailureCriteriaOptionalParameters
object
Optional parameters related to specific failure criteria
5 properties
Variable
object
2 properties
SortDirectionEnum
string
Direction of sort when ordering query results
UserDefinedOutputVariable
object
1 property 1 required
WorkspaceDailyRunCounts
object
Exact per-day run counts for a workspace window, ordered oldest first, only days with runs.
1 property 1 required
PerformanceRunMetricValue
object
Individual metric value from performance run for a given time interval
4 properties
IterationConfiguration
object
Configuration for iterations on a flow
6 properties
TestRunStatusSummary
object
A subset of information from a TestRun that describes its status
4 properties
ErrorResponseGeneric
object
5 properties
MobilePlatformEnum
string
The mobile platform associated with this object
TestVersion
object
A single test version
VariableSource
object
Metadata about the source of a variable value
6 properties
ApiKeyAuthentication
object
Configuration for API key authentication
3 properties
TestPlanHistory
object
Contains map of plan ids to most recent test runs within that plan
2 properties
TestRunWorkspaceAggregateResult
object
Fast aggregate over test runs for a workspace and optional filters
7 properties 5 required
SourceControlAuthor
object
the SCM author associated with this object
7 properties 4 required
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…
StateDetection
object
63 properties
XrayEntityBinding
object
TestSource
string
Where the test lives
RequestDetailsQueryResult
object
2 properties
Variant
object
10 properties
Invariant
object
10 properties
TestRunSummaryFilterOptions
object
Filter options for querying testRunSummarys
20 properties
SnippetTypeEnum
string
TestRunResultOutcomeEnum
string
ExecutableSnippet
object
Fields necessary to execute a snippet in a test or flow
7 properties
PlanBrowserRunnerTypes
object
3 properties
MobileTrainingInfo
object
8 properties
BasicAuthentication
object
Configuration for basic authentication
2 properties
PerformanceRunFailureCriteriaSummary
object
Summary of the failure criteria for one workload
3 properties
ExternalTcmPlatformTypeEnum
string
Supported external test case management platforms
ActionAttributeType
string
Action Attribute Types
OAuth2Authentication
object
Configuration for OAuth 2.0 authentication
7 properties 6 required
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…
PageRefreshRetryOutcomeEnum
string
What happened when Runtime Recovery Refresh reloaded the page and re-ran a failed step. recovered means the re-run passed and the step passed with it. recovere…
MablEntityTypeEnum
string
Types of mabl entities that can be bound to external TCM.
PerformanceRunEndpoints
object
Container object for endpoints
1 property
SourceControlRepository
object
the SCM repository associated with this object
8 properties 4 required
PageRefreshRetryStep
object
One step that Runtime Recovery Refresh reloaded the page for during a test run.
4 properties
AndroidDeviceConfiguration
object
Android specific options
2 properties
PerformanceRunEndpoint
object
Represents an API endpoint used for reporting performance run metrics
2 properties 2 required
Tag
object
2 properties 1 required
ExecutionParameter
object
A parameter that is passed during execution of a Plan
5 properties 2 required
RequestQueryOptions
object
2 properties
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
TestHistoryQueryResult
object
Contains map of test to most recent test run
2 properties
PageRefreshRetrySummary
object
Runtime Recovery Refresh outcomes for a test run, written by the execution engine when the run completes. Absent when no step was reloaded.
2 properties
TestObjectiveSource
string
Who authored the objective summary.
PerformanceRunBrowserNetworkResult
object
Container object for network calls
1 property
ExecutionCreditWeights
object
A mapping used to translate test executions into the equivalent execution credit usage
7 properties
MergedVariant
object
4 properties
UserDefinedVariables
object
2 properties
AsynchronousJob
object
An AsynchronousJob to track and provide insight into long-running background job
12 properties
TestRunBillingSummary
object
Summary of usage associated with this run for billing purposes
6 properties
Insight
object
47 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mabl-test-run-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 Test 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.