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

# Latest snapshot day

> The most recent snapshot day for the base, with a per-table record/storage breakdown and day totals. `day` is null when nothing has been counted yet.



## OpenAPI

````yaml /openapi.json get /usage/bases/{id}/snapshots/latest
openapi: 3.0.4
info:
  title: Simplified Webhooks Backend
  version: '1.0'
  description: >-
    API for Airtable webhooks, usage (record & attachment-storage counting), and
    change-monitoring audit logs.
  contact:
    name: API Support
    url: https://www.simplified-webhooks.com/contact-us
    email: contact@simplified-webhooks.com
servers:
  - url: https://api.simplified-webhooks.com
    description: Main server
security: []
tags:
  - name: Webhooks
    description: Register, update, and delete delivery webhooks for Airtable changes.
  - name: Usage
    description: >-
      Track daily record counts and attachment storage per Airtable base, and
      read the snapshot time-series.
  - name: Audit Log
    description: >-
      Configure change monitoring that logs every record & schema change into a
      Changes table in your own Airtable base.
paths:
  /usage/bases/{id}/snapshots/latest:
    get:
      tags:
        - Usage
      summary: Latest snapshot day
      description: >-
        The most recent snapshot day for the base, with a per-table
        record/storage breakdown and day totals. `day` is null when nothing has
        been counted yet.
      operationId: getLatestUsageSnapshot
      parameters:
        - $ref: '#/components/parameters/UsageBaseId'
      responses:
        '200':
          description: The latest snapshot day.
          content:
            application/json:
              schema:
                type: object
                properties:
                  baseId:
                    type: string
                    example: appkGlXEiufQLn1Qd
                  day:
                    nullable: true
                    allOf:
                      - $ref: '#/components/schemas/UsageDay'
        '401':
          description: Unauthorized, authentication token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Usage base not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  parameters:
    UsageBaseId:
      name: id
      in: path
      required: true
      description: >-
        The usage base id (the row id returned by /usage/bases, not the Airtable
        base id).
      schema:
        type: string
        format: uuid
        example: 8f1d6b2c-3a4e-4c5d-9e6f-0a1b2c3d4e5f
  schemas:
    UsageDay:
      type: object
      title: Usage Snapshot Day
      properties:
        date:
          type: string
          format: date
          example: '2026-06-30'
        tables:
          type: array
          items:
            $ref: '#/components/schemas/UsageTable'
        totals:
          type: object
          properties:
            recordCount:
              type: integer
              example: 4210
            storageBytes:
              type: integer
              example: 12582912
            fileCount:
              type: integer
              example: 88
            tableCount:
              type: integer
              example: 3
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: 'Missing required fields: [tableId, event]'
    UsageTable:
      type: object
      title: Usage Table Breakdown
      properties:
        tableId:
          type: string
          example: tblMHdKX6vN1Eci9x
        tableName:
          type: string
          example: Contacts
        recordCount:
          type: integer
          example: 1842
        storageBytes:
          type: integer
          description: Total attachment storage for the table, in bytes.
          example: 5242880
        fileCount:
          type: integer
          example: 37
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: API key for authentication.

````