log_intercept
Send an intercept event to the Gateplex API. Use this every time an AI agent performs an action that should be logged, governed, or audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Raw input/prompt | |
| model | No | Model identifier, e.g. 'gpt-4o' | |
| output | No | Raw output | |
| flagged | No | ||
| agent_id | No | UUID of the agent generating this intercept | |
| metadata | No | ||
| event_type | Yes | Event type, e.g. 'llm_call', 'tool_call', 'http_request' | |
| latency_ms | No |