JSON querying API

This topic describes the API endpoints to submit JSON-based native queries to Apache Druid.

In this topic, http://SERVICE_IP:SERVICE_PORT is a placeholder for the server address of deployment and the service port. For example, on the quickstart configuration, replace http://ROUTER_IP:ROUTER_PORT with http://localhost:8888.

Submit a query

Submits a JSON-based native query. The body of the request is the native query itself.

Druid supports different types of queries for different use cases. All queries require the following properties:

  • queryType: A string representing the type of query. Druid supports the following native query types: timeseries, topN, groupBy, timeBoundaries, segmentMetadata, datasourceMetadata, scan, and search.
  • dataSource: A string or object defining the source of data to query. The most common value is the name of the datasource to query. For more information, see Datasources.

For additional properties based on your query type or use case, see available native queries.

URL

POST /druid/v2/

Query parameters

  • pretty (optional)
    • Druid returns the response in a pretty-printed format using indentation and line breaks.

Responses

  • 200 SUCCESS
  • 400 BAD REQUEST

Successfully submitted query

Error thrown due to bad query. Returns a JSON object detailing the error with the following format:

  1. {
  2. "error": "A well-defined error code.",
  3. "errorMessage": "A message with additional details about the error.",
  4. "errorClass": "Class of exception that caused this error.",
  5. "host": "The host on which the error occurred."
  6. }

For more information on possible error messages, see query execution failures.


Example query: topN

The following example shows a topN query. The query analyzes the social_media datasource to return the top five users from the username dimension with the highest number of views from the views metric.

  • cURL
  • HTTP
  1. curl "http://ROUTER_IP:ROUTER_PORT/druid/v2?pretty=null" \
  2. --header 'Content-Type: application/json' \
  3. --data '{
  4. "queryType": "topN",
  5. "dataSource": "social_media",
  6. "dimension": "username",
  7. "threshold": 5,
  8. "metric": "views",
  9. "granularity": "all",
  10. "aggregations": [
  11. {
  12. "type": "longSum",
  13. "name": "views",
  14. "fieldName": "views"
  15. }
  16. ],
  17. "intervals": [
  18. "2022-01-01T00:00:00.000/2024-01-01T00:00:00.000"
  19. ]
  20. }'
  1. POST /druid/v2?pretty=null HTTP/1.1
  2. Host: http://ROUTER_IP:ROUTER_PORT
  3. Content-Type: application/json
  4. Content-Length: 336
  5. {
  6. "queryType": "topN",
  7. "dataSource": "social_media",
  8. "dimension": "username",
  9. "threshold": 5,
  10. "metric": "views",
  11. "granularity": "all",
  12. "aggregations": [
  13. {
  14. "type": "longSum",
  15. "name": "views",
  16. "fieldName": "views"
  17. }
  18. ],
  19. "intervals": [
  20. "2022-01-01T00:00:00.000/2024-01-01T00:00:00.000"
  21. ]
  22. }

Example response: topN

Click to show sample response

  1. [
  2. {
  3. "timestamp": "2023-07-03T18:49:54.848Z",
  4. "result": [
  5. {
  6. "views": 11591218026,
  7. "username": "gus"
  8. },
  9. {
  10. "views": 11578638578,
  11. "username": "miette"
  12. },
  13. {
  14. "views": 11561618880,
  15. "username": "leon"
  16. },
  17. {
  18. "views": 11552609824,
  19. "username": "mia"
  20. },
  21. {
  22. "views": 11551537517,
  23. "username": "milton"
  24. }
  25. ]
  26. }
  27. ]

Example query: groupBy

The following example submits a JSON query of the groupBy type to retrieve the username with the highest votes to posts ratio from the social_media datasource.

