OpenAPI Specs logo
Knowledge Bases

OpenAPI Specs

Answer API-reference questions directly from your spec URL

What is OpenAPI Specs?

OpenAPI Specifications (formerly Swagger) are machine-readable descriptions of REST APIs in JSON or YAML format. They describe every endpoint, request body, response schema, authentication method, and error code in a single document. Kelu parses and indexes your spec so that natural-language questions like 'how do I paginate the /orders endpoint?' return precise, cited answers drawn from your actual spec.

Integration

How Kelu works with OpenAPI Specs

Everything you can do once the integration is connected.

01

Spec URL

Add your OpenAPI spec as a source URL (JSON or YAML, publicly accessible, up to 16 MB). Kelu re-fetches it every hour and re-indexes what changed.

02

Operation-level chunking

Each API operation (path + method) is chunked individually so retrieval is precise. Asking about POST /orders returns only the orders creation operation — not unrelated endpoints.

03

Parameter and schema awareness

Request parameters, body schemas, response shapes, and enum values are all indexed. Users can ask 'what fields are required for the checkout body?' and get an exact answer from the spec.

04

Multi-spec support

Add multiple OpenAPI specs to a single knowledge base — for example your public API and an internal admin API. Kelu retrieves across all specs and cites the source spec and operation in every answer.

Setup

How to set it up

  1. 1

    In the Kelu dashboard, create or open a knowledge base and add an OpenAPI Spec source. Enter your public spec URL (https://api.example.com/openapi.json).

  2. 2

    Kelu parses and chunks the spec by operation. The first index completes in under a minute for most specs.

  3. 3

    Kelu re-fetches the spec every hour; click Sync Now right after you publish a new version. Embed the chat widget or connect the MCP server for your developer audience.

Got questions?

OpenAPI Specs — Frequently Asked Questions

Common questions about connecting Kelu to OpenAPI Specs.

Ready to connect OpenAPI Specs?

Start free. No credit card required.