{"type":"api","title":"Return the tar file consisting of metrics","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Utility - Configuration DB"],"summary":"Return the tar file consisting of metrics","description":"By passing in the appropriate metric, date, start and end time, it will return a tar file consisting of all the metric files of the respective metric within the timeframe provided ","operationId":"returnMetricFiles","parameters":[{"name":"metricName","in":"query","description":"Pass the metric name","required":true,"schema":{"type":"string"},"example":"neo4j.bolt.connections_running"},{"name":"startDate","in":"query","description":"Date in yyyy-MM-dd format or any Number format. If a number is passed, that will be the number of minutes. The start/end will be translated as \u003ccurrent date/time – minutes passed\u003e and \u003ccurrent date/time\u003e respectively.","required":true,"schema":{"type":"string"},"examples":{"yyyy-MM-dd":{"description":"yyyy-MM-dd","value":"2022-11-20"},"number (minutes)":{"description":"number (minutes)","value":10}}},{"name":"endDate","in":"query","description":"Date in yyyy-MM-dd format. The end date is given if data from multiple dates needs to be extracted. If single date data needed then endDate can be empty. endDate cannot be a previous date to the startDate.","schema":{"type":"string"},"example":"2022-11-23"},{"name":"start","in":"query","description":"Start Time in HHMMSS format; Time in UTC timezone","schema":{"type":"string"},"example":142430},{"name":"end","in":"query","description":"End Time in HHMMSS format; Time in UTC timezone","schema":{"type":"string"},"example":235830}],"responses":{"200":{"description":"return tarball file matching criteria","content":{"application/gzip":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad input parameter"},"500":{"description":"Internal Error"}},"method":"get","path":"/util/configdb/metrics/downloadfiles"}}