---
title: "Get Policy Attachment"
method: GET
path: "/policies/attachments/{attachment_id}"
tags: ["Policies"]
---

# Get Policy Attachment

`GET /policies/attachments/{attachment_id}`

## Request

- Base URL: `https://api.vibebrowser.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vibebrowser.app/policies/attachments/{attachment_id}`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

Get a policy attachment by ID.

Example Request:
```bash
curl -X GET "http://localhost:4000/policies/attachments/123e4567-e89b-12d3-a456-426614174000" \
    -H "Authorization: Bearer <your_api_key>"
```

## Path parameters

- `attachment_id` string, required

## Response `200`

Successful Response

- PolicyAttachmentDBResponse: Response for a policy attachment from the database.
  - `attachment_id` string, required: Unique ID of the attachment.
  - `policy_name` string, required: Name of the attached policy.
  - `scope` string, nullable: Scope of the attachment.
  - `teams` string[]: Team patterns.
  - `keys` string[]: Key patterns.
  - `models` string[]: Model patterns.
  - `tags` string[]: Tag patterns.
  - `created_at` string, date-time, nullable: When the attachment was created.
  - `updated_at` string, date-time, nullable: When the attachment was last updated.
  - `created_by` string, nullable: Who created the attachment.
  - `updated_by` string, nullable: Who last updated the attachment.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/23d8a3c192b6?raw)
