---
title: "Get Agent By Slug"
method: GET
path: "/agents/by-slug/{agent_slug}"
tags: ["Agents"]
---

# Get Agent By Slug

`GET /agents/by-slug/{agent_slug}`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/agents/by-slug/{agent_slug}`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Get details of a specific agent by its unique alphanumeric slug.

## Path parameters

- `agent_slug` string, required

## Response `200`

Successful Response

- AgentResponse
  - `id` string, required
  - `name` string, required
  - `agent_id` string, required
  - `description` string, nullable
  - `system_prompt` string, required
  - `icon_url` string, nullable
  - `daily_credit_limit` number, required
  - `welcome_message` string, nullable
  - `initial_suggestions` object[], nullable
  - `theme` string, nullable
  - `like_count` integer
  - `has_liked` boolean
  - `created_at` string, date-time, required
  - `is_published` boolean
  - `is_template` boolean
  - `is_vadoo` boolean
  - `user_id` integer, nullable
  - `owner_email` string, nullable
  - `owner_username` string, nullable
  - `is_owner` boolean
  - `skills` SkillResponse[]
    - `id` string, required
    - `aitask_id` integer, required
    - `name` string, required
    - `description` string, required

## Other responses

- `422`: Validation Error

---

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