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

The Snippet API from Mabl — 9 operation(s) for snippet.

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

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

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

Requests are made against a single base URL, /.

12 operations 9 paths 32 schemas 1 DELETE4 GET1 PATCH6 POST

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 Snippet 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 12

Across 9 paths, the API surfaces 12 operations — 1 DELETE, 4 GET, 1 PATCH, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Snippet 12
GET
/snippets/{id}/version
Retrieve snippet versions
listVersions 1 param → 200404default
GET
/snippets
Retrieve a set of Snippets by query
querySnippets 5 params → 200400401403default
POST
/snippets
Create a Snippet
createSnippet body → 201400401403default
GET
/snippets/{id}
Retrieve Snippet
getSnippet 2 params → 200400401403404default
DELETE
/snippets/{id}
Remove Snippet
removeSnippet 1 param → 204400401403default
PATCH
/snippets/{id}
Update Snippet
updateSnippet 3 params body → 200400401403404default
GET
/snippets/{id}/usedBy
Retrieve tests and flows that use this snippet
getSnippetUsedBy 3 params → 200404default
POST
/snippets/usedBy/batch
Retrieve tests and flows that use any of the provided snippets
getSnippetUsedByBatch 2 params body → 200400default
POST
/recover/snippet/{id}
Recover Snippet
recoverSnippet 1 param → 200404default
POST
/snippets/generated
Generates code for a Snippet
generateCode body → 201400401403default
POST
/snippets/search/ids
Search for snippet IDs by task
querySnippetIdsByTask 1 param body → 200400401403default
POST
/snippets/search
Search active reusable snippet references by full-text token query
searchSnippetReferences 1 param body → 200400401403default

Schemas 32

The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are VariantVersion (12 properties), SnippetSearchTextMatch (11 properties), GenerateCodeRequest (10 properties), UsedByEntity (8 properties). Each schema is shown below with its type and property counts.

MobileTrainingInfo
object
8 properties
DeviceScreenDimensions
object
2 properties 2 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…
GuardrailRefusal
object
The guardrail policy that refused an agent request.
6 properties
VariantVersionQueryResult
object
4 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…
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
VariantVersion
object
12 properties
GenerateCodeResult
object
Code generator result
8 properties
Snippet
object
Snippets represent a single snippet for use in journeys
SnippetSearchTypeEnum
string
SnippetTypeEnum
string
SnippetSearchTextResult
object
Result envelope for snippet text search.
2 properties 2 required
ExecutableSnippet
object
Fields necessary to execute a snippet in a test or flow
7 properties
SnippetUsedByBatchQueryResult
object
result envelope for batch snippet used-by query results
2 properties
UsedByEntity
object
A description of an entity (test or flow) that uses a resource (file upload, etc.)
8 properties
QueryEntityParameters
object
7 properties 1 required
TestTypeEnum
string
Type of test
SnippetUsedByQueryResult
object
result envelope for snippet used-by query results
2 properties
SnippetQueryResult
object
result envelope for Snippet query results
2 properties
QueryEntityByTaskParameters
object
Parameters for querying entities by task description
2 required
FlowTypeEnum
string
the type of flow
EntityIdQueryResult
object
1 property 1 required
Label
object
2 properties 1 required
SnippetUsedByBatchRequest
object
Request body for batch snippet used-by query
1 property 1 required
GenerateCodeRequest
object
Codegen request configurations
10 properties 1 required
SnippetParameter
object
A parameter passed to the snippet as an argument
4 properties 2 required
MobilePlatformEnum
string
The mobile platform associated with this object
GenAiOverrideOptions
object
3 properties
SnippetSearchTextRequest
object
Request body for snippet full-text search.
5 properties 1 required
SnippetSearchTextMatch
object
A single full-text search match.
11 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mabl-snippet-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 Snippet 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.