Skip to main content
POST
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{workspaceId}
/
knowledge-bases
/
{kbId}
/
query
Query a ready knowledge base.
curl --request POST \
  --url https://api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{workspaceId}/knowledge-bases/{kbId}/query \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "requestId": "<string>",
    "details": {}
  }
}
Use this endpoint through the Developer API or the matching firstsales CLI command when available. Responses use the stable FirstSales public error envelope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required
workspaceId
string
required
kbId
string
required

Response

Answer and sanitized source labels.