--type narrows the result to one card type. --entity-key requires --type and requests one card; a missing card returns a not-found error. Run gumloop wiki query --help for the accepted card types.
The personal wiki is separate from Company Brain search. It requires OAuth or a personal API key. The Python clients expose the same operation as client.wiki.query(type=..., entity_key=...), with await on the async client.