APIs and SDKs

Request tags for filtering logs in @sanity/client

Learn how to use request tags to identify and filter API requests in your Sanity project's request logs for debugging and monitoring.

Request tags help you identify and filter API requests in your project's request logs. This is valuable for debugging, monitoring performance, and understanding how your application uses the API.

You can set tags at the client level or per request:

Tags appear in your project's API request logs in the Sanity management console, where you can filter and analyze request patterns, identify slow queries, and debug issues.

Was this page helpful?