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

# Get Agent Profile

`GET /agents/{agent_id}/profile`

## Request

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

Get full profile info for an agent: stats + current user's recent conversations.

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

- AgentProfileResponse
  - `agent` AgentResponse, required
    - `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
  - `total_messages` integer
  - `total_chats` integer
  - `recent_chats` ConversationListItem[]
    - `id` string, required
    - `agent_id` string, required
    - `agent_name` string, nullable
    - `agent_icon_url` string, nullable
    - `agent_slug` string, nullable
    - `title` string, nullable
    - `message_count` integer
    - `last_message` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, 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)
