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
| Argument | What it does | Optional |
|---|---|---|
subtype value | The 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 = liveFind all Live Docs.
Run on Confluence Cloud on .
subtype = live AND space = SDLive Docs in a single space.
Run on Confluence Cloud on .
subtype = live ORDER BY lastmodified DESCLive 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 = SDOrdinary 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 = databaseandsubtype = whiteboardall run and match nothing (checked on Confluence Cloud, November 2026). The documentation lists onlylive, so do not expect other kinds to be searchable this way. subtype ~ liveis rejected with "Operator '~' is not supported for field 'subtype'", so only equality and lists work.subtype != livematches everything that is not a Live Doc, comments and attachments included. Addtype = pageif you want pages only.