Skip to main content
GET
/
organization
/
rag
List all public AI sources
curl --request GET \
  --url https://api.getfernand.com/organization/rag \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": 42,
    "name": "documentation.pdf",
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "source": "URL",
    "created_at": "2024-01-15T10:30:00Z",
    "created_at_ts": 1705315800000,
    "last_updated_at": "2024-01-20T14:45:00Z",
    "last_updated_at_ts": 1705759500000,
    "size": 2048,
    "url": "https://docs.piedpiper.com/guide"
  }
]
Returns all public sources in our store used for AI. Limited to 250 most recent entries.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Response

200 - application/json

RAG sources retrieved successfully.

id
integer<int32>
required

Unique identifier for the vector store file

Example:

42

name
string
required

Display name for the file (filename if available, URL, or generated name based on source)

Example:

"documentation.pdf"

uuid
string
required

Unique identifier for tracking this file

Maximum string length: 40
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

source
enum<string>
required

Type of source for this file

Available options:
URL,
TEXT,
QUESTION,
MESSAGE,
ARTICLE
Example:

"URL"

created_at
string<date-time>
required

Timestamp when the file was added to the vector store (UTC)

Example:

"2024-01-15T10:30:00Z"

created_at_ts
integer<int64>
required

Unix timestamp in milliseconds when the file was added

Example:

1705315800000

last_updated_at
string<date-time>
required

Timestamp when the file content was last modified (UTC)

Example:

"2024-01-20T14:45:00Z"

last_updated_at_ts
integer<int64>
required

Unix timestamp in milliseconds when the file was last updated

Example:

1705759500000

size
integer<int32>
required

Size of the file in bytes

Required range: x >= 0
Example:

2048

url
string | null

Source URL for the file (if it was crawled from a web page)

Maximum string length: 1000
Example:

"https://docs.piedpiper.com/guide"