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 Guardrail API

The Guardrail API from Mabl — 6 operation(s) for guardrail.

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

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

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

Requests are made against a single base URL, /.

6 operations 6 paths 26 schemas 3 GET2 POST1 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 Guardrail 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 6

Across 6 paths, the API surfaces 6 operations — 3 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Guardrail 6
GET
/workspaces/{workspace_id}/guardrails
Get a workspace's agent guardrails
getWorkspaceGuardrails 1 param → 200401403default
PUT
/workspaces/{workspace_id}/guardrails/rules
Replace a workspace's guardrail rules
replaceWorkspaceGuardrailRules 2 params body → 200400401403412428default
GET
/workspaces/{workspace_id}/guardrails/approvals
List a workspace's guardrail approvals: the API-key approvals its approvers…
listWorkspaceGuardrailApprovals 4 params → 200401403default
GET
/workspaces/{workspace_id}/guardrails/approvals/{approval_id}
Get a guardrail approval
getGuardrailApproval 2 params → 200401403404default
POST
/workspaces/{workspace_id}/guardrails/approvals/{approval_id}/decision
Approve or deny a guardrail approval
decideGuardrailApproval 2 params body → 200401403404409default
POST
/workspaces/{workspace_id}/guardrails/approvals/{approval_id}/cancel
Cancel or revoke a guardrail approval
cancelGuardrailApproval 2 params → 200401403404409default

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are GuardrailApproval (30 properties), GuardrailRule (10 properties), GuardrailCatalogAction (8 properties), WorkspaceGuardrails (7 properties). Each schema is shown below with its type and property counts.

GuardrailApproval
object
A request an agent made that a guardrail policy asks a person to approve, bound to that agent and to the request's operation, action, path and query parameters…
30 properties 4 required
WorkspaceGuardrails
object
A workspace's guardrail rules with what is needed to render and edit them.
7 properties
GuardrailRuleTarget
object
The action, group of actions or scope a rule applies to.
2 properties 2 required
GuardrailRuleKind
string
How the rule is decided. RULE matches on the action and the request's attributes; it is the only kind a rule can have.
AgentTypeGuardrailCeiling
object
What mabl lets one agent type do, whatever the workspace's rules.
3 properties
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…
GuardrailApprovalDecision
string
APPROVE lets the agent repeat the request, as often as it does, for 20 minutes; DENY refuses the same request for 20 minutes.
GuardrailRule
object
A stored guardrail rule of a workspace.
10 properties 4 required
GuardrailRuleSetMode
string
Whether a rule set's effects reach agents. ENFORCE applies every rule in the set wherever the workspace enforces guardrails; PREVIEW evaluates and logs every r…
GuardrailCatalogAction
object
An action a rule can target.
8 properties
GuardrailRiskGroup
string
How much an action can change. READ only reads, CHANGE creates or edits, COSTLY runs work that consumes credits or capacity, DESTRUCTIVE deletes, merges or res…
GuardrailApprovalList
object
Guardrail approvals, newest first.
1 property
GuardrailRuleTargetType
string
The kind of thing a rule applies to. ACTION is one action such as Delete::Flow, GROUP a catalog group of actions such as destructive, SCOPE every action under…
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
ErrorResponseGeneric
object
5 properties
GuardrailCatalogGroup
object
A named group of actions a rule can target as one.
3 properties
GuardrailCondition
object
When a rule applies. Either a test, which sets attribute, op and values and nothing else, or a combination, which sets exactly one of all or any and nothing el…
5 properties
AgentType
string
GuardrailRuleInput
object
A guardrail rule as a workspace owner writes it.
5 properties 2 required
GuardrailApprovalDecisionInput
object
A person's decision on a pending approval.
2 properties 1 required
GuardrailCatalog
object
Everything a workspace rule can target.
2 properties
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…
GuardrailRulesUpdate
object
The complete list of rules a workspace's guardrails are replaced with, and optionally their mode.
2 properties 1 required
GuardrailConditionOp
string
How a condition tests its attribute against its values. eq and neq compare with the one value, in and notin with any of the values, prefix checks whether the a…
GuardrailRuleEffect
string
What happens when the rule matches: ALLOW lets the action run, ASK requires a person's approval, BLOCK refuses it with the rule's reason, or with a mabl-writte…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mabl-guardrail-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 Guardrail 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.