# API Reference

Anthias API v2.0.0. Manage assets, device settings, backups, and integrations over HTTP.

## Overview

Anthias exposes a REST API so you can manage a player without touching the web interface: script asset uploads, rotate playlists, trigger backups, or wire the device into your own tooling. Everything the dashboard does is available over HTTP, which makes Anthias straightforward to automate across a fleet of screens.

The API runs directly on each device, so the base URL is simply the player’s own address on your network, under `/api/`:

```
http://<device-ip>/api/
```

That is port 80 on a normal install; a development environment serves the same API on port 8000. If you have enabled SSL on the device, use `https://` with the hostname on the certificate instead. Requests and responses are JSON, except for asset uploads, which use `multipart/form-data`.

## Versioning

The API is versioned in the path, and several versions are served side by side so existing integrations keep working as new ones are added:

- **v2** (`/api/v2/…`): the current version. Use this for new integrations. It exposes the full asset model, including the scheduling fields (`play_order`, duration, and the active date window).
- **v1, v1.1, v1.2** (`/api/v1/…`, `/api/v1.1/…`, `/api/v1.2/…`): retained for backwards compatibility. Their request and response shapes stay stable, but the older versions do not expose the newer scheduling fields.

Pin your integration to a specific version so a future release cannot change the shape of the responses you depend on.

## Authentication

A fresh install serves the API without authentication, on the assumption that it sits on a trusted local network. Switch that on from **Settings → Authentication** in the dashboard, or over this API by PATCHing `auth_backend` on `/api/v2/device_settings`; headless clients then authenticate with HTTP Basic. Anthias for AI agents walks through enabling it and the behavior to expect, including the fact that an unauthenticated call redirects to the login form rather than returning `401`.

Either way, do **not** expose a device’s HTTP port directly to the public internet. Basic credentials travel in the clear over plain HTTP, so keep the device behind your LAN or a VPN, or put a reverse proxy with its own access control in front of it.

## Responses and errors

Successful requests return a `2xx` status with a JSON body. Client mistakes (a missing field, a malformed asset) return `4xx` with a JSON error describing what went wrong; unexpected server-side failures return `5xx`. Each endpoint below lists the response codes it can return and the schema of the body that comes with them. Expand a response to see the full field list.

## Endpoints

The complete endpoint reference follows, grouped by tag. Each entry shows the method, path, parameters, request body, and every response it can return.

## assets

get

`/api/v2/assets`

List assets

### Responses

200

Array of:

`AssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers* | object | read-only |
| duration | integer (int64) \| null |  |
| end_date | string (date-time) \| null |  |
| is_active* | boolean | read-only |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| is_reachable* | boolean | read-only |
| last_reachability_check* | string (date-time) \| null | read-only |
| metadata* | object | read-only |
| mimetype | string \| null |  |
| name | string \| null |  |
| nocache | boolean |  |
| play_days* | integer[] | read-only |
| play_order | integer (int64) |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s* | integer | read-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) \| null |  |
| uri | string \| null |  |

post

`/api/v2/assets`

Create asset

### Request body application/json

Schema: `CreateAssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers | object | write-only |
| duration* | integer |  |
| end_date* | string (date-time) |  |
| ext | string | write-only |
| is_enabled* | boolean |  |
| is_processing | boolean |  |
| mimetype* | string |  |
| name* | string |  |
| nocache | boolean |  |
| play_days | integer[] |  |
| play_order | integer |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s | integer | write-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date* | string (date-time) |  |
| uri* | string |  |

### Responses

201

Schema: `AssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers* | object | read-only |
| duration | integer (int64) \| null |  |
| end_date | string (date-time) \| null |  |
| is_active* | boolean | read-only |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| is_reachable* | boolean | read-only |
| last_reachability_check* | string (date-time) \| null | read-only |
| metadata* | object | read-only |
| mimetype | string \| null |  |
| name | string \| null |  |
| nocache | boolean |  |
| play_days* | integer[] | read-only |
| play_order | integer (int64) |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s* | integer | read-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) \| null |  |
| uri | string \| null |  |

get

`/api/v2/assets/control/{command}`

Control asset playback

Use any of the following commands to control asset playback: * `next` - Show the next asset * `previous` - Show the previous asset * `asset&{asset_id}` - Show the asset with the specified `asset_id`

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| command | path | string | yes |

### Responses

200

string

post

`/api/v2/assets/order`

Update playlist order

### Request body application/json

Schema: `PlaylistOrderSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| ids* | string | Comma-separated list of asset IDs in the order they should be played. For example: `793406aa1fd34b85aa82614004c0e63a,1c5cfa719d1f4a9abae16c983a18903b,9c41068f3b7e452baf4dc3f9b7906595`write-only |

