Usertour · Schema

ListContentVersionsResponseDto

CompanyOpen SourceUser OnboardingSoftware-as-a-ServiceDeveloper Tools

Properties

Name Type Description
results array
next stringnull Full URL of the next page — request it as-is (it already carries `cursor=` and your query parameters). null = no further pages.
previous stringnull Full URL of the previous page — request it as-is. null = already at the first page.
View JSON Schema on GitHub

JSON Schema

usertour-io-list-content-versions-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usertour-io/json-schema/usertour-io-list-content-versions-response-dto-schema.json",
  "title": "ListContentVersionsResponseDto",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usertour-io-openapi.json#/components/schemas/ListContentVersionsResponseDto",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "object": {
            "type": "string",
            "enum": [
              "contentVersion"
            ]
          },
          "number": {
            "type": "number",
            "description": "The version's number within its content, starting from 0. The dashboard labels versions from 1, so the version it shows as V1 has `number: 0`."
          },
          "firstPublishedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When this version FIRST went live (ISO). Non-null means the version is frozen: it can never be edited again — not even after unpublishing — edit by forking (by forking). null means it never went live — OR its first publish predates this stamp (older versions were never backfilled), so on old data null is not proof it never shipped. This is history, not live state: for \"is it live NOW, where\" read the content's `environments[]`; for who published what when, the publish history (available through the MCP)."
          },
          "themeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "questions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "question"
                  ]
                },
                "cvid": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "nps",
                    "star-rating",
                    "scale",
                    "single-line-text",
                    "multi-line-text",
                    "multiple-choice"
                  ]
                }
              },
              "required": [
                "object",
                "cvid",
                "name",
                "type"
              ]
            }
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "step"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "cvid": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Stable step handle that SURVIVES forking (unlike `id`, which is regenerated) — echo it on a write to update this step in place. Prefer it over `id` for edits that must outlive a new version."
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "tooltip",
                    "modal",
                    "hidden",
                    "bubble",
                    "inline"
                  ]
                },
                "sequence": {
                  "type": "number",
                  "description": "0-based display order. On write an explicit `sequence` wins; steps without one fall back to their array index."
                },
                "themeId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Per-step theme override; null = this step inherits the flow version's theme."
                },
                "target": {
                  "type": "object",
                  "properties": {
                    "selector": {
                      "type": "string",
                      "minLength": 1,
                      "description": "A stable CSS selector for the element, on the page or inside a same-origin iframe (written relative to the frame's own document). The runtime targets the FIRST match — so either make the selector unique, or pair a stable non-unique selector with `nth` to pick the intended match. A non-unique selector with no `nth` targets the first (often wrong) element and the tooltip silently won't render."
                    },
                    "text": {
                      "description": "Optional refinement of `selector`. Requires the targeted element's visible text to equal this (exact match, after trim) — use it to pin a specific content/state (e.g. a stable id whose displayed text you want to match: id + text). It refines the element chosen by `selector`/`nth`; on its own it does NOT search among multiple matches, so disambiguate a non-unique selector with `nth`, not `text` alone.",
                      "type": "string"
                    },
                    "nth": {
                      "description": "Optional refinement of `selector`. 0-based index to pick which match when the selector isn't unique — e.g. a stable selector matching 3 elements + `nth: 1` targets the 2nd, giving a unique result. Matches are taken in document order (as they appear in the page HTML). Range 0–4 — only the first 5 matches are addressable; a larger value is rejected.",
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4
                    }
                  },
                  "required": [
                    "selector"
                  ]
                },
                "placement": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "side": {
                          "description": "Which side of the target the tooltip sits on. OMIT side+align to auto-position (the tooltip picks a spot and flips to avoid the viewport edge — best when you can't see the element). Setting side (or align) pins that direction: the tooltip renders exactly there and no longer auto-flips, so only pin when the element is not near a screen edge. When READING a step back, check `alignType` first: under `auto` the side/align you see are just the auto starting position, not a pin.",
                          "type": "string",
                          "enum": [
                            "top",
                            "right",
                            "bottom",
                            "left"
                          ]
                        },
                        "align": {
                          "description": "Alignment along the side. See `side`.",
                          "type": "string",
                          "enum": [
                            "start",
                            "center",
                            "end"
                          ]
                        },
                        "sideOffset": {
                          "description": "Pixels between the target and the tooltip, along `side`.",
                          "type": "number"
                        },
                        "alignOffset": {
                          "description": "Pixel shift along the alignment axis. Only applies when `align` is `start` or `end` — at `center` alignment the runtime ignores it silently.",
                          "type": "number"
                        },
                        "alignType": {
                          "description": "Position mode. `auto` auto-positions and flips to avoid the viewport edge (ignoring side/align); `fixed` pins to side/align without flipping. Usually omit it: providing side/align implies `fixed`, and omitting them implies `auto`. Set it only to override that (e.g. `auto` while still passing a side/align you want ignored). Read-backs always carry concrete side/align even in `auto` mode (the auto starting position, bottom/center) — `alignType` is what governs, and `auto` still flips at runtime.",
                          "type": "string",
                          "enum": [
                            "auto",
                            "fixed"
                          ]
                        },
                        "backdrop": {
                          "description": "Dim the rest of the page while this tooltip is up.",
                          "type": "boolean"
                        },
                        "blockTarget": {
                          "description": "Make the backdrop swallow clicks on the highlighted element, so the user must use the tooltip. REQUIRES `backdrop: true` — on its own it does nothing (the renderer only consults it inside the backdrop branch).",
                          "type": "boolean"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "position": {
                          "type": "string",
                          "enum": [
                            "leftTop",
                            "centerTop",
                            "rightTop",
                            "leftCenter",
                            "center",
                            "rightCenter",
                            "leftBottom",
                            "centerBottom",
                            "rightBottom"
                          ]
                        },
                        "offsetX": {
                          "description": "Pixel shift from the grid cell. Applies in every cell EXCEPT `position: \"center\"`, where both offsets are ignored silently.",
                          "type": "number"
                        },
                        "offsetY": {
                          "description": "See `offsetX`.",
                          "type": "number"
                        },
                        "backdrop": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "position"
                      ],
                      "additionalProperties": false
                    }
                  ],
                  "description": "Two placement shapes, by step kind: a TOOLTIP (anchored to a `target`) uses `{ side, align, sideOffset?, alignOffset?, alignType? }` positioned relative to the element; a MODAL uses `{ position, offsetX?, offsetY? }` on a 9-cell viewport grid (e.g. `\"center\"`). Both may set `backdrop`; `blockTarget` is TOOLTIP-ONLY (a modal already covers the page) and additionally requires `backdrop: true` — it makes the backdrop swallow clicks on the highlighted element. A BUBBLE step is positioned by its THEME's bubble placement, so the only key it accepts here is `{ backdrop }` (positional keys are rejected — move the bubble by changing the theme); a HIDDEN step renders no UI and rejects `placement` entirely."
                },
                "width": {
                  "description": "Per-step width override in pixels (border-box outer width) — absent = the theme's surface width.",
                  "type": "number"
                },
                "skippable": {
                  "type": "boolean"
                },
                "explicitCompletionStep": {
                  "description": "Marks this step as the flow's completion point: reaching it counts the flow as COMPLETED (progress hits 100 and the completion event fires there), and later steps no longer report progress. With no step marked, only reaching the LAST step completes the flow — which is what a checklist task waiting on \"this flow completed\" depends on.",
                  "type": "boolean"
                },
                "content": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/ListContentVersionsResponseDto__schema0"
                  }
                },
                "triggers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "when": {
                        "description": "REACTIVE slot — polled live in the browser while the step is on screen, so it accepts only client-evaluable condition types: attribute / current_url / element / text_input / text_filled / time_window. Event / segment / content_state conditions are server-evaluated and rejected here (E1017). A trigger with NO `when` never fires (an empty set is \"not matched\", not \"always\").",
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/ListContentVersionsResponseDto__schema1"
                        }
                      },
                      "do": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "goto_step"
                                  ]
                                },
                                "step": {
                                  "type": "string",
                                  "description": "Target step: a step `key` declared elsewhere in the same write, or an existing step cvid. Resolved server-side to the cvid."
                                }
                              },
                              "required": [
                                "type",
                                "step"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "start_content"
                                  ]
                                },
                                "content": {
                                  "type": "string",
                                  "description": "contentId of the flow or checklist to launch (an id from the content list) — a raw content id, NOT a step key (unlike goto_step). Must reference a flow or checklist (a banner / launcher / resource-center / tracker is rejected at write). The target must be PUBLISHED to actually start at runtime; an unknown/dangling id is rejected at validate."
                                },
                                "step": {
                                  "description": "Optional cvid of a step within the launched flow to start at.",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "content"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "navigate"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "description": "Absolute URL, or an app-relative path (\"/docs/x\") resolved against the origin the user is on — relative paths are the normal choice for in-app navigation."
                                },
                                "newTab": {
                                  "description": "Open the URL in a new browser tab instead of navigating the current one.",
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "type",
                                "url"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "dismiss"
                                  ]
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "description": "Dismiss the piece the action lives on. NOT accepted everywhere this union appears: a resource center has no dismiss (closing the panel is a UI affordance, not an action) and an announcement is marked seen, never dismissed — writes there are rejected (E1017), not ignored. Flows / checklists / launchers / banners all accept it."
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "run_javascript"
                                  ]
                                },
                                "script": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "script"
                              ],
                              "description": "Read-back of an existing script action — scripts are not authorable through this API. Echo it back UNCHANGED (same script) when rewriting the surrounding list and the stored action is preserved; omitting it deletes it (action lists are full replacements). Authoring a new or edited script is rejected."
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "unsupported"
                                  ]
                                },
                                "note": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "description": "Echo-only placeholder for a stored action this schema cannot express (`note` = internal type). Echo it back to preserve the stored action; writing one fresh is rejected."
                            }
                          ]
                        }
                      },
                      "waitSeconds": {
                        "description": "Delay in SECONDS between the `when` conditions matching and the `do` actions firing. The timer arms the first time `when` matches and the actions fire after the wait EVEN IF the conditions have since stopped matching (the match is latched, not re-checked). Capped at 300 seconds by the runtime (a larger value is clamped).",
                        "type": "number"
                      }
                    },
                    "required": [
                      "do"
                    ]
                  }
                },
                "onClick": {
                  "description": "Actions that run when the user clicks the step's TARGET ELEMENT on the page (click-to-advance) — distinct from a `button` block, whose actions fire on a button rendered inside the step. `tooltip` steps only: the other kinds have no target element to click, and the write rejects `onClick` on them.",
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "goto_step"
                            ]
                          },
                          "step": {
                            "type": "string",
                            "description": "Target step: a step `key` declared elsewhere in the same write, or an existing step cvid. Resolved server-side to the cvid."
                          }
                        },
                        "required": [
                          "type",
                          "step"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "start_content"
                            ]
                          },
                          "content": {
                            "type": "string",
                            "description": "contentId of the flow or checklist to launch (an id from the content list) — a raw content id, NOT a step key (unlike goto_step). Must reference a flow or checklist (a banner / launcher / resource-center / tracker is rejected at write). The target must be PUBLISHED to actually start at runtime; an unknown/dangling id is rejected at validate."
                          },
                          "step": {
                            "description": "Optional cvid of a step within the launched flow to start at.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "content"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "navigate"
                            ]
                          },
                          "url": {
                            "type": "string",
                            "description": "Absolute URL, or an app-relative path (\"/docs/x\") resolved against the origin the user is on — relative paths are the normal choice for in-app navigation."
                          },
                          "newTab": {
                            "description": "Open the URL in a new browser tab instead of navigating the current one.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "type",
                          "url"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "dismiss"
                            ]
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "description": "Dismiss the piece the action lives on. NOT accepted everywhere this union appears: a resource center has no dismiss (closing the panel is a UI affordance, not an action) and an announcement is marked seen, never dismissed — writes there are rejected (E1017), not ignored. Flows / checklists / launchers / banners all accept it."
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "run_javascript"
                            ]
                          },
                          "script": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "script"
                        ],
                        "description": "Read-back of an existing script action — scripts are not authorable through this API. Echo it back UNCHANGED (same script) when rewriting the surrounding list and the stored action is preserved; omitting it deletes it (action lists are full replacements). Authoring a new or edited script is rejected."
                      },
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "unsupported"
                            ]
                          },
                          "note": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "description": "Echo-only placeholder for a stored action this schema cannot express (`note` = internal type). Echo it back to preserve the stored action; writing one fresh is rejected."
                      }
                    ]
                  }
                },
                "advanced": {
                  "type": "object",
                  "properties": {
                    "hasUnsupported": {
                      "type": "boolean",
                      "description": "true = this step carries stored configuration this API cannot express (e.g. an auto-recorded element fingerprint). Read-only signal: echoing the step back preserves that configuration untouched; it is not editable here."
                    }
                  },
                  "required": [
                    "hasUnsupported"
                  ]
                }
              },
              "required": [
                "object",
                "id",
                "cvid",
                "name",
                "type",
                "sequence",
                "themeId",
                "content"
              ]
            }
          },
          "startRules": {
            "type": "object",
            "properties": {
              "when": {
                "description": "Start conditions (full replacement when present). Omit to keep the existing conditions and change only the settings.",
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ListContentVersionsResponseDto__schema1"
                }
              },
              "frequency": {
                "description": "How often the content may auto-start (flow/checklist only). Left unset on a write, the builder default (`once`) is seeded and STORED — read-backs show the effective mode explicitly. A version stored with NO frequency at all (reachable only through legacy/builder-external writes, never through this API) runs with NO limit: it starts again every time its rules match once the prior session ends — validate_content_version warns on that state.",
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "once",
                      "multiple",
                      "unlimited"
                    ],
                    "description": "once = show a single time; multiple = at most `every.times` sessions in total (a lifetime count, not per window), each new one only after the `every` gap; unlimited = no count cap, a new session after the `every` gap."
                  },
                  "every": {
                    "description": "Gap after a session ends: a new one may start once `duration` `unit` has passed since the previous session of this content ended (dismissed / ended). Used by `multiple` (with `times`, the total session cap) and `unlimited`; ignored for `once`. If omitted for those modes the default is stored: 1 day, plus `times: 2` for `multiple`. `duration: 0` = no gap. Manual and programmatic starts also count toward the `multiple` limit.",
                    "type": "object",
                    "properties": {
                      "times": {
                        "type": "number"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "seconds",
                          "minutes",
                          "hours",
                          "days"
                        ]
                      }
                    },
                    "required": [
                      "duration",
                      "unit"
                    ]
                  },
                  "atLeast": {
                    "description": "Only auto-start if no OTHER content of the SAME type has been shown within this window — and since only flows accept this knob, in practice: no other FLOW. A banner / checklist / launcher showing does NOT block it. Avoids stacking several flows on a user at once.",
                    "type": "object",
                    "properties": {
                      "duration": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "seconds",
                          "minutes",
                          "hours",
                          "days"
                        ]
                      }
                    },
                    "required": [
                      "duration",
                      "unit"
                    ]
                  }
                },
                "required": [
                  "mode"
                ]
              },
              "priority": {
                "description": "Tie-breaker when a user matches the start conditions for more than one piece of content at the same time — the higher priority starts first. Content with no priority set ranks as `medium`.",
                "type": "string",
                "enum": [
                  "highest",
                  "high",
                  "medium",
                  "low",
                  "lowest"
                ]
              },
              "waitSeconds": {
                "description": "Delay in SECONDS between the start conditions matching and the content becoming ELIGIBLE to start. The countdown itself survives the conditions un-matching mid-wait, but unlike a trigger wait (which fires its actions regardless), an elapsed start-rule wait guarantees nothing: the conditions are RE-CHECKED at show time, and the content starts at the next moment they match again. One exception: when a session of the same c

# --- truncated at 32 KB (95 KB total) ---
# Full source: https://artifacts.apis.io/usertour-io/json-schema/usertour-io-list-content-versions-response-dto-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/usertour-io-list-content-versions-response-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.