> ## 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.

# سرد سجل تصدير سجلات المستخدم

> GET /user-logs/

يسرد مهام تصدير السجلات الخاصة بالحساب، على مضيف **واجهة برمجة التطبيقات للإدارة** (`api.scanova.io`)، مع المصادقة باستخدام مفتاح واجهة برمجة التطبيقات للإدارة الخام الخاص بك.

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

<ParamField query="status" type="string">
  التصفية حسب حالة المهمة: `new` أو `completed` أو `failed`.
</ParamField>

<ParamField query="search" type="string">
  البحث ضمن الاسم الأول واسم العائلة والبريد الإلكتروني للمستخدم الذي قام بالتصدير.
</ParamField>

<ParamField query="ordering" type="string">
  الترتيب حسب `created` أو `completed_on` أو `status` — أضف البادئة `-` للترتيب التنازلي. القيمة الافتراضية هي `-created`.
</ParamField>

<ParamField query="page" type="integer">
  رقم الصفحة.
</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>
  لا يوجد طرف منفصل لحالة مهمة تصدير حسب المعرّف — استعلِم عن هذه القائمة بدلاً من ذلك (بالتصفية حسب `status`، أو البحث/الترتيب لإيجاد مهمة محددة) بدلاً من `GET /user-logs/{id}/`، وهو غير موجود؛ يدعم هذا المسار `DELETE` فقط.
</Note>

يكون `result_file` و`completed_on` بقيمة `null` حتى تصل المهمة إلى `completed`. تُوسم المهمة العالقة في حالة `new` لأكثر من 30 دقيقة تلقائيًا بـ `failed`.

## ذو صلة

* [تشغيل تصدير سجلات نشاط المستخدم](/ar/api-reference/management-api/user-logs/export) — بدء مهمة جديدة.
* [حذف سجل من سجل التصدير](/ar/api-reference/management-api/user-logs/delete) — إزالة سجل تتبع مهمة.
* [نظرة عامة على واجهة برمجة التطبيقات للإدارة](/ar/api-reference/management-api/overview) — مخطط المصادقة وقواعد الحصة المطبّقة على هذا الطرف.


## 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.

````