### Responses

204

No response body

get

`/api/v2/assets/{asset_id}`

Get asset

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Responses

200

Schema: `AssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers* | object | read-only |
| duration | integer (int64) \| null |  |
| end_date | string (date-time) \| null |  |
| is_active* | boolean | read-only |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| is_reachable* | boolean | read-only |
| last_reachability_check* | string (date-time) \| null | read-only |
| metadata* | object | read-only |
| mimetype | string \| null |  |
| name | string \| null |  |
| nocache | boolean |  |
| play_days* | integer[] | read-only |
| play_order | integer (int64) |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s* | integer | read-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) \| null |  |
| uri | string \| null |  |

put

`/api/v2/assets/{asset_id}`

Update asset

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Request body application/json

Schema: `UpdateAssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| custom_headers | object |  |
| duration* | integer |  |
| end_date* | string (date-time) |  |
| is_enabled* | boolean |  |
| is_processing | boolean |  |
| name* | string |  |
| nocache | boolean |  |
| play_days | integer[] |  |
| play_order | integer |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s | integer |  |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date* | string (date-time) |  |

### Responses

200

Schema: `AssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers* | object | read-only |
| duration | integer (int64) \| null |  |
| end_date | string (date-time) \| null |  |
| is_active* | boolean | read-only |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| is_reachable* | boolean | read-only |
| last_reachability_check* | string (date-time) \| null | read-only |
| metadata* | object | read-only |
| mimetype | string \| null |  |
| name | string \| null |  |
| nocache | boolean |  |
| play_days* | integer[] | read-only |
| play_order | integer (int64) |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s* | integer | read-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) \| null |  |
| uri | string \| null |  |

patch

`/api/v2/assets/{asset_id}`

Update asset

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Request body application/json

Schema: `PatchedUpdateAssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| custom_headers | object |  |
| duration | integer |  |
| end_date | string (date-time) |  |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| name | string |  |
| nocache | boolean |  |
| play_days | integer[] |  |
| play_order | integer |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s | integer |  |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) |  |

### Responses

200

Schema: `AssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_id* | string | read-only |
| custom_headers* | object | read-only |
| duration | integer (int64) \| null |  |
| end_date | string (date-time) \| null |  |
| is_active* | boolean | read-only |
| is_enabled | boolean |  |
| is_processing | boolean |  |
| is_reachable* | boolean | read-only |
| last_reachability_check* | string (date-time) \| null | read-only |
| metadata* | object | read-only |
| mimetype | string \| null |  |
| name | string \| null |  |
| nocache | boolean |  |
| play_days* | integer[] | read-only |
| play_order | integer (int64) |  |
| play_time_from | string (time) \| null |  |
| play_time_to | string (time) \| null |  |
| refresh_interval_s* | integer | read-only |
| skip_asset_check | boolean |  |
| skip_ssl_verify | boolean |  |
| start_date | string (date-time) \| null |  |
| uri | string \| null |  |

delete

`/api/v2/assets/{asset_id}`

Delete asset

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Responses

204

No response body

get

`/api/v2/assets/{asset_id}/content`

Get asset content

The content of the asset. `type` can either be `file` or `url`. In case of a file, the fields `mimetype`, `filename`, and `content` will be present. In case of a URL, the field `url` will be present.

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| content | string |  |
| filename | string |  |
| mimetype | string |  |
| type | string |  |
| url | string |  |

post

`/api/v2/assets/{asset_id}/recheck`

Recheck asset reachability

On-demand reachability recheck, called from the viewer. The viewer cannot attach operator BasicAuth credentials, so this endpoint uses a lightweight internal token derived from the shared ``anthias.conf`` secret instead. The request still remains side-effect-only and rate-limited: it returns no asset data, queue churn is debounced here, and the Celery task enforces the longer per-asset probe cooldown.

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| asset_id | path | string | yes |

### Responses

202

No response body

403

No response body

404

No response body

## backup

post

`/api/v2/backup`

Create backup

Create a backup of the current Anthias instance, which includes the following: * current settings * image and video assets * asset metadata (e.g. name, duration, play order, status), which is stored in a SQLite database

### Responses

201

string

## device settings

get

`/api/v2/device_settings`

Get device settings

### Responses

200

Schema: `DeviceSettingsSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| audio_output* | string |  |
| auth_backend* | string |  |
| date_format* | string |  |
| debug_logging* | boolean |  |
| default_assets* | boolean |  |
| default_duration* | integer |  |
| default_streaming_duration* | integer |  |
| display_power_days* | string |  |
| display_power_off_time* | string |  |
| display_power_on_time* | string |  |
| display_power_schedule_enabled* | boolean |  |
| player_name* | string |  |
| prefer_dark_mode* | boolean |  |
| screen_rotation* | ScreenRotationEnum |  |
| show_splash* | boolean |  |
| shuffle_playlist* | boolean |  |
| timezone* | string |  |
| use_24_hour_clock* | boolean |  |
| username* | string |  |
| verify_ssl* | boolean |  |

