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

# Listar eventos del feed de actividad seleccionado

> GET /user-logs/activity-feed/

Lista eventos de actividad seleccionados y filtrables de la cuenta, en el host de la **API de gestión** (`api.scanova.io`), autenticado con su clave de API de gestión sin procesar.

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

<ParamField query="event_type" type="string">
  Tipos de evento a incluir, separados por comas: `qr_created`, `qr_updated`, `qr_deleted`, `login`, `shared_user_login`, `share_granted`, `share_revoked`.
</ParamField>

<ParamField query="actor_user" type="integer">
  Filtra por eventos realizados por un usuario compartido específico con este id. Omita para incluir también los eventos propios del propietario.
</ParamField>

<ParamField query="occurred_from" type="string">
  Solo eventos en o después de esta fecha (`YYYY-MM-DD`).
</ParamField>

<ParamField query="occurred_till" type="string">
  Solo eventos en o antes de esta fecha (`YYYY-MM-DD`).
</ParamField>

<ParamField query="search" type="string">
  Busca en `target_repr` (el nombre visible del objeto afectado en el momento del evento).
</ParamField>

<ParamField query="ordering" type="string">
  Ordena por `occurred_at` — anteponga `-` para orden descendente. El valor predeterminado es `-occurred_at`.
</ParamField>

<ParamField query="page" type="integer">
  Número de página.
</ParamField>

<ParamField query="page_size" type="integer">
  Resultados por página, máximo 100.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.scanova.io/user-logs/activity-feed/?event_type=qr_created,login" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 91422,
        "event_type": "qr_created",
        "actor_user": 17,
        "actor_email": "member@scanova.io",
        "target_object_type": "qrcode",
        "target_object_id": "3390",
        "target_repr": "Summer Menu QR",
        "occurred_at": "2026-09-05T11:04:22Z"
      }
    ]
  }
  ```
</ResponseExample>

`actor_user` es `null` cuando el propietario de la cuenta realizó la acción; `actor_email` siempre está presente, recurriendo en ese caso al correo del propietario.

<Note>
  Para un usuario compartido cuyo rol tiene permisos limitados por etiquetas, los eventos de categoría QR (`qr_created`, `qr_updated`, `qr_deleted`) se limitan a los códigos QR etiquetados con las etiquetas asignadas a ese usuario (más los códigos QR sin etiquetar, si su rol los incluye). Los eventos de inicio de sesión y compartición nunca están limitados por etiquetas.
</Note>

## Relacionado

* [Obtener estadísticas diarias de actividad](/es/api-reference/management-api/user-logs/activity-summary) — recuentos agregados para gráficos en lugar de un feed sin procesar.
* [Listar actividad reciente](/es/api-reference/management-api/user-logs/recent-activity) — un resumen más corto y sin filtrar.
* [Resumen de la API de gestión](/es/api-reference/management-api/overview) — el esquema de autenticación y las reglas de cuota que se aplican a este endpoint.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /user-logs/activity-feed/
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/activity-feed/:
    get:
      summary: List curated activity feed events
      description: >-
        A filterable, paginated feed of curated activity events (`qr_created`,
        `qr_updated`, `qr_deleted`, `login`, `shared_user_login`,
        `share_granted`, `share_revoked`). For a shared user with tag-scoped
        permissions, QR-category events are limited to QR codes tagged with that
        user's assigned tags.
      operationId: listActivityFeed
      parameters:
        - name: event_type
          in: query
          schema:
            type: string
          description: Comma-separated event types, e.g. `qr_created,login`.
        - name: actor_user
          in: query
          schema:
            type: integer
        - name: occurred_from
          in: query
          schema:
            type: string
            format: date
        - name: occurred_till
          in: query
          schema:
            type: string
            format: date
        - name: search
          in: query
          schema:
            type: string
        - name: ordering
          in: query
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
        - name: page_size
          in: query
          schema:
            type: integer
          description: Max 100.
      responses:
        '200':
          description: Paginated feed of activity events.
          content:
            application/json:
              example:
                count: 1
                next: null
                previous: null
                results:
                  - id: 91422
                    event_type: qr_created
                    actor_user: 17
                    actor_email: member@scanova.io
                    target_object_type: qrcode
                    target_object_id: '3390'
                    target_repr: Summer Menu QR
                    occurred_at: '2026-09-05T11:04:22Z'
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.

````