---
title: "List pentest launches"
method: GET
path: "/v1/pentests/{pentest_slug}/launches/"
tags: ["pentests"]
---

# List pentest launches

`GET /v1/pentests/{pentest_slug}/launches/`

## Request

- Base URL: `https://api.ethiack.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ethiack.com/v1/pentests/{pentest_slug}/launches/`
- Auth: none declared

List the launches dispatched for a pentest.

Restricted to machine callers operating within the pentest's scope.

Args:
    pentest_id (int): The parent pentest, resolved and access-checked
        by the router's gate.
    db (AsyncSession): Request-scoped database session.
    context (ActiveContext): Resolved caller identity and scope.
    query (LaunchListQuery): Filters + pagination query params.
    pager (Paginator): Fills the response's navigation metadata.

Returns:
    LaunchListResponse: The authorized launches for the pentest.

## Path parameters

- `pentest_slug` string, required

## Query parameters

- `page` integer
- `per_page` integer: Page size. Values above 500 are clamped to it (or rejected, per REST__PAGINATION__PER_PAGE_OVER_MAX).
- `mode` integer, nullable

## Response `200`

Successful Response

- LaunchListResponse: List of launch records for a pentest. Attributes: launches (list[LaunchResponse]): Launch objects.
  - `total` integer, nullable
  - `page` integer, nullable
  - `per_page` integer, nullable
  - `_links` object, nullable: RFC 8288 rel to URL. Always first; last unless the route opted out of counting; prev and next when applicable.
  - `launches` LaunchResponse[], required
    - `id` integer, required: Launch ID.
    - `pentest_id` integer, required: Parent pentest ID.
    - `machine_user_id` string, uuid, required: Owning machine user ID.
    - `mode` integer, nullable: Artiacker mode code.
    - `status` 'pending' | 'in_progress' | 'finished' | 'error' | 'canceled', required: Human-readable launch execution status. Maps to ``StatusEnum`` integer values stored in the database.
    - `error_info` string, nullable: Error message when the launch failed.
    - `sub_job_id` integer, nullable: Linked scan_sub_jobs row.
    - `start_time` string, date-time, nullable: Execution start time.
    - `finish_time` string, date-time, nullable: Execution end time.
    - `created` string, date-time, required: Creation timestamp.

## Other responses

- `422`: Validation Error

---

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