# How can I automate TestRail reports?

Im looking for an API option that let me create Reports on demand, like as soon as I finish my Test Run I would love to have some Reports automated with the pie charts that TestRail offers.

##### Post Metadata
- Posted at: over 5 years ago



## Comments
### Comment 1

Thanks for your query, Nayeli.

TestRail (version 5.7 and onwards) supports API endpoints that enable API users to identify and run reports, so long as those reports are identified as API template reports. Before you can start running reports via the API though, you need to make sure your reports have been marked as accessible via the API in the report settings. Once created, reports accessible to the API are visible in the new API Templates section.

Two new endpoints have been created to handle API-accessible reports. Read full instructions for use in the Reports API documentation (https://www.gurock.com/testrail/docs/api/reference/reports).

Please do not hesitate to reach out to us at contact@gurock.com in case of any additional queries.

BR,
Shanu Mandot
Community Manager @ TestRail

##### Comment Metadata
- Posted at: over 5 years ago




## Related Product
[TestRail](https://www.g2.com/products/testrail/reviews)

## Related Category
[Software Testing](https://www.g2.com/categories/software-testing)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


