---
title: "Lists predefined skills"
method: GET
path: "/agents/builtin_skills"
tags: ["Agents"]
---

# Lists predefined skills

`GET /agents/builtin_skills`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/agents/builtin_skills`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/agents/builtin_skills/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the list of predefined skills available for use. Includes information about which skills are already added, plus install_count, star_count, and is_starred_by_me.

## Response `200`

Successful operation

- object[]
  - `id` string
  - `skill_name` string
  - `description` string
  - `is_skill_added` boolean
  - `user_skill_id` string, nullable: The caller's installed agent_skill id, set when is_skill_added is true.
  - `added_by_admin` boolean: True for admin-published entries, false for predefined skills.
  - `added_by_email` string, nullable: Email of the publishing admin, for admin-published entries.
  - `added_by_user_id` string, nullable: User id of the publishing admin. Only set on admin-published entries.
  - `version` string: Skill version. Only set on predefined entries.
  - `updated_at` string: Last update timestamp. Only set on predefined entries.
  - `official` boolean: True for officially maintained skills. Only set on predefined entries.
  - `install_count` integer: Distinct users who currently have this skill installed.
  - `star_count` integer: Number of users who have starred this skill.
  - `is_starred_by_me` boolean: Whether the calling user has starred this skill.
  - `last_edited_by_email` string, nullable: Email of the last publisher to edit this entry. Served only to callers who can manage the library, on admin-published entries.

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
