---
title: "Get Agent by Name"
method: GET
path: "/agents/name/{agent_name}"
tags: ["Agents"]
---

# Get Agent by Name

`GET /agents/name/{agent_name}`

Get an agent by its unique name.

## Path parameters

- `agent_name` string, required

## Response `200`

Successful Response

- Agent
  - `id` string, required — The unique identifier of the agent.
  - `name` string, required — The unique name of the agent.
  - `description` string, required — The description of the action.
  - `status` 'Ready' | 'Failed' | 'Unknown' | 'Deleted' | 'Unhealthy' | 'BuildOnly'
  - `acp_type` 'sync' | 'async' | 'agentic', required
  - `status_reason` string, nullable — The reason for the status of the action.
  - `created_at` string, date-time, required — The timestamp when the agent was created
  - `updated_at` string, date-time, required — The timestamp when the agent was last updated
  - `registration_metadata` object, nullable — The metadata for the agent's registration.
  - `registered_at` string, date-time, nullable — The timestamp when the agent was last registered
  - `agent_input_type` 'text' | 'json'
  - `production_deployment_id` string, nullable — ID of the current production deployment.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.net/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/versions/8f725ddc153e/schema)
