---
title: "Get list of audits for a website"
method: POST
path: "/audit/get_list_of_audits"
tags: ["Audit"]
---

# Get list of audits for a website

`POST /audit/get_list_of_audits`

## Request

- Base URL: `https://api.foudroyer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.foudroyer.com/audit/get_list_of_audits`
- Auth: HTTP bearer

Retrieves all audits for a website. User must own the website.

## Request body

- AuditGetAuditsByWebsiteInputDto
  - `website_id` string, required: Website ID to fetch audits for

## Response `200`

List of audits for the website

- AuditGetAuditsByWebsiteOutputDto
  - `audits` AuditEntity[], required: List of audits for the website
    - `id` string, required: Unique identifier of the audit
    - `fk_website_id` string, required: Website ID the audit belongs to
    - `status` 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled', required: Audit status
    - `max_pages_limit` number, required: Maximum number of pages to crawl
    - `started_at` string, date-time, required: When the audit was started
    - `completed_at` object, nullable, required: When the audit was completed
    - `cancelled_at` object, nullable, required: When the audit was cancelled
    - `total_pages_found` number, required: Total pages found during crawl
    - `total_pages_crawled` number, required: Total pages crawled
    - `total_orphan_pages` number, required: Total orphan pages found
    - `max_depth_crawled` number, nullable, required: Maximum depth reached during crawl
    - `overall_score` number, nullable, required: Overall audit score
    - `http_code_distribution` object, nullable, required: HTTP status code distribution
    - `created_at` string, date-time, required: When the audit was created
    - `updated_at` string, date-time, required: When the audit was last updated

---

[API](https://skmtc.dev/foudroyer/apis/foudroyer-api.md) - [All operations](https://skmtc.dev/foudroyer/apis/foudroyer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/foudroyer/apis/foudroyer-api/revisions/5b917c67e013?raw)
