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

# Moments

> Moments newest first, with limit, before and verdict.

Each item carries the page, cart total, reason, verdict (`engage`, `wait`, `quiet`), tier, the sentence (`message`), the app's reason in words (`why`), and `aftermath` with the outcome once known. Page with `before` set to the last item's `ts`. Visitor ids are masked for API callers.


## OpenAPI

````yaml openapi.json GET /sdk/{id}/moments
openapi: 3.1.0
info:
  title: NextIntent API
  version: 1.0.0
  description: >-
    Websites, switches, the facts sheet and API keys, per account. Authenticate
    with an API key (ni_live_...) or a console session as a Bearer token. A key
    is account-wide or bound to one website; a bound key sees only that website
    and cannot create or delete websites.
servers:
  - url: https://api.nextintent.ai/v1
security:
  - bearer: []
paths:
  /sdk/{id}/moments:
    get:
      summary: Moments (decisions) newest first; limit, before, verdict
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The website id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
          description: 1 to 200, default 50
        - name: before
          in: query
          required: false
          schema:
            type: string
          description: ISO timestamp cursor from a previous page
        - name: verdict
          in: query
          required: false
          schema:
            type: string
          description: engage, wait or quiet
      responses:
        '200':
          description: OK
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````