---
title: "List AI Code Analysis assessments"
method: GET
path: "/pentests/code-audits"
---

# List AI Code Analysis assessments

`GET /pentests/code-audits`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/pentests/code-audits`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `pentests:read`

Returns all AI Code Analysis (code audit) assessments in your account, newest first.

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

A list of AI Code Analysis assessments

- object[]
  - `id` string, uuid: The unique UUID of the assessment. Can be used with the assessment detail endpoint and as filter_assessment_id when exporting issues.
  - `name` string, nullable: The name of the assessment
  - `status` 'pending' | 'running' | 'completed' | 'cancelled' | 'failed': The current status of the assessment
  - `created_at` integer: A unix timestamp (in seconds) indicating when the assessment was created

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
