cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can api for query history /api/2.0/sql/history/queries return data which is older than 30 days?

RahulChaubey
New Contributor III

I am using this api but it is returning the data for only last 30 days. Can this api return data which is older than 30 days?

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @RahulChaubey

artsheiko
Valued Contributor III
Valued Contributor III

Hi @RahulChaubey,

The query history system table was announced during the Q1 roadmap webinar (see the recording, 32:25). There is a chance that it will provide data with a horizon beyond 30 days.

Meanwhile, you can enable system tables - I hope some already available tables could be helpful for you.