patch

`/api/v2/device_settings`

Update device settings

### Request body application/json

Schema: `PatchedUpdateDeviceSettingsSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| audio_output | string |  |
| auth_backend | any |  |
| current_password | string |  |
| date_format | string |  |
| debug_logging | boolean |  |
| default_assets | boolean |  |
| default_duration | integer |  |
| default_streaming_duration | integer |  |
| display_power_days | string |  |
| display_power_off_time | string |  |
| display_power_on_time | string |  |
| display_power_schedule_enabled | boolean |  |
| password | string |  |
| password_2 | string |  |
| player_name | string |  |
| prefer_dark_mode | boolean |  |
| screen_rotation | ScreenRotationEnum |  |
| show_splash | boolean |  |
| shuffle_playlist | boolean |  |
| timezone | string |  |
| use_24_hour_clock | boolean |  |
| username | string |  |
| verify_ssl | boolean |  |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| message | string |  |

400

| Field | Type | Notes |
| --- | --- | --- |
| error | string |  |

## display

post

`/api/v2/display/{state}`

Set display power state (experimental, HDMI-CEC)

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| state | path | string | yes |

### Request body application/json

Schema: `DisplayPowerViewSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| message* | string | read-only |

### Responses

200

Schema: `DisplayPowerViewSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| message* | string | read-only |

400

Schema: `DisplayPowerViewSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| message* | string | read-only |

502

Schema: `DisplayPowerViewSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| message* | string | read-only |

503

Schema: `DisplayPowerViewSerializerMixin`

| Field | Type | Notes |
| --- | --- | --- |
| message* | string | read-only |

## file asset

post

`/api/v2/file_asset`

Upload file asset

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| X-Upload-Id | header | string | no |

### Request body multipart/form-data

| Field | Type | Notes |
| --- | --- | --- |
| file_upload | string (binary) |  |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| ext | string |  |
| upload_id | string |  |
| uri | string |  |

## info

get

`/api/v2/info`

Get system information

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| anthias_version | string |  |
| device_model | string |  |
| display_power | string \| null |  |
| free_space | string |  |
| host_user | string |  |
| ip_addresses | string[] |  |
| loadavg | number |  |
| mac_address | string |  |
| memory | object |  |
| storage | object | Health of the filesystem this device runs from, assembled from ext4 superblock error counters, a periodic write-and-read-back check, and eMMC wear registers where present. Branch on `status`. Check `supported` first: when it is false the filesystem could not be resolved and no other field carries information. `errors_count` is cumulative over the life of the filesystem and survives reboots; `errors_new` and the write-check fields reset on reboot. |
| time | object |  |
| under_voltage | object | Power-supply health from the kernel rpi_volt sensor. Check `supported` first: when it is false this device has no such sensor and the other fields carry no information. Counters and timestamps reset when the device reboots. |
| up_to_date | boolean |  |
| uptime | object |  |
| viewlog | string |  |

## integrations

get

`/api/v2/integrations`

Get integrations information

### Responses

200

Schema: `IntegrationsSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| balena_app_id | string \| null |  |
| balena_app_name | string \| null |  |
| balena_device_id | string \| null |  |
| balena_device_name_at_init | string \| null |  |
| balena_host_os_version | string \| null |  |
| balena_supervisor_version | string \| null |  |
| is_balena* | boolean |  |

