Skip to main content
GET
/
knowledge-bases
/
{id}
/
sources
/
{sourceId}
Get Source
curl --request GET \
  --url https://api.revring.ai/v1/knowledge-bases/{id}/sources/{sourceId} \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "knowledgeBaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sourceType": "file",
    "displayName": "<string>",
    "status": "queued",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "content": "<string>",
    "originalUrl": "<string>",
    "mimeType": "<string>",
    "fileSize": 123,
    "errorMessage": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Path Parameters

id
string<uuid>
required

Knowledge base ID

sourceId
string<uuid>
required

Source ID

Response

Source details

data
object

A source within a knowledge base