Analytics records¶
GET /api/v1/config/firewall/insights/{direction}/records
Returns the event records Firewall Analytics shows, a page at a time, so a scheduled job works with the same data the dashboard shows. What a record contains is described in Audit & data handling. Needs a Configuration management (admin) key, see the Configuration API.
Parameters¶
| Parameter | In | Description |
|---|---|---|
direction |
path | inbound (chat inbound and tool response events) or outbound (chat outbound and tool call events), as the dashboard's direction toggle. |
page, page_size |
query | The page to return and its size. |
start_time, end_time |
query | Only events in this time range. |
config |
query | Only events of this configuration. |
status |
query | Only events with this status. |
severity |
query | Only events with this severity. |
block_reason |
query | Only events blocked by this check. |
Example request¶
export MATVIS_URL="https://<your-matvis-host>"
export MATVIS_API_KEY="<your-admin-api-key>"
export CONFIG_UUID="<configuration-uuid>"
curl "$MATVIS_URL/api/v1/config/firewall/insights/inbound/records?page=1&page_size=50" \
-H "Authorization: $MATVIS_API_KEY"
Set Accept: application/yaml for a YAML response.
Responses¶
See the status codes every Configuration API call shares.