---
title: "Get Agent"
method: GET
path: "/gateway/settings/agents/{agent_id}"
---

# Get Agent

`GET /gateway/settings/agents/{agent_id}`

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- AgentOut — Response shape for agent GET / POST / PUT.
  - `id` string, uuid, required — A unique ID for the request (not the message). Repeated identical requests get different IDs. However, for a streaming response, the ID will be the same for all responses in the stream.
  - `workspace_id` string, uuid, required
  - `agent_id` string, required
  - `name` string, required
  - `kind` string, required
  - `description` string
  - `config_id` string
  - `enabled` boolean, required
  - `used` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ai21/apis/ai21-studio-api.md) · [All operations](https://skmtc.net/ai21/apis/ai21-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ai21/ai21-studio-api/versions/4cf5219c90d1/schema)
