2kw.ai provides an OpenAI-compatible AI gateway, including a structured extraction API that accepts text and returns structured data using a supplied schema.

API

What your agent can do

  • Send text and, for inputs that fit a synchronous run, get the structured data back in the same response.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://api.2kw.ai/v1/extractions

Authentication
Authorization: Bearer sk_your_api_key

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked