Knowledge base
Get knowledge base entry by ID
Retrieves detailed information about a specific knowledge base entry using its ID. This endpoint returns the complete entry data including its type, status, content, and metadata. You can use this to check the processing status of your training content, view the raw and processed text, and see when it was created and last updated. This is useful for monitoring the progress of your training data as it moves through the processing pipeline.
get/v1/replicas/{replicaUUID}/knowledge-base/{knowledgeBaseID}
Request
- Base URL: https://api.sensay.io
- URL: https://api.sensay.io/v1/replicas/{replicaUUID}/knowledge-base/{knowledgeBaseID}
- Auth: one of:
- API key in header X-ORGANIZATION-SECRET
- API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE
Path parameters
knowledgeBaseIDnumber nullable required
The unique identifier of the knowledge base entry
Example:12345
replicaUUIDstring uuid required
The replica unique identifier (UUID)
Example:03db5651-cb61-4bdf-9ef0-89561f7c9c53
Headers
X-API-Versionstring
Example:2025-03-25
Response
The requested knowledge base entry.
Example response
{
"id": 12345,
"replicaUUID": "03db5651-cb61-4bdf-9ef0-89561f7c9c53",
"url": "http://example.com",
"createdAt": "2025-04-15T08:11:00.093761+00:00",
"updatedAt": "2025-04-15T08:15:05.299349+00:00",
"title": "Company information",
"generatedTitle": "Company information and business hours",
"summary": "Basic company details including founding date, business focus, and operating hours.",
"language": "en",
"website": {
"url": "https://example.com",
"title": "Example Website Title",
"text": "This is the main text content extracted from the website.",
"description": "This website provides information about our company and services."
},
"youtube": {
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"title": "Example YouTube Video Title",
"description": "This is a description of the YouTube video content.",
"thumbnailURL": "https://i.ytimg.com/vi/VIDEO_ID/hqdefault.jpg",
"summary": "A concise summary of the key points covered in the video.",
"transcription": "This is the complete transcript of the video content...",
"visualTranscription": "Visual elements and scenes described in text format"
},
"file": {
"name": "company_handbook.pdf",
"size": 204800,
"mimeType": "application/epub+zip",
"downloadURL": "https://example.com/download/company_handbook.pdf?signed=..."
},
"error": {
"fingerprint": "12345",
"message": "Failed to process the entry due to invalid format."
},
"rawText": "Our company was founded in 2020. We specialize in AI-powered customer service solutions. Our business hours are Monday to Friday, 9 AM to 5 PM Eastern Time.",
"generatedFacts": [
"The company was founded in 2020.",
"We specialize in AI-powered customer service solutions."
],
"rawTextChunks": [
{
"content": "First part of the document content.",
"chunkIndex": 0,
"chunkTokens": 7,
"chunkChars": 35
},
{
"content": "Second part of the document content.",
"chunkIndex": 1,
"chunkTokens": 7,
"chunkChars": 36
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.