post

`/api/v2/integrations/import/{provider}/item`

Import one media item from a provider

Import a single remote media item as an Anthias asset. Per-item (not batch) for the same reason as ``ScreenlyMigrateAssetViewV2``: the wizard shows live progress and keeps going past individual failures. Known per-item failures return 200 with ``success: False`` so the queue keeps advancing; only a transport failure is a 502.

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| provider | path | string | yes |

### Request body application/json

Schema: `ImportItemSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| enable | boolean |  |
| remote_id* | string |  |
| token* | string | write-only |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| asset_id | string \| null |  |
| error | string \| null |  |
| reason | string \| null |  |
| skipped | boolean |  |
| success | boolean |  |

post

`/api/v2/integrations/import/{provider}/validate`

Validate an import provider token and list its media

Validate an import provider's token and enumerate its media. Inbound counterpart to ``ScreenlyValidateTokenViewV2``: validation and listing happen in one round-trip so the wizard's Continue button goes straight from the token field to the item picker. The token is not stored; each request forwards it inline. ``provider`` is the registry key from the URL (``yodeck``, later ``screencloud`` …).

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| provider | path | string | yes |

### Request body application/json

Schema: `ImportValidateSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| token* | string | write-only |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| error | string \| null |  |
| items | object[] |  |
| valid | boolean |  |

post

`/api/v2/integrations/screenly/migrate`

Migrate one asset to Screenly v4.1

Forward a single Anthias asset to the configured Screenly account. Per-asset rather than batch on purpose: the UI shows live progress and continues past individual failures, which matches the way operators run this (large libraries, some assets reachable, some not). Batching would either swallow partial failures or hand-roll the same loop server-side with worse feedback.

### Request body application/json

Schema: `ScreenlyMigrateAssetSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| asset_group_id | string |  |
| asset_id* | string |  |
| token* | string | write-only |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| error | string \| null |  |
| screenly_asset_id | string \| null |  |
| success | boolean |  |

post

`/api/v2/integrations/screenly/validate`

Validate a Screenly v4.1 API token and prepare the migration asset-group

Probe a Screenly v4.1 API token and reserve the migration group. Two steps in one round-trip because the wizard's UX is "click Continue → either an error or the asset picker". Validating the token alone would leave a follow-up call between Continue and the next screen, and the asset-group creation is cheap (idempotent get-or-create against ``/asset-groups``). The token is not stored; each request forwards it inline.

### Request body application/json

Schema: `ScreenlyTokenSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| token* | string | write-only |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| asset_group_id | string \| null |  |
| asset_group_title | string \| null |  |
| error | string \| null |  |
| valid | boolean |  |

## network

get

`/api/v2/network/ip-addresses`

Get device IP addresses (for splash poll)

Lightweight IP-list endpoint for the splash page to poll. Unauth'd because the splash page itself is unauth'd and the viewer isn't a credentialed client. The data here is already disclosed by /splash-page rendering — there's no new exposure. Narrow on purpose: only IPs, no diagnostics. /api/v2/info covers the "everything about the device" case but is auth'd and does heavier work (psutil, statvfs, version checks) that would compound on a 2-second poll. Don't bolt onto this; add a sibling endpoint if a different unauth'd value is ever needed. **KNOWN LIMITATION (deferred to broader auth work).** This GET has a side effect — ``_resolve_node_ip`` calls ``_publish_refresh()`` on cache miss / hit / empty-list, which publishes ``hostcmd: set_ip_addresses`` to host_agent. ``host_agent.set_ip_addresses`` in turn does an internet probe (``requests.get`` to 1.1.1.1 with a 10×1s tenacity retry). An unauthenticated LAN client can drive that side effect at the debounce-bounded rate (one publish per ``_IP_REFRESH_DEBOUNCE_S``). The mitigations already in place keep blast radius bounded: * SETNX-debounced publishes (only one refresh per 12s window regardless of poll volume), * the response body carries no data not already disclosed by the splash page itself, * host_agent's own retry/throttle behavior caps the downstream cost. The proper fix is a shared internal-auth gate (matching the one on AssetRecheckViewV2) — but the splash polling endpoint is consumed by the viewer's webview from the device's local network with no way to attach BasicAuth, so internal-auth here needs to be designed alongside the broader auth rework. Tracked in the same followup as AssetRecheckViewV2's gating.

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| ip_addresses | string[] |  |

