Skip to main content
POST
Simulate gateway evaluation against the protection card

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Body

application/json
candidate_input
object

Hypothetical conversation snippet.

candidate_tool_call
object

Hypothetical tool invocation. Synthesized into an assistant message with a toolUses block when candidate_input.messages is absent.

Response

Simulation result.

ok
boolean
required
resource
enum<string>
required
Available options:
protection
allowed
enum<string>
required
Available options:
true,
false,
conditional
conditions
string[]
required
suggestions
string[]
required
gateway_decision
object
required
observer_assessment
object
required
evaluated_at
string<date-time>
required