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

# Get an agent

`GET /agents/{id}`

## Request

- Base URL: `https://workflow.loopfour.ai/api/v1`
- URL: `https://workflow.loopfour.ai/api/v1/agents/{id}`
- Auth: API key in header `x-api-key`

Returns details for a specific agent, including core agents.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `success` unknown
  - `data` Agent
    - `id` string
    - `name` string
    - `type` 'extraction' | 'content' | 'transform' | 'decision' | 'code' | 'classification' | 'custom'
    - `provider` 'openai' | 'anthropic'
    - `model` string
    - `version` number
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400`: Bad request — invalid parameters or request body.
- `401`: Missing or invalid API key.
- `403`: Forbidden — insufficient permissions for this resource.
- `404`: Resource not found.

---

[API](https://skmtc.dev/loopfour/apis/loopfour-workflows-api.md) - [All operations](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/revisions/872822a3af00?raw)
