Skip to main content
POST
/
github-intake
/
knowledge_base_team
/
:teamDataId
Query Knowledge Base
curl --request POST \
  --url https://www.api.baselink.tech/github-intake/knowledge_base_team/:teamDataId \
  --header 'bearer: <api-key>'
{
  "response": "<string>",
  "confidence": 123,
  "sources": [
    {}
  ],
  "sources[].type": "<string>",
  "sources[].title": "<string>",
  "sources[].url": "<string>",
  "sources[].relevance": 123,
  "sessionId": "<string>",
  "processingTime": 123,
  "modelUsed": "<string>"
}
Query the knowledge base for a specific team with AI-powered responses.
response
string
The AI-generated response based on the team’s repository data and knowledge base.
confidence
number
Confidence score of the response (0-1).
sources
array
Array of sources and references used to generate the response.
sources[].type
string
Type of source (repository, documentation, code, etc.).
sources[].title
string
Title or name of the source.
sources[].url
string
URL or reference to the source.
sources[].relevance
number
Relevance score of the source to the question.
sessionId
string
The session ID for maintaining conversation context.
processingTime
number
Time taken to process the query in milliseconds.
modelUsed
string
The AI model used to generate the response.