Unable to download my data via the API

I'm going to be connecting regularly in order to download my data. I see that there is an API endpoint for that here: /v2/series/batch_query but in the post body of that there is a list of "Requests" which appear to be an object that defines the query itself.

I can't find anywhere that the structure of the "Requests" object is defined so that I know what to submit.

Does anyone know what the format of that object is? Is there an easier way to get an hour's worth of submitted data in an API call?

I was able to find the unit tests for the API and there was an example Request object defined there. Here is a sample POST body for the batch_query endpoint in case anyone else needs it:

{
	"requests": [
		{
				"From":        "2022-10-07T01:59:28Z",
				"To":          "2022-10-07T02:59:28Z",
				"Q":           "property.[Variable ID]",
				"SeriesLimit": 100,
				"Sort":        "ASC"
			}
	],
	"resp_version": 1
}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.