Skip to main content

axm knowledge concepts query

Query installed knowledge concepts

axm knowledge concepts query [<expression>] [flags]
NameTypeRequiredDefaultDescription
<expression>stringNoTerms to find; "phrase" for contiguous tokens, literal:"text" for exact punctuation
NameTypeRequiredDefaultDescription
--fieldstringNoSearch FIELD=EXPRESSION; FIELDs: see axm help knowledge
--propertystringNoFilter RFC 6901 JSON Pointer with /pointer{=|!=|~=}VALUE
--metadatastringNoFIELD{=|!=|~=}VALUE; FIELD: bundle,conceptId,kind,title,description,tag,type,resource
--lifecyclestringNoFIELD{=|!=}VALUE; FIELD: status,staleAfter,generated,verified,trust
--tagstringNoRequire an exact tag, as --metadata tag=TAG
--bundlestringNoRequire an exact Knowledge bundle FQN, as --metadata bundle=FQN
--kindchoice (concept, index, log)NoDocument kind, as --metadata kind=KIND; unset returns concept documents only
--statusstringNoLifecycle status, as --lifecycle status=STATUS; unset excludes deprecated
--limitinteger (1–100)No25Maximum concepts to return
--passagesinteger (0–10)No3Maximum evidence passages per result in machine output
--passage-lengthinteger (1–2000)No500Maximum characters per evidence passage
--cursorstringNoContinue from the cursor returned by the previous page
--scopechoice (project, user)NoprojectWorkspace scope

Combine text, metadata, and lifecycle clauses

axm knowledge concepts query authentication --tag source-of-truth --status stable

Search a field and filter preserved frontmatter

axm knowledge concepts query --field title=authentication --property /audience=agents