get

`/api/v2/network/wifi-setup`

Get WiFi setup portal status

Is the wifi-connect setup portal up, and what joins it? Polled by the viewer so it can put the setup instructions on the screen for as long as the portal is live, and read by /hotspot to render them. Unauth'd for the same reason as the sibling IP endpoint: the consumer is the device's own webview, which has no credentials to present. The passphrase in this response is the one thing here that isn't already public. It is exposed only while ``active`` is true, i.e. while the access point it unlocks is being broadcast and shown full-screen on the device anyway, and it is regenerated on every run of the portal. A device that is online returns ``active: false`` and no credentials at all.

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| active | boolean |  |
| gateway | string \| null |  |
| passphrase | string \| null |  |
| portal_url | string |  |
| ssid | string \| null |  |

## reboot

post

`/api/v2/reboot`

Reboot system

### Responses

200

No response body

## recover

post

`/api/v2/recover`

Recover from backup

Recover data from a backup file. The backup file must be a `.tar.gz` file.

### Request body multipart/form-data

| Field | Type | Notes |
| --- | --- | --- |
| backup_upload | string (binary) |  |

### Responses

200

string

## shutdown

post

`/api/v2/shutdown`

Shut down system

### Responses

200

No response body

## system

get

`/api/v2/system/logs`

Get a snapshot of the host system journal

Host system-journal snapshot, same contract on both platforms. The container cannot read the host journal directly on either platform, so this fans out to whichever backend the device has: the Balena supervisor's ``/v2/journal-logs``, or the ``anthias-host-agent`` systemd unit over Redis. ``source`` in the response names which one answered. **Snapshot-only.** No ``follow`` parameter, by design — see ``anthias_server.lib.system_logs``. Clients that want a live view re-request with the same filters. ``persistent`` is the one place the platforms genuinely differ and it is reported rather than papered over: a bare-metal host whose journald is still volatile (an install predating the Ansible persistence task) returns ``false``, which means these entries are current-boot-only and a UI should say so.

### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| container | query | string | no |
| count | query | integer | no |
| since | query | string | no |
| unit | query | string | no |
| until | query | string | no |

### Responses

200

| Field | Type | Notes |
| --- | --- | --- |
| count | integer |  |
| entries | object[] |  |
| max_count | integer |  |
| persistent | boolean \| null |  |
| source | string | `balena``host_agent` |
| truncated | boolean |  |

400

No response body

502

No response body

## viewer

get

`/api/v2/viewer/playlist`

Get the active playlist and next re-evaluation deadline

Active assets + next deadline, evaluated against server time. Intended for the C++ viewer (GH #2906 Phase 3) so the viewer no longer needs Django ORM access or its own ``Asset.is_active()`` re-implementation. The Python viewer keeps using ``anthias_viewer.scheduling.generate_asset_list()`` directly until Phase 3 swaps it. Internal-auth gated for the same reason as ``AssetRecheckViewV2``: the viewer can't attach operator BasicAuth, so it presents the shared token derived from ``anthias.conf``.

### Responses

200

Schema: `ViewerPlaylistSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| assets* | AssetSerializerV2[] |  |
| deadline* | string (date-time) \| null |  |
| now* | string (date-time) |  |

403

No response body

get

`/api/v2/viewer/settings`

Get viewer-relevant device settings

Viewer-relevant settings subset for the C++ viewer. Narrower than ``DeviceSettingsViewV2`` on purpose: only the keys the viewer reads at runtime are exposed, so the internal-auth path doesn't surface operator credential fields. Internal-auth gated like ``ViewerPlaylistViewV2`` above.

### Responses

200

Schema: `ViewerSettingsSerializerV2`

| Field | Type | Notes |
| --- | --- | --- |
| audio_output* | string |  |
| debug_logging* | boolean |  |
| screen_rotation* | ScreenRotationEnum |  |
| show_splash* | boolean |  |
| shuffle_playlist* | boolean |  |

403

No response body

---

Source: https://anthias.screenly.io/api
