Skip to main content
POST
Run a function's tests on your Spark

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workspace
string
required

Workspace slug.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$
name
string
required

Function name — a Python identifier.

Maximum string length: 64
Pattern: ^[a-z][a-z0-9_]{0,63}$

Body

application/json
version
integer | null

A saved version to simulate. The result is stored on it.

spec
Spec · object | null

An unsaved spec to simulate instead. Nothing is stored.

include_edges
boolean
default:true
include_pipeline
boolean
default:true

Also dry-run it inside a declarative pipeline.

Response

Successful Response

workspace
string
required
name
string
required
report
Report · object
required
version
integer | null
stored
boolean
default:false