---
title: "List Attestation Policies"
method: GET
path: "/policies/attestation"
tags: ["Policies"]
---

# List Attestation Policies

`GET /policies/attestation`

## Request

- Base URL: `http://localhost:8000/api/v1`
- URL: `http://localhost:8000/api/v1/policies/attestation`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/deeptrail/apis/deepsecure-api-dual-service-architecture/docs/policies/attestation/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of attestation policies used for agent bootstrapping.
These policies control which workloads can bootstrap agent identities.

## Query parameters

- `skip` integer
- `limit` integer

## Response `200`

List of attestation policies retrieved successfully

- AttestationPolicy[]
  - `id` string, uuid
  - `platform` 'kubernetes' | 'aws' | 'azure' | 'docker'
  - `selector` object: Platform-specific selector criteria
  - `effect` 'allow' | 'deny'
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized - Invalid or missing authentication
- `500`: Internal Server Error - Unexpected server error

---

[API](https://skmtc.dev/deeptrail/apis/deepsecure-api-dual-service-architecture.md) - [All operations](https://skmtc.dev/deeptrail/apis/deepsecure-api-dual-service-architecture/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrail/apis/deepsecure-api-dual-service-architecture/revisions/78627360c082?raw)