In this query:

  • The upvoteSum aggregation calculates the sum of the upvotes for each user.
  • The postCount aggregation calculates the sum of posts for each user.
  • The upvoteToPostRatio is a post-aggregation of the upvoteSum and the postCount, divided to calculate the ratio.
  • The result is sorted based on the upvoteToPostRatio in descending order.

  • cURL

  • HTTP
  1. curl "http://ROUTER_IP:ROUTER_PORT/druid/v2" \
  2. --header 'Content-Type: application/json' \
  3. --data '{
  4. "queryType": "groupBy",
  5. "dataSource": "social_media",
  6. "dimensions": ["username"],
  7. "granularity": "all",
  8. "aggregations": [
  9. { "type": "doubleSum", "name": "upvoteSum", "fieldName": "upvotes" },
  10. { "type": "count", "name": "postCount", "fieldName": "post_title" }
  11. ],
  12. "postAggregations": [
  13. {
  14. "type": "arithmetic",
  15. "name": "upvoteToPostRatio",
  16. "fn": "/",
  17. "fields": [
  18. { "type": "fieldAccess", "name": "upvoteSum", "fieldName": "upvoteSum" },
  19. { "type": "fieldAccess", "name": "postCount", "fieldName": "postCount" }
  20. ]
  21. }
  22. ],
  23. "intervals": ["2022-01-01T00:00:00.000/2024-01-01T00:00:00.000"],
  24. "limitSpec": {
  25. "type": "default",
  26. "limit": 1,
  27. "columns": [
  28. { "dimension": "upvoteToPostRatio", "direction": "descending" }
  29. ]
  30. }
  31. }'
  1. POST /druid/v2?pretty=null HTTP/1.1
  2. Host: http://ROUTER_IP:ROUTER_PORT
  3. Content-Type: application/json
  4. Content-Length: 817
  5. {
  6. "queryType": "groupBy",
  7. "dataSource": "social_media",
  8. "dimensions": ["username"],
  9. "granularity": "all",
  10. "aggregations": [
  11. { "type": "doubleSum", "name": "upvoteSum", "fieldName": "upvotes" },
  12. { "type": "count", "name": "postCount", "fieldName": "post_title" }
  13. ],
  14. "postAggregations": [
  15. {
  16. "type": "arithmetic",
  17. "name": "upvoteToPostRatio",
  18. "fn": "/",
  19. "fields": [
  20. { "type": "fieldAccess", "name": "upvoteSum", "fieldName": "upvoteSum" },
  21. { "type": "fieldAccess", "name": "postCount", "fieldName": "postCount" }
  22. ]
  23. }
  24. ],
  25. "intervals": ["2022-01-01T00:00:00.000/2024-01-01T00:00:00.000"],
  26. "limitSpec": {
  27. "type": "default",
  28. "limit": 1,
  29. "columns": [
  30. { "dimension": "upvoteToPostRatio", "direction": "descending" }
  31. ]
  32. }
  33. }

Example response: groupBy

Click to show sample response

  1. [
  2. {
  3. "version": "v1",
  4. "timestamp": "2022-01-01T00:00:00.000Z",
  5. "event": {
  6. "upvoteSum": 8.0419541E7,
  7. "upvoteToPostRatio": 69.53014661762697,
  8. "postCount": 1156614,
  9. "username": "miette"
  10. }
  11. }
  12. ]

Get segment information for query

Retrieves an array that contains objects with segment information, including the server locations associated with the query provided in the request body.

URL

POST /druid/v2/candidates/

Query parameters

  • pretty (optional)
    • Druid returns the response in a pretty-printed format using indentation and line breaks.

Responses

  • 200 SUCCESS
  • 400 BAD REQUEST

Successfully retrieved segment information

Error thrown due to bad query. Returns a JSON object detailing the error with the following format:

  1. {
  2. "error": "A well-defined error code.",
  3. "errorMessage": "A message with additional details about the error.",
  4. "errorClass": "Class of exception that caused this error.",
  5. "host": "The host on which the error occurred."
  6. }

For more information on possible error messages, see query execution failures.


Sample request

  • cURL
  • HTTP
  1. curl "http://ROUTER_IP:ROUTER_PORT/druid/v2/candidates" \
  2. --header 'Content-Type: application/json' \
  3. --data '{
  4. "queryType": "topN",
  5. "dataSource": "social_media",
  6. "dimension": "username",
  7. "threshold": 5,
  8. "metric": "views",
  9. "granularity": "all",
  10. "aggregations": [
  11. {
  12. "type": "longSum",
  13. "name": "views",
  14. "fieldName": "views"
  15. }
  16. ],
  17. "intervals": [
  18. "2022-01-01T00:00:00.000/2024-01-01T00:00:00.000"
  19. ]
  20. }'
  1. POST /druid/v2/candidates HTTP/1.1
  2. Host: http://ROUTER_IP:ROUTER_PORT
  3. Content-Type: application/json
  4. Content-Length: 336
  5. {
  6. "queryType": "topN",
  7. "dataSource": "social_media",
  8. "dimension": "username",
  9. "threshold": 5,
  10. "metric": "views",
  11. "granularity": "all",
  12. "aggregations": [
  13. {
  14. "type": "longSum",
  15. "name": "views",
  16. "fieldName": "views"
  17. }
  18. ],
  19. "intervals": [
  20. "2020-01-01T00:00:00.000/2024-01-01T00:00:00.000"
  21. ]
  22. }

