> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domsoftware.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Movimentações Recentes

> Gera uma timeline (linha do tempo) das entradas, saídas e transferências recentes que ocorreram nos estoques.

### Query Parameters

<ParamField query="limit" type="number" default="20">
  Limite de logs a compor a timeline.
</ParamField>

<ParamField query="productId" type="string">
  Opcional. Se informado, filtra a timeline apenas para movimentações daquele produto UUID.
</ParamField>

### Response

<ResponseExample>
  ```json Response theme={null}
  [
    {
      "id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
      "type": "ENTRY",
      "quantity": 50,
      "productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
      "warehouseName": "Depósito Central",
      "createdAt": "2024-02-15T09:00:00.000Z",
      "reason": "Importação NFe"
    }
  ]
  ```
</ResponseExample>


## OpenAPI

````yaml get /inventory/dashboard/movements
openapi: 3.0.0
info:
  title: Hub Marketplace API
  description: API for managing marketplace listings and keys
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: listings
    description: ''
paths:
  /inventory/dashboard/movements:
    get:
      tags:
        - Inventory Dashboard
      summary: Timeline de movimentações recentes
      operationId: InventoryDashboardController_getMovements
      parameters:
        - name: productId
          required: false
          in: query
          schema:
            type: string
        - name: limit
          required: false
          in: query
          schema:
            type: number
      responses:
        '200':
          description: Lista de movimentações
      security:
        - bearer: []
components: {}

````