---
title: "Upload screens analytics JSON"
method: PUT
path: "/admin/screens-analytics"
tags: ["Admin Screens Analytics"]
---

# Upload screens analytics JSON

`PUT /admin/screens-analytics`

Accepts either a JSON body (object or array) or a multipart file upload with a `.json` file in the `file` field. Replaces the current analytics snapshot on subsequent uploads.

## Request body

- union
  - object
  - unknown[]
    - unknown
  - object
    - `file` string, binary, required

## Response `200`

Screens analytics saved successfully

- ScreensAnalyticsDto
  - `id` string, uuid, required
  - `data` union, required — Uploaded screens analytics JSON payload
    - object
    - unknown[]
      - unknown
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
