ai icon indicating copy to clipboard operation
ai copied to clipboard

AI gateway logging delay?

Open vickyRathee opened this issue 3 months ago • 0 comments

It's not documented that how long does it take to appear AI gateway logs on API?

I used the getLogsById() in waitUntil immediately after the /ai response and the response_head is coming as null

When, I checked the same log id via postman after few seconds, the data is available there. So seems like the request, response head data is later updated in logs. But after how long, can you please confirm and update in documents as well?

Code

Image

**Postman **

Image

vickyRathee avatar Aug 11 '25 11:08 vickyRathee