---
title: "List Detectors"
method: GET
path: "/api/v1/public/detectors"
tags: ["Detectors"]
---

# List Detectors

`GET /api/v1/public/detectors`

## Request

- Base URL: `https://app.traceroot.ai`
- URL: `https://app.traceroot.ai/api/v1/public/detectors`
- Auth: HTTP bearer

List the detectors in the caller's project (newest first).

## Query parameters

- `limit` integer: Items per page
- `start_after` string, date-time, nullable: Only detectors created at or after this time (inclusive, ISO 8601)
- `end_before` string, date-time, nullable: Only detectors created before this time (exclusive, ISO 8601)
- `project_id` string, nullable: Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

## Response `200`

Successful Response

- PublicDetectorListResponse: Paginated list of the project's detectors for the public API.
  - `data` DetectorItem[], required
    - `created_at` string, date-time, required
    - `detector_id` string, required
    - `enabled` boolean, required
    - `name` string, required
    - `template` string, required
  - `meta` PaginationMeta, required: Pagination metadata for list responses.
    - `limit` integer, required
    - `page` integer, required
    - `total` integer, required

## Other responses

- `401`: Authentication failed
- `422`: Validation Error
- `500`: Failed to list detectors
- `503`: Authentication service unavailable

---

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