---
title: "Get all audit trial details of the given workflow."
method: POST
path: "/api/Reports/audittrial"
tags: ["Reports"]
---

# Get all audit trial details of the given workflow.

`POST /api/Reports/audittrial`

## Request

- Base URL: `https://apidocs.cflowapps.com` (the document declares no server; this is the origin it was published from)
- URL: `https://apidocs.cflowapps.com/api/Reports/audittrial`
- Auth: API key in header `X-Api-Key` and API key in header `X-User-Key`
- TypeScript: <https://skmtc.dev/cflowapps/apis/cflow-public-api/docs/api/Reports/audittrial/post.ts> (a function with typed inputs; its response is checked against the schema)

Sample Request

         POST
         {
           "WorkflowName": "Test Workflow",
           "RecordId": "1"
        }

## Request body

- AuditReportRequest
  - `workflowName` string, required: Name of the worklfow
  - `recordId` integer: Record Id of the workflow

## Response `200`

List of audit trial record data.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: No audit trial details found for the given workflow.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cflowapps/apis/cflow-public-api.md) - [All operations](https://skmtc.dev/cflowapps/apis/cflow-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cflowapps/apis/cflow-public-api/revisions/af0dadd0ad10?raw)
