Skip to main content

Deprecated queries

Overview

This page lists deprecated GraphQL queries that have been replaced with newer, improved versions. If you're using any of the deprecated queries, please migrate to the recommended replacements.

Migration required

Deprecated queries will be removed in a future release. Please update your integrations to use the recommended replacements.

Deprecated queries and replacements

Deprecated QueryReplacement QueryDocumentation
log_sessions_preview_v2list_sessionsCheck the new query
log_session_content_v2get_sessionCheck the new query
get_sessionslist_sessionsCheck the new query
get_session_contentget_sessionCheck the new query
get_sessions_countlist_sessions_countCheck the new query

Key improvements

The new queries include several improvements:

  1. Simplified naming: More intuitive function names
  2. Better performance: Optimized database queries for faster response times
  3. Enhanced filtering: More filtering options for precise data retrieval
  4. Built-in pagination: list_sessions supports row_limit / row_offset and pairs with list_sessions_count for total row counts

Troubleshooting

If you need assistance migrating from deprecated queries, please:

  1. Check the linked documentation for each replacement query
  2. Review the migration examples above
  3. Contact support if you have questions or need custom migration guidance