Run Safe Analytics Query
run_safe_analyticsRun a constrained business-level analytics query without exposing schema details. This is the default fallback for bespoke rankings, counts, snapshots, and timelines across owners, firms, and correspondents. Prefer this before chaining search, summary, or web research tools for aggregate business questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of ranked rows, preview marks, or timeline events to return. | |
| entity | Yes | What to analyze. Ranking currently supports owners. Count, snapshot, and timeline also support firms and correspondents. | |
| metric | No | Required for count. Ranking currently supports filings only. | |
| filters | No | ||
| subject_name | No | Required for count, snapshot, and timeline. Examples: "Ideaya Biosciences", "Goodwin Procter", or "Todd Schneider". | |
| analysis_type | Yes | Business analytics mode: ranking, count, snapshot, or timeline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| entity | Yes | ||
| metric | Yes | ||
| summary | Yes | ||
| rankings | Yes | ||
| returned | Yes | ||
| resolution | Yes | ||
| count_result | Yes | ||
| subject_name | Yes | ||
| analysis_type | Yes | ||
| filters_applied | Yes | ||
| snapshot_result | Yes | ||
| timeline_result | Yes | ||
| resolved_subject | Yes | ||
| open_in_gleanmark | Yes | ||
| total_matching_marks | No | ||
| total_matching_entities | No | ||
| total_matching_live_marks | No |