AI Connect OSAI Connect OS Documentation
DocumentationAPI Reference
Knowledge Bases

GET Get source

Retrieve a single source with processing status.

Endpoint

GET https://api.aiconnectos.com/v1/bases/{baseId}/sources/{sourceId}

Returns the source's metadata and processing status. Poll this endpoint after Add source to detect when chunks are ready.

Path parameters

ParamTypeNotes
baseIduuidKnowledge base id.
sourceIduuidSource id from the add response.

Response

{
  "id": "src_…",
  "baseId": "kb_…",
  "name": "Acme Engineering Handbook",
  "type": "url",
  "url": "https://example.com/handbook.pdf",
  "status": "completed",
  "chunksCount": 142,
  "embeddingModel": "text-embedding-3-small",
  "embeddingDimensions": 1536,
  "createdAt": "2026-05-25T20:14:00Z",
  "updatedAt": "2026-05-25T20:14:38Z",
  "error": null
}

When status is "failed", error contains a human-readable message.

Example

curl https://api.aiconnectos.com/v1/bases/kb_8f3e…/sources/src_1a2b… \
  -H "Authorization: Bearer $STRIDE_API_KEY"

On this page