CircleCI Ideas

Batch requests to the Insights API

Sending a single request to the Insights API requesting data for multiple workflows/projects and receiving a single payload.

As many Insights requests will be designed to generate reporting, it would make sense to allow a single request that could request all the data at once as opposed to making making consecutive, and parallel, requests.

This would also help reduce overall API requests and rate-limiting issues.

Another potential option would be to return a "processing" response with an endpoint to poll until the response is ready.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • May 20 2020
  • New
API
  • Attach files