# Get a UI skill

Fetches a UI skill.

```http
GET https://api.pozy.ai/v1/accounts/{accountId}/business-agent/ui-skills/{uiSkillId}
```

- Area: WhatsApp / Business Agent
- Auth: Authorization: Bearer pz_live_...

## Path parameters

- `accountId` (string, required)
- `uiSkillId` (string, required)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/business-agent/ui-skills/6e60bb51bfb013d49c0979d4" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/business-agent/ui-skills/6e60bb51bfb013d49c0979d4", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/business-agent/ui-skills/6e60bb51bfb013d49c0979d4",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `title`, string
- `component_type`, string, required: One of `carousel_quick_reply`, `carousel_url`, `cta_url`, `flow`, `image`, `interactive_list`, `interactive_reply_buttons`, `location`, `location_request`
- `status`, string, required: One of `enabled`, `disabled`
- `instruction`, string, required
- `flow_id`, integer
- `id`, string, required
- `created_at`, integer
- `updated_at`, integer

```json
{
  "title": "Launch day",
  "component_type": "carousel_quick_reply",
  "status": "enabled",
  "instruction": "string",
  "flow_id": 1,
  "id": "6bfebd43ddc270f6d2c56fc5",
  "created_at": 1,
  "updated_at": 1
}
```
