Skip to main content
POST
Run a version (or the draft) on sample input in the sandbox

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Path Parameters

snippet_id
string
required

Body

application/json
version

A version number, or "draft".

arguments
object

Response

OK

object
any
required
status
enum<string>
required
Available options:
succeeded,
failed
snippet_id
string
version
integer
state
string
input
object
output
any

Present only when the result matched the output shape.

error
any
error_code
any
latency_ms
any
audit
any