Going Stellar

Home/CQL reference

CQL field

subtype field in CQL: syntax and examples (Confluence)

subtype narrows a page search to one kind of page. The documentation lists a single supported value, live, for Live Docs. It is mostly useful with a negation, to leave Live Docs out of a list of ordinary pages.

Syntax

subtype = live
subtype IN (live)

Arguments

ArgumentWhat it doesOptional
subtype valueThe kind of page. Only live is documented.yes

Works with

  • Operators: =, !=, IN, NOT IN (as documented).
  • Not with: ~, !~, >, >=, <, <=. The documentation lists no supported functions.

Examples

subtype = live

Find all Live Docs.

Run on Confluence Cloud on .

subtype = live AND space = SD

Live Docs in a single space.

Run on Confluence Cloud on .

subtype = live ORDER BY lastmodified DESC

Live Docs with the most recently edited ones first.

Run on Confluence Cloud on .

subtype = live AND creator = currentUser()

Live Docs you started yourself.

Run on Confluence Cloud on .

subtype not in (live) AND type = page AND space = SD

Ordinary pages in a space, with Live Docs left out of the list.

Run on Confluence Cloud on .

Pitfalls

  • Unknown values do not raise an error. subtype = folder, subtype = database and subtype = whiteboard all run and match nothing (checked on Confluence Cloud, November 2026). The documentation lists only live, so do not expect other kinds to be searchable this way.
  • subtype ~ live is rejected with "Operator '~' is not supported for field 'subtype'", so only equality and lists work.
  • subtype != live matches everything that is not a Live Doc, comments and attachments included. Add type = page if you want pages only.

Sources

  1. CQL fields (Atlassian Developer, Confluence Cloud)

Markdown version · All CQL pages