Skip to main content
GET
/
organization
/
rag
/
statistics
Get AI usage statistics
curl --request GET \
  --url https://api.getfernand.com/organization/rag/statistics \
  --header 'X-API-Key: <api-key>'
{
  "max_size": 10485760,
  "statistics": {
    "messages": {
      "count": 150,
      "size": 2048576
    },
    "articles": {
      "count": 25,
      "size": 1024000
    },
    "links": {
      "count": 10,
      "size": 512000
    },
    "questions": {
      "count": 40,
      "size": 204800
    },
    "texts": {
      "count": 15,
      "size": 307200
    },
    "files": {
      "count": 5,
      "size": 4096000
    }
  },
  "status": {
    "is_articles_processing": false,
    "is_messages_processing": false,
    "processing_urls": "https://example.com/page"
  }
}
Returns statistics about the organization’s AI data used for RAG (Vector Store).

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

Statistics retrieved successfully.

max_size
integer

Maximum vector store size in bytes.

Example:

10485760

statistics
object

Statistics by content type.

status
object

Processing status.