Sample response

Click to show sample response

  1. [
  2. {
  3. "interval": "2023-07-03T18:00:00.000Z/2023-07-03T19:00:00.000Z",
  4. "version": "2023-07-03T18:51:18.905Z",
  5. "partitionNumber": 0,
  6. "size": 21563693,
  7. "locations": [
  8. {
  9. "name": "localhost:8083",
  10. "host": "localhost:8083",
  11. "hostAndTlsPort": null,
  12. "maxSize": 300000000000,
  13. "type": "historical",
  14. "tier": "_default_tier",
  15. "priority": 0
  16. }
  17. ]
  18. },
  19. {
  20. "interval": "2023-07-03T19:00:00.000Z/2023-07-03T20:00:00.000Z",
  21. "version": "2023-07-03T19:00:00.657Z",
  22. "partitionNumber": 0,
  23. "size": 6057236,
  24. "locations": [
  25. {
  26. "name": "localhost:8083",
  27. "host": "localhost:8083",
  28. "hostAndTlsPort": null,
  29. "maxSize": 300000000000,
  30. "type": "historical",
  31. "tier": "_default_tier",
  32. "priority": 0
  33. }
  34. ]
  35. },
  36. {
  37. "interval": "2023-07-05T21:00:00.000Z/2023-07-05T22:00:00.000Z",
  38. "version": "2023-07-05T21:09:58.102Z",
  39. "partitionNumber": 0,
  40. "size": 223926186,
  41. "locations": [
  42. {
  43. "name": "localhost:8083",
  44. "host": "localhost:8083",
  45. "hostAndTlsPort": null,
  46. "maxSize": 300000000000,
  47. "type": "historical",
  48. "tier": "_default_tier",
  49. "priority": 0
  50. }
  51. ]
  52. },
  53. {
  54. "interval": "2023-07-05T21:00:00.000Z/2023-07-05T22:00:00.000Z",
  55. "version": "2023-07-05T21:09:58.102Z",
  56. "partitionNumber": 1,
  57. "size": 20244827,
  58. "locations": [
  59. {
  60. "name": "localhost:8083",
  61. "host": "localhost:8083",
  62. "hostAndTlsPort": null,
  63. "maxSize": 300000000000,
  64. "type": "historical",
  65. "tier": "_default_tier",
  66. "priority": 0
  67. }
  68. ]
  69. },
  70. {
  71. "interval": "2023-07-05T22:00:00.000Z/2023-07-05T23:00:00.000Z",
  72. "version": "2023-07-05T22:00:00.524Z",
  73. "partitionNumber": 0,
  74. "size": 104628051,
  75. "locations": [
  76. {
  77. "name": "localhost:8083",
  78. "host": "localhost:8083",
  79. "hostAndTlsPort": null,
  80. "maxSize": 300000000000,
  81. "type": "historical",
  82. "tier": "_default_tier",
  83. "priority": 0
  84. }
  85. ]
  86. },
  87. {
  88. "interval": "2023-07-05T22:00:00.000Z/2023-07-05T23:00:00.000Z",
  89. "version": "2023-07-05T22:00:00.524Z",
  90. "partitionNumber": 1,
  91. "size": 1603995,
  92. "locations": [
  93. {
  94. "name": "localhost:8083",
  95. "host": "localhost:8083",
  96. "hostAndTlsPort": null,
  97. "maxSize": 300000000000,
  98. "type": "historical",
  99. "tier": "_default_tier",
  100. "priority": 0
  101. }
  102. ]
  103. },
  104. {
  105. "interval": "2023-07-05T23:00:00.000Z/2023-07-06T00:00:00.000Z",
  106. "version": "2023-07-05T23:21:55.242Z",
  107. "partitionNumber": 0,
  108. "size": 181506843,
  109. "locations": [
  110. {
  111. "name": "localhost:8083",
  112. "host": "localhost:8083",
  113. "hostAndTlsPort": null,
  114. "maxSize": 300000000000,
  115. "type": "historical",
  116. "tier": "_default_tier",
  117. "priority": 0
  118. }
  119. ]
  120. },
  121. {
  122. "interval": "2023-07-06T00:00:00.000Z/2023-07-06T01:00:00.000Z",
  123. "version": "2023-07-06T00:02:08.498Z",
  124. "partitionNumber": 0,
  125. "size": 9170974,
  126. "locations": [
  127. {
  128. "name": "localhost:8083",
  129. "host": "localhost:8083",
  130. "hostAndTlsPort": null,
  131. "maxSize": 300000000000,
  132. "type": "historical",
  133. "tier": "_default_tier",
  134. "priority": 0
  135. }
  136. ]
  137. },
  138. {
  139. "interval": "2023-07-06T00:00:00.000Z/2023-07-06T01:00:00.000Z",
  140. "version": "2023-07-06T00:02:08.498Z",
  141. "partitionNumber": 1,
  142. "size": 23969632,
  143. "locations": [
  144. {
  145. "name": "localhost:8083",
  146. "host": "localhost:8083",
  147. "hostAndTlsPort": null,
  148. "maxSize": 300000000000,
  149. "type": "historical",
  150. "tier": "_default_tier",
  151. "priority": 0
  152. }
  153. ]
  154. },
  155. {
  156. "interval": "2023-07-06T01:00:00.000Z/2023-07-06T02:00:00.000Z",
  157. "version": "2023-07-06T01:13:53.982Z",
  158. "partitionNumber": 0,
  159. "size": 599895,
  160. "locations": [
  161. {
  162. "name": "localhost:8083",
  163. "host": "localhost:8083",
  164. "hostAndTlsPort": null,
  165. "maxSize": 300000000000,
  166. "type": "historical",
  167. "tier": "_default_tier",
  168. "priority": 0
  169. }
  170. ]
  171. },
  172. {
  173. "interval": "2023-07-06T01:00:00.000Z/2023-07-06T02:00:00.000Z",
  174. "version": "2023-07-06T01:13:53.982Z",
  175. "partitionNumber": 1,
  176. "size": 1627041,
  177. "locations": [
  178. {
  179. "name": "localhost:8083",
  180. "host": "localhost:8083",
  181. "hostAndTlsPort": null,
  182. "maxSize": 300000000000,
  183. "type": "historical",
  184. "tier": "_default_tier",
  185. "priority": 0
  186. }
  187. ]
  188. },
  189. {
  190. "interval": "2023-07-06T02:00:00.000Z/2023-07-06T03:00:00.000Z",
  191. "version": "2023-07-06T02:55:50.701Z",
  192. "partitionNumber": 0,
  193. "size": 629753,
  194. "locations": [
  195. {
  196. "name": "localhost:8083",
  197. "host": "localhost:8083",
  198. "hostAndTlsPort": null,
  199. "maxSize": 300000000000,
  200. "type": "historical",
  201. "tier": "_default_tier",
  202. "priority": 0
  203. }
  204. ]
  205. },
  206. {
  207. "interval": "2023-07-06T02:00:00.000Z/2023-07-06T03:00:00.000Z",
  208. "version": "2023-07-06T02:55:50.701Z",
  209. "partitionNumber": 1,
  210. "size": 1342360,
  211. "locations": [
  212. {
  213. "name": "localhost:8083",
  214. "host": "localhost:8083",
  215. "hostAndTlsPort": null,
  216. "maxSize": 300000000000,
  217. "type": "historical",
  218. "tier": "_default_tier",
  219. "priority": 0
  220. }
  221. ]
  222. },
  223. {
  224. "interval": "2023-07-06T04:00:00.000Z/2023-07-06T05:00:00.000Z",
  225. "version": "2023-07-06T04:02:36.562Z",
  226. "partitionNumber": 0,
  227. "size": 2131434,
  228. "locations": [
  229. {
  230. "name": "localhost:8083",
  231. "host": "localhost:8083",
  232. "hostAndTlsPort": null,
  233. "maxSize": 300000000000,
  234. "type": "historical",
  235. "tier": "_default_tier",
  236. "priority": 0
  237. }
  238. ]
  239. },
  240. {
  241. "interval": "2023-07-06T05:00:00.000Z/2023-07-06T06:00:00.000Z",
  242. "version": "2023-07-06T05:23:27.856Z",
  243. "partitionNumber": 0,
  244. "size": 797161,
  245. "locations": [
  246. {
  247. "name": "localhost:8083",
  248. "host": "localhost:8083",
  249. "hostAndTlsPort": null,
  250. "maxSize": 300000000000,
  251. "type": "historical",
  252. "tier": "_default_tier",
  253. "priority": 0
  254. }
  255. ]
  256. },
  257. {
  258. "interval": "2023-07-06T05:00:00.000Z/2023-07-06T06:00:00.000Z",
  259. "version": "2023-07-06T05:23:27.856Z",
  260. "partitionNumber": 1,
  261. "size": 1176858,
  262. "locations": [
  263. {
  264. "name": "localhost:8083",
  265. "host": "localhost:8083",
  266. "hostAndTlsPort": null,
  267. "maxSize": 300000000000,
  268. "type": "historical",
  269. "tier": "_default_tier",
  270. "priority": 0
  271. }
  272. ]
  273. },
  274. {
  275. "interval": "2023-07-06T06:00:00.000Z/2023-07-06T07:00:00.000Z",
  276. "version": "2023-07-06T06:46:34.638Z",
  277. "partitionNumber": 0,
  278. "size": 2148760,
  279. "locations": [
  280. {
  281. "name": "localhost:8083",
  282. "host": "localhost:8083",
  283. "hostAndTlsPort": null,
  284. "maxSize": 300000000000,
  285. "type": "historical",
  286. "tier": "_default_tier",
  287. "priority": 0
  288. }
  289. ]
  290. },
  291. {
  292. "interval": "2023-07-06T07:00:00.000Z/2023-07-06T08:00:00.000Z",
  293. "version": "2023-07-06T07:38:28.050Z",
  294. "partitionNumber": 0,
  295. "size": 2040748,
  296. "locations": [
  297. {
  298. "name": "localhost:8083",
  299. "host": "localhost:8083",
  300. "hostAndTlsPort": null,
  301. "maxSize": 300000000000,
  302. "type": "historical",
  303. "tier": "_default_tier",
  304. "priority": 0
  305. }
  306. ]
  307. },
  308. {
  309. "interval": "2023-07-06T08:00:00.000Z/2023-07-06T09:00:00.000Z",
  310. "version": "2023-07-06T08:27:31.407Z",
  311. "partitionNumber": 0,
  312. "size": 678723,
  313. "locations": [
  314. {
  315. "name": "localhost:8083",
  316. "host": "localhost:8083",
  317. "hostAndTlsPort": null,
  318. "maxSize": 300000000000,
  319. "type": "historical",
  320. "tier": "_default_tier",
  321. "priority": 0
  322. }
  323. ]
  324. },
  325. {
  326. "interval": "2023-07-06T08:00:00.000Z/2023-07-06T09:00:00.000Z",
  327. "version": "2023-07-06T08:27:31.407Z",
  328. "partitionNumber": 1,
  329. "size": 1437866,
  330. "locations": [
  331. {
  332. "name": "localhost:8083",
  333. "host": "localhost:8083",
  334. "hostAndTlsPort": null,
  335. "maxSize": 300000000000,
  336. "type": "historical",
  337. "tier": "_default_tier",
  338. "priority": 0
  339. }
  340. ]
  341. },
  342. {
  343. "interval": "2023-07-06T10:00:00.000Z/2023-07-06T11:00:00.000Z",
  344. "version": "2023-07-06T10:02:42.079Z",
  345. "partitionNumber": 0,
  346. "size": 1671296,
  347. "locations": [
  348. {
  349. "name": "localhost:8083",
  350. "host": "localhost:8083",
  351. "hostAndTlsPort": null,
  352. "maxSize": 300000000000,
  353. "type": "historical",
  354. "tier": "_default_tier",
  355. "priority": 0
  356. }
  357. ]
  358. },
  359. {
  360. "interval": "2023-07-06T11:00:00.000Z/2023-07-06T12:00:00.000Z",
  361. "version": "2023-07-06T11:27:23.902Z",
  362. "partitionNumber": 0,
  363. "size": 574893,
  364. "locations": [
  365. {
  366. "name": "localhost:8083",
  367. "host": "localhost:8083",
  368. "hostAndTlsPort": null,
  369. "maxSize": 300000000000,
  370. "type": "historical",
  371. "tier": "_default_tier",
  372. "priority": 0
  373. }
  374. ]
  375. },
  376. {
  377. "interval": "2023-07-06T11:00:00.000Z/2023-07-06T12:00:00.000Z",
  378. "version": "2023-07-06T11:27:23.902Z",
  379. "partitionNumber": 1,
  380. "size": 1427384,
  381. "locations": [
  382. {
  383. "name": "localhost:8083",
  384. "host": "localhost:8083",
  385. "hostAndTlsPort": null,
  386. "maxSize": 300000000000,
  387. "type": "historical",
  388. "tier": "_default_tier",
  389. "priority": 0
  390. }
  391. ]
  392. },
  393. {
  394. "interval": "2023-07-06T12:00:00.000Z/2023-07-06T13:00:00.000Z",
  395. "version": "2023-07-06T12:52:00.846Z",
  396. "partitionNumber": 0,
  397. "size": 2115172,
  398. "locations": [
  399. {
  400. "name": "localhost:8083",
  401. "host": "localhost:8083",
  402. "hostAndTlsPort": null,
  403. "maxSize": 300000000000,
  404. "type": "historical",
  405. "tier": "_default_tier",
  406. "priority": 0
  407. }
  408. ]
  409. },
  410. {
  411. "interval": "2023-07-06T14:00:00.000Z/2023-07-06T15:00:00.000Z",
  412. "version": "2023-07-06T14:32:33.926Z",
  413. "partitionNumber": 0,
  414. "size": 589108,
  415. "locations": [
  416. {
  417. "name": "localhost:8083",
  418. "host": "localhost:8083",
  419. "hostAndTlsPort": null,
  420. "maxSize": 300000000000,
  421. "type": "historical",
  422. "tier": "_default_tier",
  423. "priority": 0
  424. }
  425. ]
  426. },
  427. {
  428. "interval": "2023-07-06T14:00:00.000Z/2023-07-06T15:00:00.000Z",
  429. "version": "2023-07-06T14:32:33.926Z",
  430. "partitionNumber": 1,
  431. "size": 1392649,
  432. "locations": [
  433. {
  434. "name": "localhost:8083",
  435. "host": "localhost:8083",
  436. "hostAndTlsPort": null,
  437. "maxSize": 300000000000,
  438. "type": "historical",
  439. "tier": "_default_tier",
  440. "priority": 0
  441. }
  442. ]
  443. },
  444. {
  445. "interval": "2023-07-06T15:00:00.000Z/2023-07-06T16:00:00.000Z",
  446. "version": "2023-07-06T15:53:25.467Z",
  447. "partitionNumber": 0,
  448. "size": 2037851,
  449. "locations": [
  450. {
  451. "name": "localhost:8083",
  452. "host": "localhost:8083",
  453. "hostAndTlsPort": null,
  454. "maxSize": 300000000000,
  455. "type": "historical",
  456. "tier": "_default_tier",
  457. "priority": 0
  458. }
  459. ]
  460. },
  461. {
  462. "interval": "2023-07-06T16:00:00.000Z/2023-07-06T17:00:00.000Z",
  463. "version": "2023-07-06T16:02:26.568Z",
  464. "partitionNumber": 0,
  465. "size": 230400650,
  466. "locations": [
  467. {
  468. "name": "localhost:8083",
  469. "host": "localhost:8083",
  470. "hostAndTlsPort": null,
  471. "maxSize": 300000000000,
  472. "type": "historical",
  473. "tier": "_default_tier",
  474. "priority": 0
  475. }
  476. ]
  477. },
  478. {
  479. "interval": "2023-07-06T16:00:00.000Z/2023-07-06T17:00:00.000Z",
  480. "version": "2023-07-06T16:02:26.568Z",
  481. "partitionNumber": 1,
  482. "size": 38209056,
  483. "locations": [
  484. {
  485. "name": "localhost:8083",
  486. "host": "localhost:8083",
  487. "hostAndTlsPort": null,
  488. "maxSize": 300000000000,
  489. "type": "historical",
  490. "tier": "_default_tier",
  491. "priority": 0
  492. }
  493. ]
  494. },
  495. {
  496. "interval": "2023-07-06T17:00:00.000Z/2023-07-06T18:00:00.000Z",
  497. "version": "2023-07-06T17:00:02.391Z",
  498. "partitionNumber": 0,
  499. "size": 211099463,
  500. "locations": [
  501. {
  502. "name": "localhost:8083",
  503. "host": "localhost:8083",
  504. "hostAndTlsPort": null,
  505. "maxSize": 300000000000,
  506. "type": "historical",
  507. "tier": "_default_tier",
  508. "priority": 0
  509. }
  510. ]
  511. }
  512. ]