---
title: "Get Agent"
method: GET
path: "/agents/{agent_id}"
tags: ["Agents"]
---

# Get Agent

`GET /agents/{agent_id}`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/agents/{agent_id}`
- 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.

## Path parameters

- `agent_id` string, required

## Query parameters

- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## 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)
