> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List user log export history

> GET /user-logs/

Lists the account's log export jobs, on the **Management API** host (`api.scanova.io`), authenticated with your raw Management API key.

```
GET https://api.scanova.io/user-logs/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

<ParamField query="status" type="string">
  Filters by job status: `new`, `completed`, or `failed`.
</ParamField>

<ParamField query="search" type="string">
  Searches the exporting user's first name, last name, and email.
</ParamField>

<ParamField query="ordering" type="string">
  Sorts by `created`, `completed_on`, or `status` — prefix with `-` for descending. Default is `-created`.
</ParamField>

<ParamField query="page" type="integer">
  Page number.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.scanova.io/user-logs/?status=completed" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 482,
        "status": "completed",
        "result_file": "https://cdn.example.com/media/user_logs/results/1042/2026/09/Logs_09072026143210.csv",
        "completed_on": "2026-09-07T14:32:10Z",
        "created": "2026-09-07T14:31:55Z",
        "created_by_name": "Anuj Sharma"
      },
      {
        "id": 481,
        "status": "failed",
        "result_file": null,
        "completed_on": null,
        "created": "2026-09-06T09:12:00Z",
        "created_by_name": "ops@scanova.io"
      }
    ]
  }
  ```
</ResponseExample>

<Note>
  There is no separate by-id status endpoint for an export job — poll this list (filtering by `status`, or searching/ordering to find a specific job) rather than a `GET /user-logs/{id}/`, which doesn't exist; that path only supports `DELETE`.
</Note>

`result_file` and `completed_on` are `null` until the job reaches `completed`. A job stuck at `new` for more than 30 minutes is automatically marked `failed`.

## Related

* [Trigger a user activity log export](/api-reference/management-api/user-logs/export) — start a new job.
* [Delete an export history record](/api-reference/management-api/user-logs/delete) — remove a job's tracking record.
* [Management API overview](/api-reference/management-api/overview) — the auth scheme and quota rules that apply to this endpoint.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /user-logs/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /user-logs/:
    get:
      summary: List user log export history
      description: >-
        Tracking records for the account's own log export jobs. Poll this
        endpoint to watch `status` (`new` → `completed`/`failed`) for an
        in-flight export — there is no separate by-id status endpoint.
      operationId: listUserLogsExports
      parameters:
        - name: status
          in: query
          schema:
            type: string
            enum:
              - new
              - completed
              - failed
        - name: search
          in: query
          schema:
            type: string
        - name: ordering
          in: query
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: Paginated list of export jobs.
          content:
            application/json:
              example:
                count: 2
                next: null
                previous: null
                results:
                  - id: 482
                    status: completed
                    result_file: >-
                      https://cdn.example.com/media/user_logs/results/1042/2026/09/Logs_09072026143210.csv
                    completed_on: '2026-09-07T14:32:10Z'
                    created: '2026-09-07T14:31:55Z'
                    created_by_name: Anuj Sharma
                  - id: 481
                    status: failed
                    result_file: null
                    completed_on: null
                    created: '2026-09-06T09:12:00Z'
                    created_by_name: ops@scanova.io
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````