Qyra
ReferenceProjects

Get download activity log

Get download activity log for a project, ordered by most recent first. Two pagination modes are supported: - Offset mode: pass `page` (1-indexed) and `pageSize`. Response includes `page`/`totalResults`/`totalPageCount`. - Cursor mode: pass `cursor` (from a previous response's `nextCursor`) and `pageSize`. `page` is ignored when `cursor` is provided. Avoids the count query so `page`/`totalResults`/`totalPageCount` are null in the response.

GET/api/v1/analytics/user-activity/{projectUuid}/download-activity

Authentication: personal access token. The spec defines an api_key security scheme — send an Authorization: ApiKey <your-personal-access-token> header (value format: ApiKey <your key>). A session_cookie scheme (connect.sid) exists for browser sessions. Operations in this spec declare security: [], an artifact of the upstream spec generator — authentication is still enforced by the server.

Path parameters

NameTypeRequiredDescription
projectUuidstringYes

Query parameters

NameTypeRequiredDescription
pageSizenumberYesnumber of items per page
pagenumberNopage number (1-indexed); defaults to 1 if omitted
cursorstringNoopaque cursor from a previous response's nextCursor

Responses

200 — Success

{
  "results": {
    "pagination": {
      "nextCursor": "string",
      "totalResults": 0,
      "totalPageCount": 0,
      "page": 0,
      "pageSize": 0
    },
    "data": [
      {
        "originalQueryContext": "string",
        "downloadedAt": "2024-01-01T00:00:00.000Z",
        "fileType": "string",
        "userLastName": "string",
        "userFirstName": "string",
        "userUuid": "string",
        "queryUuid": "string",
        "downloadUuid": "string"
      }
    ]
  },
  "status": "ok"
}

default — Error

{
  "error": {
    "data": "string",
    "message": "string",
    "name": "string",
    "statusCode": 0
  },
  "status": "error"
}