---
title: "Get an agent"
method: GET
path: "/v1/agents/{id}"
tags: ["agents"]
---

# Get an agent

`GET /v1/agents/{id}`

## Request

- Base URL: `https://api.wraps.dev`
- URL: `https://api.wraps.dev/v1/agents/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

- object
  - `id` string, required
  - `organizationId` string, required
  - `name` string, required
  - `emailAddress` string, required
  - `domain` string, required
  - `status` string, required: ACTIVE or KILLED
  - `policy` object, required
    - `maxPerHour` number, required: Max sends per rolling hour (0 flags every send)
    - `maxPerDay` number, required: Max sends per rolling day (0 flags every send)
    - `allowedRecipients` string[], required: Exact recipient addresses always allowed
    - `allowedRecipientDomains` string[], required: Recipient domains always allowed
  - `credentialUserArn` string, required
  - `enforcerFunctionArn` string, required
  - `awsAccountId` string, required
  - `createdBy` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Malformed request — unparseable body or an invalid parameter.
- `401`: Missing, malformed, or revoked credentials. Send `Authorization: Bearer <api key>`.
- `403`: Authenticated, but the resource belongs to another organization.
- `404`
- `422`: The request parsed but failed schema validation.
- `429`: Rate limit exceeded. Wait for the window named by the RateLimit headers.
- `500`: Unexpected server failure. Safe to retry with backoff; quote `requestId` if it persists.

---

[API](https://skmtc.dev/wraps/apis/wraps-platform-api.md) · [All operations](https://skmtc.dev/wraps/apis/wraps-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wraps/apis/wraps-platform-api/revisions/12116fb21af7?raw)
