Record a tool call audit entry
Records a non-LLM tool call (API calls, webhooks, MCP tool executions by external orchestrators) in the AxonFlow audit trail. Only tool_name is required; all other fields are optional.
Request
- Base URLhttps://orchestrator.getaxonflow.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Tenant identifier (must match the client ID from Basic auth credentials)
Internal-service HMAC token proving the request was routed through the AxonFlow Agent gateway (derived from AXONFLOW_INTERNAL_SERVICE_SECRET). Enforced fail-closed in every non-Community deployment: a missing or invalid token — or an unconfigured secret — is rejected with 403, in addition to the Basic auth requirement below. Community deployments without the secret configured skip this check.
Optional per-request dedup token. When supplied, the platform caches the response for 24h and returns it byte-for-byte on subsequent requests carrying the same key + same authenticated tenant. A cache hit adds an Idempotent-Replayed: true response header. Pattern: ^[A-Za-z0-9_.:\-/]+$, max 256 chars. 5xx responses are not cached so the caller's retry can hit a fresh attempt.
Request body
Response
Tool call audit recorded
Changes
No recorded changes to this operation across all 1 revision of this API.