---
type: api
title: Get a skill by id
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/operation/operation-get-agent-builder-skills-skillid
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/operation/operation-get-agent-builder-skills-skillid
products:
  - Kibana
---

# Get a skill by id

Availability: 9.4+

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/agent_builder/skills/{skillId}`
- `GET` `/s/{space_id}/api/agent_builder/skills/{skillId}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/authentication#basicauth)

#### Path Parameters

- `skillId` (string · min: 1 · max: 512)
  The unique identifier of the skill.

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get a specific skill by ID. To learn more about Agent Builder skills, refer to the [skills documentation](https://www.elastic.co/docs/explore-analyze/ai-features/agent-builder/skills).<br/><br/>[Required authorization] Route required privileges: agentBuilder:read.

## Response

Indicates a successful response

## Code Examples

#### Console

```console
GET kbn:/api/agent_builder/skills/{skillId}
```

#### curl

```curl
curl \
  -X GET "https://${KIBANA_URL}/api/agent_builder/skills/{skillId}" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response Examples

#### Get skill response

Example response returning a skill by ID

```json
{
  "content": "You are an expert data analyst. Use the available tools to query and analyze data.",
  "description": "A skill for performing custom data analysis.",
  "experimental": false,
  "id": "my-custom-skill",
  "name": "Custom Analysis Skill",
  "readonly": false,
  "tool_ids": [
    "platform.core.search"
  ]
}
```

