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,
contentis a non-empty string,contentandconfig_idare sent together, ortool_response(inbound) ortool_call(outbound) is sent together withtool_config_id,session_endis sent only together withsession_id,contentis at most 1,000,000 bytes in UTF-8. Larger content gets the error typecontent_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_idcontains the UUID of the intended firewall configuration. An unknown id gets a404withConfig <id> not found. - A configuration made for the other direction gets a
400withConfig <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.