---
title: "listAgentSkills"
---

> Documentation Index
> Fetch the complete documentation index at: https://agenthold.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# listAgentSkills

Path: agenthold API › tools

`GET /agents/{agentId}/skills`

URL: `/api/v1/agents/{agentId}/skills`

## Authentication

Requires one of the following:

- `session`, apiKey, in cookie
- `token`, http bearer, header `Authorization`

## Path parameters

- `agentId` (`listAgentSkills.path.agentId`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/api/v1/agents/<agentId>/skills' \
  --cookie 'agenthold_session=<agenthold_session>'
```

### TypeScript

```typescript
const url = '<base-url>/api/v1/agents/<agentId>/skills';
const options = {
  method: 'GET',
  headers: {cookie: 'agenthold_session=<agenthold_session>'}
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/api/v1/agents/<agentId>/skills"

headers = {"cookie": "agenthold_session=<agenthold_session>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Skills attached to the agent.

#### Example

```json
[
  {
    "name": "string",
    "description": "string",
    "content": "string",
    "id": "string",
    "workspaceId": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
]
```

- `name` (`listAgentSkills.response.200.name`; string, required) — Lowercase letters, digits and dashes.
- `description` (`listAgentSkills.response.200.description`; string, required) — When the agent should use the skill.
- `content` (`listAgentSkills.response.200.content`; string, required) — The SKILL.md instructions (Markdown).
- `id` (`listAgentSkills.response.200.id`; string, required)
- `workspaceId` (`listAgentSkills.response.200.workspaceId`; string, required)
- `createdAt` (`listAgentSkills.response.200.createdAt`; string, required)
  - format: `date-time`
- `updatedAt` (`listAgentSkills.response.200.updatedAt`; string, required)
  - format: `date-time`

### 404

Error.

#### Example

```json
{
  "error": "string"
}
```

- `error` (`listAgentSkills.response.404.error`; string, required)


Source: https://agenthold.dev/api/list-agent-skills/index.md
