Skip to content

API

Filter requests return 422

A 422 Unprocessable Entity response means the request body doesn't match the API schema.

Verify that:

  • the request body is valid JSON,
  • content is a non-empty string,
  • content and config_id are sent together, or tool_response (inbound) or tool_call (outbound) is sent together with tool_config_id,
  • session_end is sent only together with session_id,
  • content is at most 1,000,000 bytes in UTF-8. Larger content gets the error type content_too_large.

Refer to the API Reference for the expected request schema.


Filter isn't applied as expected

If filtering doesn't appear to happen or the wrong filter is used:

  • Verify that config_id contains the UUID of the intended firewall configuration. An unknown id gets a 404 with Config <id> not found.
  • A configuration made for the other direction gets a 400 with Config <id> has wrong type for this endpoint. Use an inbound configuration on the inbound endpoint and an outbound one on the outbound endpoint.
  • In the Dashboard, confirm that the filters you expect are switched on, and that neither the configuration nor the filter is in monitoring mode.