User Analytics

Retrieves analytics for the current user.

get

Retrieves analytics for the current user.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Query parameters
searchTextstringOptional

Optional search text to filter results.

pageNumberinteger · int32Optional

The page number to retrieve.

usagebooleanOptional

Whether to include usage statistics.

rolesbooleanOptional

Whether to include user roles.

Responses
200

OK

get
/projects/admin/current-user
GET /projects/admin/current-user HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "reviewJobs": 1,
  "reviewCredits": 1,
  "chat": {
    "credits": 1,
    "jobs": 1
  },
  "conversation": {
    "credits": 1,
    "jobs": 1
  },
  "chatDocuments": {
    "credits": 1,
    "jobs": 1
  },
  "chatTextAnalysis": {
    "credits": 1,
    "jobs": 1
  },
  "totalCredits": 1,
  "totalJobs": 1
}

Retrieves a paginated list of organization members with analytics.

get

Retrieves a paginated list of organization members with analytics.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Query parameters
searchTextstringOptional

Optional search text to filter members.

pageNumberinteger · int32Optional

The page number to retrieve.

usagebooleanOptional

Whether to include usage statistics.

rolesbooleanOptional

Whether to include user roles.

Responses
200

OK

get
/projects/admin/users
GET /projects/admin/users HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "members": [
    {
      "name": "text",
      "user_id": "text",
      "email": "text",
      "resourceSummary": {
        "allAssistants": {
          "credits": 1,
          "jobs": 1
        },
        "flowCredits": 1,
        "flowJobs": 1,
        "totalCredits": 1,
        "totalJobs": 1
      },
      "roles": [
        {
          "id": "text",
          "name": "text"
        }
      ]
    }
  ],
  "count": 1
}

Last updated