Skip to main content
POST
Execute a tool in test mode

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.

Headers

Idempotency-Key
string

Replays the stored answer for a retry of the same request; 409 for a different request under the same key.

Maximum string length: 255

Path Parameters

tool_id
string
required

Body

application/json
arguments
object
environment
enum<string>
default:FIXTURE
Available options:
FIXTURE,
MOCK,
SANDBOX
confirm_write
boolean

Response

OK

id
string
required
object
any
required
tool_id
string
required
status
enum<string>
required
Available options:
succeeded,
refused,
failed
environment
string
input
object
output
any
error
any
started_at
any
latency_ms
integer
request_id
string
actor
any