Minor nit, but it seems like the logs

Minor nit, but it seems like the logs filter UI is assuming strings in the metadata. The example in the docs shows this --header 'cf-aig-metadata: {"team": "AI", "user": 12345, "test":true}' \ But then when you try to filter in the UI it won't work
filters: [{"key":"metadata.value","operator":"eq","value":["12345"]},{"key":"metadata.key","operator":"eq","value":["user"]},{"key":"created_at","operator":"gt","value":["2025-04-18T01:21:00.000Z"]}]
filters: [{"key":"metadata.value","operator":"eq","value":["12345"]},{"key":"metadata.key","operator":"eq","value":["user"]},{"key":"created_at","operator":"gt","value":["2025-04-18T01:21:00.000Z"]}]
I changed the request manually to a a number and it worked
filters: [{"key":"metadata.value","operator":"eq","value":[12345]},{"key":"metadata.key","operator":"eq","value":["user"]},{"key":"created_at","operator":"gt","value":["2025-04-18T01:21:00.000Z"]}]
filters: [{"key":"metadata.value","operator":"eq","value":[12345]},{"key":"metadata.key","operator":"eq","value":["user"]},{"key":"created_at","operator":"gt","value":["2025-04-18T01:21:00.000Z"]}]
Is this expected?
No description
2 Replies
Kathy
Kathy6d ago
what's your account id? please DM me
abuiles
abuilesOP5d ago
@Kathy replied

Did you find this page helpful?