---
title: "Lists agent skills for the current user."
method: GET
path: "/agents/skills"
tags: ["Agents"]
---

# Lists agent skills for the current user.

`GET /agents/skills`

## Request

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

List all agent skills for the current user.

## Query parameters

- `offset` integer
- `limit` integer
- `query` string

## Response `200`

Successful operation

- AgentSkill[]
  - `id` string
  - `skill_name` string
  - `description` string
  - `config` object
  - `owner_email` string
  - `created_at` string
  - `updated_at` string
  - `enabled` boolean: Whether the skill is enabled for the user.
  - `warnings` string[]: Validation warnings for the skill.
  - `api_keys` object: Env vars the skill declares in envs.json, by requirement.
    - `required` string[]
    - `optional` string[]
  - `api_key_hints` object: Per-env-var description from envs.json.
  - `env_defaults` object: Per-env-var default value from envs.json.

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden
- `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)
