Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

kapa.ai Threads API

List, retrieve, and continue conversations.

kapa.ai Threads API is one of 6 APIs that kapa.ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Threads. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 7 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://api.kapa.ai.

4 operations 4 paths 7 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.kapa.ai/query/v1
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

kapa.ai Threads API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — kapa.ai project API key, created in the API Keys tab of the platform.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Threads 4

List, retrieve, and continue conversations.

POST
/query/v1/threads/{thread_id}/chat
Chat in thread
chatInThread 1 param body → 200401
POST
/query/v1/threads/{thread_id}/chat/stream
Chat in thread streamed
chatInThreadStream 1 param body → 200401
GET
/query/v1/threads/{thread_id}
Retrieve a thread
getThread 1 param → 200401
GET
/query/v1/projects/{project_id}/threads
List threads
listThreads 3 params → 200401

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are ChatResponse (5 properties), Thread (4 properties), ChatRequest (3 properties), RelevantSource (3 properties). Each schema is shown below with its type and property counts.

User
object
2 properties
ChatResponse
object
5 properties
Error
object
1 property
ThreadList
object
2 properties
Thread
object
4 properties
RelevantSource
object
3 properties
ChatRequest
object
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kapa-ai-threads-api-openapi.yml Raw ↑

Other APIs kapa.ai publishes across the network.

kapa.ai Analytics API
kapa.ai Chat API
kapa.ai Feedback API
kapa.ai Projects API
kapa.ai Retrieval API