Documentation

Card type

timer

A countdown the client runs. Comes with a timer.start action.

Version 1 · schema timer.v1.schema.json

Layouts

Every card type has full. Pick a layout with the element's layout attribute, render.layout, or a theme.

Fields

The fields of card.data. Values a source doesn't provide are null; new optional fields can appear within version 1.

FieldTypeRequiredNotes
labelstringyes
duration_sintegeryes
started_atdate-timeyesISO 8601 date-time with offset.
ends_atdate-timeyesISO 8601 date-time with offset.

Example

A recorded answer to “Set a pasta timer for 8 minutes”. Open it in the Answer Lab to see every layout and style.

Response
{
  "v": 2,
  "id": "ans_7c686ee4ea50",
  "matched": true,
  "locale": "en",
  "skill": "timer",
  "confidence": 0.99,
  "text": "Pasta timer set for 8 minutes, until 14:08.",
  "speech": "Okay, 8 minutes for the pasta.",
  "card": {
    "type": "timer",
    "version": 1,
    "data": {
      "label": "Pasta",
      "duration_s": 480,
      "started_at": "2026-10-21T14:00:00+02:00",
      "ends_at": "2026-10-21T14:08:00+02:00"
    }
  },
  "sources": [],
  "follow_ups": [
    "Add one minute",
    "Cancel the timer"
  ],
  "actions": [
    {
      "type": "timer.start",
      "label": "Pasta",
      "duration_s": 480
    }
  ],
  "usage": {
    "billable": true
  }
}