/api
api — 34 abstractions.
Claude Code
$ npx -y skills add webiny/webiny-js --skill api --agent claude-code
Codex
$ npx skills add webiny/webiny-js --skill api -a codex -y
Cursor
$ npx skills add webiny/webiny-js --skill api -a cursor -y
Gemini CLI
$ npx skills add webiny/webiny-js --skill api -a gemini-cli -y
GitHub Copilot
$ npx skills add webiny/webiny-js --skill api -a github-copilot -y
OpenCode
$ npx skills add webiny/webiny-js --skill api -a opencode -y
Windsurf
$ npx skills add webiny/webiny-js --skill api -a windsurf -y
SKILL.md
api.SKILL.mdname: webiny-api-catalog
context: webiny-api
description: >
api — 35 abstractions.
api
How to Use
1. Find the abstraction you need below 2. You MUST read the source file to get the exact interface and types! 3. Import: `import { Name } from "<importPath>";`
Abstractions
---
**Name:** `Ai` **Import:** `import { Ai } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Interact with AI language models using registered providers.
---
**Name:** `AiConnectionFactory` **Import:** `import { AiConnectionFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously produces an AiConnection.
---
**Name:** `AiModelRegistry` **Import:** `import { AiModelRegistry } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Single source of truth for available AI models. Decoratable to restrict the model list.
---
**Name:** `AiSdk` **Import:** `import { AiSdk } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** A single AI SDK instance (e.g. OpenAI, Anthropic) that resolves model instances.
---
**Name:** `AiSdkFactory` **Import:** `import { AiSdkFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously initialises an AI SDK. Register one per provider namespace.
---
**Name:** `AiSdkToolDefinition` **Import:** `import { AiSdkToolDefinition } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `AiSdkToolHandler` **Import:** `import { AiSdkToolHandler } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** The behaviour half of a tool, built on demand through {@link AiSdkToolHandlerResolver}.
Implementations are NOT registered against this abstraction. The definition points at the class directly, exactly as `HttpRouteDefinition` points at its `HttpRouteHandler`. Declaring them through it is what attaches their dependency metadata.
---
**Name:** `BaseError` **Import:** `import { BaseError } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `BuildParam` **Import:** `import { BuildParam } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** A single build-time configuration parameter.
---
**Name:** `BuildParams` **Import:** `import { BuildParams } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** Access build-time configuration parameters.
---
**Name:** `Compression` **Import:** `import { Compression } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/Compression.ts`
---
**Name:** `CompressionHandler` **Import:** `import { CompressionHandler } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/CompressionHandler.ts`
---
**Name:** `createAbstraction` **Import:** `import { createAbstraction } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `createFeature` **Import:** `import { createFeature } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `DomainEvent` **Import:** `import { DomainEvent } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Base class for all domain events.
---
**Name:** `Encryption` **Import:** `import { Encryption } from "webiny/api"` **Source:** `@webiny/api-core/features/encryption/index.ts` **Description:** Symmetric encryption and decryption using a configured secret key.
---
**Name:** `EventPublisher` **Import:** `import { EventPublisher } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Publish domain events to registered handlers.
---
**Name:** `GlobalKeyValueStore` **Import:** `import { GlobalKeyValueStore } from "webiny/api"` **Source:** `@webiny/api-core/features/keyValueStore/index.ts` **Description:** Global (non-tenant-scoped) key-value store.
---
**Name:** `Hasher` **Import:** `import { Hasher } from "webiny/api"` **Source:** `@webiny/api-core/features/hashing/index.ts` **Description:** Hashes and verifies secret values (passwords, API-key secrets, tokens, …) with a slow, salted KDF — built for the "store a hash, later verify a presented value" pattern.
NOT a general-purpose digest: output is salted and non-deterministic, so this is the wrong tool for checksums / cache keys / dedup (use a fast deterministic digest util for those). Swap the implementation to change algorithms (e.g. Argon2id); stored hashes are self-describing, so old hashes keep verifying after a swap.
---
**Name:** `HttpAllowedRequestHeaders` **Import:** `import { HttpAllowedRequestHeaders } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`
---
**Name:** `HttpRouteDefinition` **Import:** `import { HttpRouteDefinition } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`
---
**Name:** `HttpRouteHandler` **Import:** `import { HttpRouteHandler } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts` **Description:** Declares a route's request handling. One shared abstraction: the router never resolves it from the container (that would build every route), it builds the ONE class a matched definition points at. Declaring implementations through it is what attaches their dependency metadata.
---
**Name:** `IAiConnection` **Kind:** type **Import:** `import type { IAiConnection } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `IAiConnectionInline` **Kind:** type **Import:** `import type { IAiConnectionInline } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `IHttpRequest` **Kind:** type **Import:** `import type { IHttpRequest } from "webiny/api"` **Sour
Read more
name: webiny-api-catalog context: webiny-api description: > api — 35 abstractions.
api
How to Use
1. Find the abstraction you need below 2. You MUST read the source file to get the exact interface and types! 3. Import: `import { Name } from "<importPath>";`
Abstractions
---
**Name:** `Ai` **Import:** `import { Ai } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Interact with AI language models using registered providers.
---
**Name:** `AiConnectionFactory` **Import:** `import { AiConnectionFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously produces an AiConnection.
---
**Name:** `AiModelRegistry` **Import:** `import { AiModelRegistry } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Single source of truth for available AI models. Decoratable to restrict the model list.
---
**Name:** `AiSdk` **Import:** `import { AiSdk } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** A single AI SDK instance (e.g. OpenAI, Anthropic) that resolves model instances.
---
**Name:** `AiSdkFactory` **Import:** `import { AiSdkFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously initialises an AI SDK. Register one per provider namespace.
---
**Name:** `AiSdkToolDefinition` **Import:** `import { AiSdkToolDefinition } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `AiSdkToolHandler` **Import:** `import { AiSdkToolHandler } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** The behaviour half of a tool, built on demand through {@link AiSdkToolHandlerResolver}.
Implementations are NOT registered against this abstraction. The definition points at the class directly, exactly as `HttpRouteDefinition` points at its `HttpRouteHandler`. Declaring them through it is what attaches their dependency metadata.
---
**Name:** `BaseError` **Import:** `import { BaseError } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `BuildParam` **Import:** `import { BuildParam } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** A single build-time configuration parameter.
---
**Name:** `BuildParams` **Import:** `import { BuildParams } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** Access build-time configuration parameters.
---
**Name:** `Compression` **Import:** `import { Compression } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/Compression.ts`
---
**Name:** `CompressionHandler` **Import:** `import { CompressionHandler } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/CompressionHandler.ts`
---
**Name:** `createAbstraction` **Import:** `import { createAbstraction } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `createFeature` **Import:** `import { createFeature } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`
---
**Name:** `DomainEvent` **Import:** `import { DomainEvent } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Base class for all domain events.
---
**Name:** `Encryption` **Import:** `import { Encryption } from "webiny/api"` **Source:** `@webiny/api-core/features/encryption/index.ts` **Description:** Symmetric encryption and decryption using a configured secret key.
---
**Name:** `EventPublisher` **Import:** `import { EventPublisher } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Publish domain events to registered handlers.
---
**Name:** `GlobalKeyValueStore` **Import:** `import { GlobalKeyValueStore } from "webiny/api"` **Source:** `@webiny/api-core/features/keyValueStore/index.ts` **Description:** Global (non-tenant-scoped) key-value store.
---
**Name:** `Hasher` **Import:** `import { Hasher } from "webiny/api"` **Source:** `@webiny/api-core/features/hashing/index.ts` **Description:** Hashes and verifies secret values (passwords, API-key secrets, tokens, …) with a slow, salted KDF — built for the "store a hash, later verify a presented value" pattern.
NOT a general-purpose digest: output is salted and non-deterministic, so this is the wrong tool for checksums / cache keys / dedup (use a fast deterministic digest util for those). Swap the implementation to change algorithms (e.g. Argon2id); stored hashes are self-describing, so old hashes keep verifying after a swap.
---
**Name:** `HttpAllowedRequestHeaders` **Import:** `import { HttpAllowedRequestHeaders } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`
---
**Name:** `HttpRouteDefinition` **Import:** `import { HttpRouteDefinition } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`
---
**Name:** `HttpRouteHandler` **Import:** `import { HttpRouteHandler } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts` **Description:** Declares a route's request handling. One shared abstraction: the router never resolves it from the container (that would build every route), it builds the ONE class a matched definition points at. Declaring implementations through it is what attaches their dependency metadata.
---
**Name:** `IAiConnection` **Kind:** type **Import:** `import type { IAiConnection } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `IAiConnectionInline` **Kind:** type **Import:** `import type { IAiConnectionInline } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`
---
**Name:** `IHttpRequest` **Kind:** type **Import:** `import type { IHttpRequest } from "webiny/api"` **Sour
Open-source content platform. Self-hosted on AWS serverless. Built as a TypeScript framework you extend with code, not a closed product you configure through a UI. Runs on Lambda, DynamoDB, S3, and CloudFront inside your own AWS account. Scales automatically.
Other skills on webiny-js.
More skills from other plugins.
prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
ppt-master
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
frontend-slides
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…
Questions about api.
- Which coding agents can use api?
- api installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

