Skip to main content
GET
/
api
/
admin
/
analytics
Get Platform Analytics
curl --request GET \
  --url https://api.orchata.ai/api/admin/analytics \
  --header 'Oai-Api-Key: <api-key>'
{
  "totalUsers": 123,
  "totalOrganizations": 123,
  "totalSpaces": 123,
  "totalDocuments": 123,
  "documentsPerSpace": [
    {
      "spaceId": "<string>",
      "spaceName": "<string>",
      "count": 123
    }
  ],
  "recentActivity": {
    "usersThisWeek": 123,
    "documentsThisWeek": 123,
    "orgsThisWeek": 123
  }
}

Authorizations

Oai-Api-Key
string
header
required

Response

Platform analytics

totalUsers
number
required
totalOrganizations
number
required
totalSpaces
number
required
totalDocuments
number
required
documentsPerSpace
object[]
required
recentActivity
object
required