Search everything by words or by place
search_knowledgeSearch all organizational records—tasks, answers, replies, notifications, submissions—by text or location to retrieve ranked matches and their IDs.
Instructions
Full-text and location search over everything this credential reads — the organization's records, or what a personal account sent and submitted: task titles and content, answers, replies, notifications and their answers, and ad-hoc submissions — across all time, ranked. Use it for 'anything about X?', 'what was said about X?', 'who mentioned X?'. Words match literally, and by stem in the languages the organization configured (so 'leak' finds 'leaking' only where stemming is on); several words must all appear; quote a phrase for adjacency. For 'what happened around ?' pass center/radius_meters instead of (or on top of) the query: alone they return the location answers, replies and submissions recorded within the radius, nearest first; with a query, text hits are kept only when their task or submission carries an in-radius point. For a shape rather than a circle — a site, a block, a stretch of road — pass area_points, a polygon of 3 to 50 corners, instead; those hits carry no distance and come newest first. Resolve a street or site name to coordinates yourself first, and prefer a generous radius when the coordinates are geocoded rather than known. Each hit carries the id to read in full (tsk_/sub_ with get_task, grptsk_ — a task sent to several people — with get_group_status, ntf_ with get_notification_answer, sbm_ with query_submissions) and a snippet with the matching words in brackets (a location hit carries its point and distance instead). Encrypted records are not searchable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only these kinds of hit. | |
| limit | No | Best hits to return; default 20, at most 100. | |
| query | No | The words to look for. Optional when center or area_points is given. | |
| since | No | ISO-8601 instant; only items created at or after this. | |
| until | No | ISO-8601 instant; only items created at or before this. | |
| center | No | WGS84 center of a radius filter; requires radius_meters. | |
| member | No | Only units written by this person: a usr_ id, an org member's name, or on a personal account the name of someone in your own activity. | |
| area_points | No | Corners of a polygon to search inside instead of a circle; not combinable with center/radius_meters. | |
| radius_meters | No | Radius around center, in meters. |