#random

Viewing History and State of API Calls and Collections

TLDR Nathan asked about viewing history and state of API calls and collections. Jason suggested logging the response prior to processing it.

Powered by Struct AI

1

3
4mo
Solved
Join the chat
Jun 02, 2023 (4 months ago)
Nathan
Photo of md5-aa846ac80f1164f0d27b340467fd28e2
Nathan
04:01 PM
Is there a way for us to see the history of API calls and the state of a collection? We're firing off a lot of upsert and delete calls, and the result is our collection has many fewer documents than expected
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:10 PM
No, we don’t store the history / state of the collection…

1

04:11
Jason
04:11 PM
I’d recommend instead logging the response from the API just before you process it