---
title: "GET /api/public/trainings/{id}/evidence"
method: GET
path: "/api/public/trainings/{id}/evidence"
tags: ["api"]
---

# GET /api/public/trainings/{id}/evidence

`GET /api/public/trainings/{id}/evidence`

Download Training Evidence. After receiving the request, the view estimates (based on benchmarking) if the report can be returned right away. If so, the report gets generated and served in the response. Otherwise, a JsonResponse is returned with the file generation status and a corresponding message. The message contains information about when the file will be ready for download.

The API key is required and can be set in the Authorization header as a Bearer token, or can be passed as an `auth_token` query parameter (in this case pass the key only, without the `Bearer ` keyword).

To get the report to email or Slack, pass the `email` query parameter along with the `destination` parameter. Supported values for the `destination` parameter are `slack` and `email`

## Query parameters

- `auth_token` string
- `email` string
- `destination` 'email' | 'slack'

## Response `200`

OK

---

[API](https://skmtc.net/haekka/apis/snippets-api.md) · [All operations](https://skmtc.net/haekka/apis/snippets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haekka/snippets-api/versions/2a72ba99e389/schema)
