latestOpenAPI 3.0.02026-08-203145159.1 KB

0e40a805593b

content

Get all microsteps with optional client-side filtering

Items at data.data.today.allMicrosteps. Pagination and filtering are applied client-side by the API.

get/v1/microsteps

Query parameters

pageinteger

Page number (client-side pagination)

limitinteger

Items per page (client-side pagination)

searchstring

Search by title, body, or action text

filterstring

JSON filter: {"categories":["Sleep","Food"],"pillars":["mindful eating"]}

Response

Successful response

messagestring
validboolean

Example response

{
  "data": {
    "data": {
      "today": {
        "allMicrosteps": [
          {
            "tags": [
              {
                "slug": "sleep",
                "name": "Sleep"
              }
            ],
            "conditions": [
              {
                "slug": "sleep",
                "name": "Sleep"
              }
            ]
          }
        ]
      }
    }
  }
}