> ## 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 /analytics/report/{pk}/update/

يجلب تقرير تحليلات محفوظًا واحدًا.

<Note>
  يتطلب مفتاح واجهة برمجة تطبيقات إدارة بحصة `MANAGEMENT_API` (أو `MANAGEMENT_API_SANDBOX`) — راجع [نظرة عامة على واجهة برمجة التطبيقات للإدارة](/ar/api-reference/management-api/overview).
</Note>

<ParamField path="pk" type="integer" required>
  معرّف `id` للتقرير، من [سرد تقارير التحليلات](/ar/api-reference/management-api/analytics/report-list).
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.scanova.io/analytics/report/58/update/' \
    --header 'Authorization: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": 58,
    "filter_type": "qrcode",
    "start_date": "2026-08-01",
    "end_date": "2026-08-31",
    "report_type": "both",
    "analytics_format": "xlsx",
    "scan_format": "csv",
    "status": "completed",
    "report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
    "completed_on": "2026-09-01T08:12:00Z",
    "is_saved": true,
    "saved_name": "Monthly QR Report",
    "created": "2026-09-01T08:10:00Z",
    "requested_by_name": "Docs"
  }
  ```
</ResponseExample>

<Note>
  رغم أن المسار ينتهي بـ `/update/`، فإن `GET` هنا هو مجرد عملية جلب — يُقيَّد مجموعة الاستعلام بالتقارير التي تكون فيها `is_saved` بقيمة `true`، لذا فإن التقرير غير المحفوظ (لمرة واحدة) الذي أُنشئ عبر [تشغيل إنشاء تقرير تحليلات](/ar/api-reference/management-api/analytics/report-create) لا يمكن الوصول إليه عبر هذا الطرف؛ استخدم [سرد تقارير التحليلات](/ar/api-reference/management-api/analytics/report-list) لتلك التقارير بدلاً من ذلك. يُعاد `404` إذا لم يكن `pk` تقريرًا محفوظًا يملكه هذا الحساب.
</Note>

## ذو صلة

* [سرد تقارير التحليلات](/ar/api-reference/management-api/analytics/report-list) — إيجاد معرّف `id` التقرير.
* [تحديث تقرير تحليلات محفوظ](/ar/api-reference/management-api/analytics/report-update) — إعادة تسميته أو تعديله.
* [نظرة عامة على واجهة برمجة التطبيقات للإدارة](/ar/api-reference/management-api/overview) — مخطط المصادقة وبنية الحصص التي ينتمي إليها هذا الطرف.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /analytics/report/{pk}/update/
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:
  /analytics/report/{pk}/update/:
    get:
      summary: Retrieve a saved analytics report
      description: 'Retrieves one saved report (`is_saved: true`) owned by this account.'
      operationId: retrieveAnalyticsReport
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Report detail.
          content:
            application/json:
              example:
                id: 58
                filter_type: qrcode
                start_date: '2026-08-01'
                end_date: '2026-08-31'
                report_type: both
                analytics_format: xlsx
                scan_format: csv
                status: completed
                report_file: https://cdn.example.com/media/analytics_reports/58/report.xlsx
                completed_on: '2026-09-01T08:12:00Z'
                is_saved: true
                saved_name: Monthly QR Report
                created: '2026-09-01T08:10:00Z'
                requested_by_name: Docs
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.

````