Cohort Event Intervals
get_cohort_event_intervalsMeasures the time between two prosecution events across a group of marks, e.g. the average days from Office Action to publication for marks published in Q2 2026. The group is chosen by an anchor event (preset: publication, notice_of_publication, registration, notice_of_allowance, abandonment or first_office_action, or raw event codes, where a trailing * matches a prefix) within a date window of up to 366 days; the interval runs from a start event to an end event. Returns the average, median and percentiles in days, how many marks in the group had no start event, and example marks. Samples up to max_sample marks from the start of the window and says when the sample is truncated. Event codes beyond the presets are listed by get_event_code_reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_event | No | Interval end event (first occurrence on/after the start event). Defaults to the cohort event itself. | |
| max_sample | No | Max cohort marks to measure (default 1000, max 2000). | |
| start_event | No | Interval start event (first occurrence on/before the cohort event). Defaults to first_office_action. | |
| cohort_event | No | Preset anchor event defining cohort membership (e.g. publication = PUBO). | |
| cohort_date_to | Yes | Cohort window end (YYYY-MM-DD). Required. Window max 366 days. | |
| end_event_codes | No | Alternative to end_event: raw event codes (trailing * = prefix). | |
| cohort_date_from | Yes | Cohort window start (YYYY-MM-DD). Required. | |
| start_event_codes | No | Alternative to start_event: raw event codes (trailing * = prefix). | |
| cohort_event_codes | No | Alternative to cohort_event: raw USPTO event codes; trailing * matches a prefix (e.g. "NPUB*"). |