---
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/4493/api/doc/kibana/operation/operation-get-agent-builder-skills-skillid
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/operation/operation-get-agent-builder-skills-skillid
products:
  - Kibana
---

# Get a skill by id

Availability: Experimental since 9.4

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

## Paths

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

#### Path parameters

- `skillId` (string · min length: 1 · max length: 512) — required
  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).

## Required authorization

- Privileges: `agentBuilder:read`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Response

Indicates a successful response

`application/json`

## 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"
  ]
}
```

