diff --git a/internal/cli/zz_generated_a2a_agents.go b/internal/cli/zz_generated_a2a_agents.go index 9dd42b5..8948f31 100644 --- a/internal/cli/zz_generated_a2a_agents.go +++ b/internal/cli/zz_generated_a2a_agents.go @@ -37,7 +37,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - can_edit (boolean) (required) — Whether the caller may edit this agent. - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it. - card_url (string) (required) — URL of the remote agent card. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the agent. - environment_id (string) (required) — BYOC runner ID. Set only when 'environment_kind=byoc'; empty otherwise. - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; 'byoc' pins the agent to a specific runner named by 'environment_id'. [byoc] @@ -48,7 +48,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - streaming (boolean) (required) — Whether the remote agent supports streaming responses. - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it. - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("agent_id", "agent-id"), Example: ` flashduty safari a2a-agent-get --data '{"agent_id":"a2a_6mWqZ2pK9nLcR3tY8uVb4D"}'`, @@ -123,7 +123,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - can_edit (boolean) (required) — Whether the caller may edit this agent. - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it. - card_url (string) (required) — URL of the remote agent card. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the agent. - environment_id (string) (required) — BYOC runner ID. Set only when 'environment_kind=byoc'; empty otherwise. - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; 'byoc' pins the agent to a specific runner named by 'environment_id'. [byoc] @@ -134,7 +134,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - streaming (boolean) (required) — Whether the remote agent supports streaming responses. - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it. - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total number of matching agents. `, Example: ` flashduty safari a2a-agent-list --data '{"include_account":true,"limit":20,"offset":0}'`, diff --git a/internal/cli/zz_generated_account.go b/internal/cli/zz_generated_account.go index adfd89f..7466afb 100644 --- a/internal/cli/zz_generated_account.go +++ b/internal/cli/zz_generated_account.go @@ -20,7 +20,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_name (string) — Account name. - avatar (string) — Account avatar URL. - country_code (string) — Calling country code for the contact phone. - - created_at (integer) — Account creation time, Unix timestamp in seconds. + - created_at (string) — Account creation time, Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - domain (string) — Primary account domain (login subdomain). - email (string) — Account contact email. - extra_domains (array) — Additional account domains. diff --git a/internal/cli/zz_generated_alert_enrichment.go b/internal/cli/zz_generated_alert_enrichment.go index 15894e3..6d52875 100644 --- a/internal/cli/zz_generated_alert_enrichment.go +++ b/internal/cli/zz_generated_alert_enrichment.go @@ -24,7 +24,7 @@ Request fields: --integration-id int (required) — Integration ID to query enrichment rules for. Must be greater than 0. (min 1) Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) (required) — Creation timestamp, Unix seconds. + - created_at (string) (required) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - integration_id (integer) (required) — Integration ID. - rules (array) (required) — Ordered enrichment rules. @@ -46,7 +46,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_field (string) — Source field to extract from. Must be 'title', 'description', or a label key prefixed with 'labels.' (e.g. 'labels.env'). - template (string) — Go 'text/template' string. Alert fields are available as '{{.title}}', '{{.description}}', and '{{.labels.key}}'. Example: '{{.labels.region}}-{{.labels.env}}'. (≤500 chars) - status (string) (required) — Rule set status. - - updated_at (integer) (required) — Last update timestamp, Unix seconds. + - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. `, Args: requireBodyFieldOrExactArg("integration_id", "integration-id"), @@ -99,7 +99,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Enrichment rule sets. - - created_at (integer) (required) — Creation timestamp, Unix seconds. + - created_at (string) (required) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - integration_id (integer) (required) — Integration ID. - rules (array) (required) — Ordered enrichment rules. @@ -121,7 +121,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - source_field (string) — Source field to extract from. Must be 'title', 'description', or a label key prefixed with 'labels.' (e.g. 'labels.env'). - template (string) — Go 'text/template' string. Alert fields are available as '{{.title}}', '{{.description}}', and '{{.labels.key}}'. Example: '{{.labels.region}}-{{.labels.env}}'. (≤500 chars) - status (string) (required) — Rule set status. - - updated_at (integer) (required) — Last update timestamp, Unix seconds. + - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. `, Args: requireBodyFieldOrArgs("integration_ids", "integration-ids"), @@ -244,10 +244,10 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Owning account ID. - - created_at (integer) (required) — Creation timestamp, Unix seconds. + - created_at (string) (required) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - default_value (any) — Default value. Type depends on 'field_type': 'bool' for checkbox; 'string' for single_select/text; 'string[]' for multi_select; may be 'null' if no default. - - deleted_at (integer) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. + - deleted_at (string) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Optional free-text description. (≤499 chars) - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars) - field_id (string) (required) — Field ID — 24-character hex ObjectID. @@ -255,7 +255,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text] - options (any) — Allowed choices for 'single_select'/'multi_select' (non-empty unique string array). 'null' or empty for 'checkbox'/'text'. - status (string) (required) — Field status (e.g. 'enabled', 'deleted'). - - updated_at (integer) (required) — Last update timestamp, Unix seconds. + - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. - value_type (string) (required) — Stored value type. 'checkbox' is always 'bool'; 'single_select'/'multi_select'/'text' are always 'string'. [string, bool, float] `, @@ -316,10 +316,10 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — All non-deleted custom fields for the account. No pagination. - account_id (integer) (required) — Owning account ID. - - created_at (integer) (required) — Creation timestamp, Unix seconds. + - created_at (string) (required) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - default_value (any) — Default value. Type depends on 'field_type': 'bool' for checkbox; 'string' for single_select/text; 'string[]' for multi_select; may be 'null' if no default. - - deleted_at (integer) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. + - deleted_at (string) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Optional free-text description. (≤499 chars) - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars) - field_id (string) (required) — Field ID — 24-character hex ObjectID. @@ -327,7 +327,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text] - options (any) — Allowed choices for 'single_select'/'multi_select' (non-empty unique string array). 'null' or empty for 'checkbox'/'text'. - status (string) (required) — Field status (e.g. 'enabled', 'deleted'). - - updated_at (integer) (required) — Last update timestamp, Unix seconds. + - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. - value_type (string) (required) — Stored value type. 'checkbox' is always 'bool'; 'single_select'/'multi_select'/'text' are always 'string'. [string, bool, float] `, @@ -592,7 +592,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - api_id (string) (required) — API ID (MongoDB ObjectID hex). - api_name (string) (required) — API name. - - created_at (integer) — Creation timestamp, Unix seconds. + - created_at (string) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - description (string) (required) — Description. - headers (object) (required) — Custom request headers. @@ -601,7 +601,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - status (string) (required) — API status. - team_id (integer) (required) — Owning team ID. - timeout (integer) (required) — Request timeout in seconds. - - updated_at (integer) — Last update timestamp, Unix seconds. + - updated_at (string) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. - url (string) (required) — Endpoint URL. `, @@ -653,7 +653,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) (required) — Mapping APIs. - api_id (string) (required) — API ID (MongoDB ObjectID hex). - api_name (string) (required) — API name. - - created_at (integer) — Creation timestamp, Unix seconds. + - created_at (string) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - description (string) (required) — Description. - headers (object) (required) — Custom request headers. @@ -662,7 +662,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) (required) — API status. - team_id (integer) (required) — Owning team ID. - timeout (integer) (required) — Request timeout in seconds. - - updated_at (integer) — Last update timestamp, Unix seconds. + - updated_at (string) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. - url (string) (required) — Endpoint URL. - total (integer) (required) — Total API count. @@ -998,10 +998,10 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - has_next_page (boolean) (required) — Whether more pages exist. - items (array) (required) — Data rows. - - created_at (integer) — Creation timestamp, Unix seconds. + - created_at (string) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - fields (object) — All label key-value pairs for this row. - key (string) — Composite key derived from source label values. - - updated_at (integer) — Last update timestamp, Unix seconds. + - updated_at (string) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor token for the next page. - total (integer) (required) — Total matching rows. `, @@ -1290,7 +1290,7 @@ Request fields: --schema-id string (required) — Mapping schema ID (MongoDB ObjectID hex). Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) — Creation timestamp, Unix seconds. + - created_at (string) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - description (string) (required) — Schema description. - result_labels (array) (required) — Output label names. @@ -1299,7 +1299,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_labels (array) (required) — Lookup key label names. - status (string) (required) — Schema status. - team_id (integer) (required) — Owning team ID. - - updated_at (integer) — Last update timestamp, Unix seconds. + - updated_at (string) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. `, Args: requireBodyFieldOrExactArg("schema_id", "schema-id"), @@ -1348,7 +1348,7 @@ API: POST /enrichment/mapping/schema/list (mapping-schema-read-list) Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Mapping schemas. - - created_at (integer) — Creation timestamp, Unix seconds. + - created_at (string) — Creation timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator member ID. - description (string) (required) — Schema description. - result_labels (array) (required) — Output label names. @@ -1357,7 +1357,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - source_labels (array) (required) — Lookup key label names. - status (string) (required) — Schema status. - team_id (integer) (required) — Owning team ID. - - updated_at (integer) — Last update timestamp, Unix seconds. + - updated_at (string) — Last update timestamp, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater member ID. - total (integer) (required) — Total schema count. `, diff --git a/internal/cli/zz_generated_alert_rules.go b/internal/cli/zz_generated_alert_rules.go index ae1c366..ba55e0a 100644 --- a/internal/cli/zz_generated_alert_rules.go +++ b/internal/cli/zz_generated_alert_rules.go @@ -234,7 +234,7 @@ API: POST /monit/rule/counter/total (monit-rule-read-counter-total) Response fields ('data' is a TOP-LEVEL array of these row objects — pipe 'jq '.[]'', NOT '.items[]'): - account_id (integer) (required) - - clock (integer) (required) — Sample timestamp, Unix epoch seconds. + - clock (string) (required) — Sample timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - id (integer) (required) - num (integer) (required) — Rule count at the sample time. `, @@ -423,7 +423,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_id (integer) (required) — Account ID. Filled by the server from the authenticated identity; do not provide. - annotations (object) — Annotation key-value pairs delivered with alert events; keys must not start with '$' (reserved for query fields). - channel_ids (array) — Channel IDs to send alerts to. - - created_at (integer) (required) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide. + - created_at (string) (required) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator user ID. Filled by the server from the current user; do not provide. - creator_name (string) (required) — Creator name. Filled by the server; do not provide. - cron_pattern (string) (required) — Schedule expression: a 6-field cron (with seconds) or an '@every 30s' interval descriptor. Must not start with 'CRON_TZ=' or 'TZ='; use the 'timezone' field instead. @@ -485,7 +485,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - expr (string) — Query expression. - name (string) — Relate-query identifier. - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. 'Asia/Shanghai', 'UTC', 'Europe/London'); shortcuts and offsets such as 'Local', 'UTC+8', or 'CST' are rejected. Treated as 'Asia/Shanghai' if empty. - - updated_at (integer) (required) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide. + - updated_at (string) (required) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updater_id (integer) (required) — Last updater user ID. Filled by the server; do not provide. - updater_name (string) (required) — Last updater name. Filled by the server; do not provide. `, diff --git a/internal/cli/zz_generated_alerts.go b/internal/cli/zz_generated_alerts.go index ec97f2b..6f28eb3 100644 --- a/internal/cli/zz_generated_alerts.go +++ b/internal/cli/zz_generated_alerts.go @@ -52,14 +52,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -69,7 +69,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) - total (integer) `, @@ -182,14 +182,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -199,7 +199,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor to pass as 'search_after_ctx' for the next page. - total (integer) (required) — Total matching event count. `, @@ -281,7 +281,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - has_next_page (boolean) - items (array) - account_id (integer) (required) — Account ID. - - created_at (integer) (required) — Creation timestamp in Unix epoch milliseconds. + - created_at (string) (required) — Creation timestamp in Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Member ID of the creator. 0 for system-generated entries. - detail (object) (required) — Type-specific payload. The concrete shape is determined by 'type'. - comment (string) — Comment body. @@ -289,7 +289,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) — Severity level. [Ok, Critical, Warning, Info] - ref_id (string) (required) — ObjectID of the alert this entry references. - type (string) (required) — Alert activity feed entry type. Each value identifies one alert lifecycle event; the matching 'detail' payload shape is determined by this field. | Type | Meaning | |---|---| | 'a_new' | Alert triggered. | | 'a_comm' | Comment added on the alert. | | 'a_close' | Alert closed. | [a_new, a_comm, a_close] - - updated_at (integer) (required) — Last update timestamp in Unix epoch milliseconds. + - updated_at (string) (required) — Last update timestamp in Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("alert_id", "alert-id"), Example: ` flashduty alert feed --data '{"alert_id":"663a1b2c3d4e5f6789abcdef","asc":false,"limit":20}'`, @@ -368,27 +368,27 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - channel_id (integer) — ID of the channel the alert belongs to. - channel_name (string) — Display name of the channel. - channel_status (string) — Status of the channel (e.g. 'enabled', 'disabled'). - - created_at (integer) — Creation timestamp, Unix epoch seconds. + - created_at (string) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. Deprecated: use 'integration_id' instead. - data_source_name (string) — Deprecated. Use 'integration_name' instead. - data_source_ref_id (string) — Deprecated. Use 'integration_ref_id' instead. - data_source_type (string) — Deprecated. Use 'integration_type' instead. - description (string) — Alert description. - - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active. + - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) — Total number of raw events received by this alert. - events (array) — Recent raw events attached to this alert. Populated only by some endpoints. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -398,7 +398,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) — True if this alert has ever been silenced. - images (array) — Images attached to the alert. - alt (string) — Alt text. @@ -413,13 +413,13 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - integration_ref_id (string) — External reference ID of the integration. - integration_type (string) — Type/plugin key of the integration. - labels (object) — Label key-value pairs. - - last_time (integer) — Last-event time, Unix epoch seconds. + - last_time (string) — Last-event time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) — Email of the current responder (from the associated incident). - responder_name (string) — Display name of the current responder (from the associated incident). - - start_time (integer) — First-seen time, Unix epoch seconds. + - start_time (string) — First-seen time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) — Alert title. - title_rule (string) — Title template used to derive 'title' from the event labels (e.g. '$service::$cluster'). - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("alert_id", "alert-id"), Example: ` flashduty alert info --data '{"alert_id":"663a1b2c3d4e5f6789abcdef"}'`, @@ -510,27 +510,27 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) — ID of the channel the alert belongs to. - channel_name (string) — Display name of the channel. - channel_status (string) — Status of the channel (e.g. 'enabled', 'disabled'). - - created_at (integer) — Creation timestamp, Unix epoch seconds. + - created_at (string) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. Deprecated: use 'integration_id' instead. - data_source_name (string) — Deprecated. Use 'integration_name' instead. - data_source_ref_id (string) — Deprecated. Use 'integration_ref_id' instead. - data_source_type (string) — Deprecated. Use 'integration_type' instead. - description (string) — Alert description. - - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active. + - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) — Total number of raw events received by this alert. - events (array) — Recent raw events attached to this alert. Populated only by some endpoints. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -540,7 +540,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) — True if this alert has ever been silenced. - images (array) — Images attached to the alert. - alt (string) — Alt text. @@ -555,13 +555,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) — External reference ID of the integration. - integration_type (string) — Type/plugin key of the integration. - labels (object) — Label key-value pairs. - - last_time (integer) — Last-event time, Unix epoch seconds. + - last_time (string) — Last-event time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) — Email of the current responder (from the associated incident). - responder_name (string) — Display name of the current responder (from the associated incident). - - start_time (integer) — First-seen time, Unix epoch seconds. + - start_time (string) — First-seen time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) — Alert title. - title_rule (string) — Title template used to derive 'title' from the event labels (e.g. '$service::$cluster'). - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor for the next page. - total (integer) — Total matching alerts. `, @@ -686,27 +686,27 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) — ID of the channel the alert belongs to. - channel_name (string) — Display name of the channel. - channel_status (string) — Status of the channel (e.g. 'enabled', 'disabled'). - - created_at (integer) — Creation timestamp, Unix epoch seconds. + - created_at (string) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. Deprecated: use 'integration_id' instead. - data_source_name (string) — Deprecated. Use 'integration_name' instead. - data_source_ref_id (string) — Deprecated. Use 'integration_ref_id' instead. - data_source_type (string) — Deprecated. Use 'integration_type' instead. - description (string) — Alert description. - - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active. + - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) — Total number of raw events received by this alert. - events (array) — Recent raw events attached to this alert. Populated only by some endpoints. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -716,7 +716,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) — True if this alert has ever been silenced. - images (array) — Images attached to the alert. - alt (string) — Alt text. @@ -731,13 +731,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) — External reference ID of the integration. - integration_type (string) — Type/plugin key of the integration. - labels (object) — Label key-value pairs. - - last_time (integer) — Last-event time, Unix epoch seconds. + - last_time (string) — Last-event time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) — Email of the current responder (from the associated incident). - responder_name (string) — Display name of the current responder (from the associated incident). - - start_time (integer) — First-seen time, Unix epoch seconds. + - start_time (string) — First-seen time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) — Alert title. - title_rule (string) — Title template used to derive 'title' from the event labels (e.g. '$service::$cluster'). - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor for the next page. - total (integer) — Total matching alerts. `, @@ -790,7 +790,7 @@ Request fields: --integration-id int (required) — Integration ID. Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) — Creation timestamp, Unix epoch seconds. + - created_at (string) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Member ID who created the pipeline. - integration_id (integer) — Integration ID this pipeline applies to. - rules (array) — Ordered list of processing rules. @@ -809,7 +809,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - vals (array) (required) — List of values to match against. Each entry is a plain string or a '/regex/' pattern. - title (string) — New title template. Supports Golang template syntax referencing alert fields. - status (string) — Pipeline status. Possible values: 'enabled', 'disabled'. - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Member ID who last updated the pipeline. `, Args: requireBodyFieldOrExactArg("integration_id", "integration-id"), @@ -862,7 +862,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) - - created_at (integer) — Creation timestamp, Unix epoch seconds. + - created_at (string) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Member ID who created the pipeline. - integration_id (integer) — Integration ID this pipeline applies to. - rules (array) — Ordered list of processing rules. @@ -878,7 +878,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - source_filters (array>) — Filter that identifies the source alerts to inhibit. - title (string) — New title template. Supports Golang template syntax referencing alert fields. - status (string) — Pipeline status. Possible values: 'enabled', 'disabled'. - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Member ID who last updated the pipeline. `, Args: requireBodyFieldOrArgs("integration_ids", "integration-ids"), diff --git a/internal/cli/zz_generated_analytics.go b/internal/cli/zz_generated_analytics.go index 50f0231..d6f1697 100644 --- a/internal/cli/zz_generated_analytics.go +++ b/internal/cli/zz_generated_analytics.go @@ -98,7 +98,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - total_notifications (integer) - total_seconds_to_ack (integer) - total_seconds_to_close (integer) - - ts (integer) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. + - ts (string) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty insight account --data '{"aggregate_unit":"day","end_time":1712604800,"severities":["Critical","Warning"],"start_time":1712000000}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -309,7 +309,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - total_notifications (integer) - total_seconds_to_ack (integer) - total_seconds_to_close (integer) - - ts (integer) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. + - ts (string) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty insight channel --data '{"aggregate_unit":"day","channel_ids":[4321322010131],"end_time":1712604800,"start_time":1712000000}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -511,7 +511,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - total_interruptions (integer) - total_notifications (integer) - total_seconds_to_ack (integer) - - ts (integer) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. + - ts (string) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty insight responder --data '{"aggregate_unit":"day","end_time":1712604800,"responder_ids":[3790925372131],"start_time":1712000000}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -722,7 +722,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - total_notifications (integer) - total_seconds_to_ack (integer) - total_seconds_to_close (integer) - - ts (integer) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. + - ts (string) — Aggregation bucket start time, Unix seconds. Present when 'aggregate_unit' is used. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty insight team --data '{"aggregate_unit":"day","end_time":1712604800,"start_time":1712000000,"team_ids":[4295771902131]}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -1249,7 +1249,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) - acknowledgements (integer) - assigned_to (object) — Current assignment target for the incident. - - assigned_at (integer) — Unix timestamp (seconds) when this assignment was made. + - assigned_at (string) — Unix timestamp (seconds) when this assignment was made. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) driving the assignment. - escalate_rule_name (string) — Display name of the escalation rule. - id (string) — Internal assignment record ID. @@ -1285,7 +1285,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - seconds_to_ack (integer) - seconds_to_close (integer) - severity (string) [Critical, Warning, Info, Ok] - - snoozed_before (integer) — Unix timestamp in seconds until which the incident is snoozed. + - snoozed_before (string) — Unix timestamp in seconds until which the incident is snoozed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - team_id (integer) - team_name (string) - timeout_escalations (integer) diff --git a/internal/cli/zz_generated_applications.go b/internal/cli/zz_generated_applications.go index f09a2c4..cd21adb 100644 --- a/internal/cli/zz_generated_applications.go +++ b/internal/cli/zz_generated_applications.go @@ -32,7 +32,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - application_id (string) — Unique application ID. - application_name (string) — Application display name. - client_token (string) — Token used to initialize the RUM SDK. - - created_at (integer) — Creation timestamp, Unix epoch milliseconds. + - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) — Creator member ID. - is_private (boolean) — If 'true', the application is only accessible to team members. - links (object) — External link integration settings for the application. @@ -47,7 +47,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - endpoint (string) — Trace endpoint URL (http or https). - open_type (string) — How to open the trace link. [popup, tab] - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity] - - updated_at (integer) — Last update timestamp, Unix epoch milliseconds. + - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Last updater member ID. `, Args: requireBodyFieldOrExactArg("application_id", "application-id"), @@ -108,7 +108,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - application_id (string) — Unique application ID. - application_name (string) — Application display name. - client_token (string) — Token used to initialize the RUM SDK. - - created_at (integer) — Creation timestamp, Unix epoch milliseconds. + - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) — Creator member ID. - is_private (boolean) — If 'true', the application is only accessible to team members. - links (object) — External link integration settings for the application. @@ -123,7 +123,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - endpoint (string) — Trace endpoint URL (http or https). - open_type (string) — How to open the trace link. [popup, tab] - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity] - - updated_at (integer) — Last update timestamp, Unix epoch milliseconds. + - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Last updater member ID. `, Args: requireBodyFieldOrArgs("application_ids", "application-ids"), @@ -199,7 +199,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - application_id (string) — Unique application ID. - application_name (string) — Application display name. - client_token (string) — Token used to initialize the RUM SDK. - - created_at (integer) — Creation timestamp, Unix epoch milliseconds. + - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) — Creator member ID. - is_private (boolean) — If 'true', the application is only accessible to team members. - links (object) — External link integration settings for the application. @@ -214,7 +214,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - endpoint (string) — Trace endpoint URL (http or https). - open_type (string) — How to open the trace link. [popup, tab] - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity] - - updated_at (integer) — Last update timestamp, Unix epoch milliseconds. + - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Last updater member ID. - total (integer) `, diff --git a/internal/cli/zz_generated_audit_logs.go b/internal/cli/zz_generated_audit_logs.go index 3c69389..ef2fedb 100644 --- a/internal/cli/zz_generated_audit_logs.go +++ b/internal/cli/zz_generated_audit_logs.go @@ -83,7 +83,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - docs (array) — Audit log entries for this page. - account_id (integer) (required) — ID of the account. - body (string) (required) — JSON-encoded request body (may be truncated at 10 KB). - - created_at (integer) (required) — Timestamp of the operation in Unix epoch milliseconds. + - created_at (string) (required) — Timestamp of the operation in Unix epoch milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ip (string) (required) — Client IP address of the caller. - is_dangerous (boolean) (required) — True if this is flagged as a high-risk operation. - is_write (boolean) (required) — True for mutating operations; false for read-only ones. diff --git a/internal/cli/zz_generated_automations.go b/internal/cli/zz_generated_automations.go index 16d7b5d..6f9dfa9 100644 --- a/internal/cli/zz_generated_automations.go +++ b/internal/cli/zz_generated_automations.go @@ -26,7 +26,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID. - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team. - - created_at (integer) (required) — Creation time, Unix milliseconds. + - created_at (string) (required) — Creation time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - cron_expr (string) (required) — Normalized 5-field cron expression. - enabled (boolean) (required) — Whether the rule is enabled. - environment_id (string) (required) — BYOC Runner ID. @@ -44,12 +44,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - prompt (string) (required) — Task prompt. - rule_id (string) (required) — Rule ID. - run_scope (string) (required) — Hidden session run scope. [person, team] - - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. + - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled. - schedule_trigger_id (string) — Schedule trigger ID. - team_id (integer) (required) — Scope team ID; 0 means personal rule. - timezone (string) (required) — IANA timezone 'cron_expr' is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled. - - updated_at (integer) (required) — Last update time, Unix milliseconds. + - updated_at (string) (required) — Last update time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("rule_id", "rule-id"), Example: ` flashduty safari automation-rule-get --data '{"rule_id":"arule_7NnLzY2Qp8xS4kUaV3mR6b"}'`, @@ -117,7 +117,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - rules (array) (required) - account_id (integer) (required) — Account ID. - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team. - - created_at (integer) (required) — Creation time, Unix milliseconds. + - created_at (string) (required) — Creation time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - cron_expr (string) (required) — Normalized 5-field cron expression. - enabled (boolean) (required) — Whether the rule is enabled. - environment_id (string) (required) — BYOC Runner ID. @@ -135,12 +135,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - prompt (string) (required) — Task prompt. - rule_id (string) (required) — Rule ID. - run_scope (string) (required) — Hidden session run scope. [person, team] - - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. + - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled. - schedule_trigger_id (string) — Schedule trigger ID. - team_id (integer) (required) — Scope team ID; 0 means personal rule. - timezone (string) (required) — IANA timezone 'cron_expr' is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled. - - updated_at (integer) (required) — Last update time, Unix milliseconds. + - updated_at (string) (required) — Last update time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total count. `, Example: ` flashduty safari automation-rule-list --data '{"limit":20,"scope":"all"}'`, @@ -242,7 +242,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID. - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team. - - created_at (integer) (required) — Creation time, Unix milliseconds. + - created_at (string) (required) — Creation time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - cron_expr (string) (required) — Normalized 5-field cron expression. - enabled (boolean) (required) — Whether the rule is enabled. - environment_id (string) (required) — BYOC Runner ID. @@ -260,12 +260,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - prompt (string) (required) — Task prompt. - rule_id (string) (required) — Rule ID. - run_scope (string) (required) — Hidden session run scope. [person, team] - - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. + - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled. - schedule_trigger_id (string) — Schedule trigger ID. - team_id (integer) (required) — Scope team ID; 0 means personal rule. - timezone (string) (required) — IANA timezone 'cron_expr' is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled. - - updated_at (integer) (required) — Last update time, Unix milliseconds. + - updated_at (string) (required) — Last update time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty safari automation-rule-create --data '{"cron_expr":"0 9 * * 1","enabled":true,"http_post_trigger_enabled":true,"name":"Weekly on-call review","oncall_incident_channel_ids":[456],"oncall_incident_severities":["Critical","Warning"],"oncall_incident_trigger_enabled":true,"prompt":"Summarize last week'\''s alert noise and escalation load.","schedule_trigger_enabled":true,"team_id":123,"timezone":"Asia/Shanghai"}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -499,7 +499,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID. - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team. - - created_at (integer) (required) — Creation time, Unix milliseconds. + - created_at (string) (required) — Creation time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - cron_expr (string) (required) — Normalized 5-field cron expression. - enabled (boolean) (required) — Whether the rule is enabled. - environment_id (string) (required) — BYOC Runner ID. @@ -517,12 +517,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - prompt (string) (required) — Task prompt. - rule_id (string) (required) — Rule ID. - run_scope (string) (required) — Hidden session run scope. [person, team] - - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. + - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled. - schedule_trigger_id (string) — Schedule trigger ID. - team_id (integer) (required) — Scope team ID; 0 means personal rule. - timezone (string) (required) — IANA timezone 'cron_expr' is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled. - - updated_at (integer) (required) — Last update time, Unix milliseconds. + - updated_at (string) (required) — Last update time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("rule_id", "rule-id"), Example: ` flashduty safari automation-rule-update --data '{"cron_expr":"15 9 * * 1","enabled":true,"oncall_incident_channel_ids":[456],"oncall_incident_severities":["Critical","Warning"],"oncall_incident_trigger_enabled":true,"rotate_http_post_trigger_token":true,"rule_id":"arule_7NnLzY2Qp8xS4kUaV3mR6b"}'`, @@ -642,8 +642,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - runs (array) (required) - account_id (integer) (required) — Account ID. - attempts (integer) (required) — Attempt count. - - completed_at (integer) (required) — Completion time, Unix milliseconds. 0 means not completed. - - created_at (integer) (required) — Creation time, Unix milliseconds. + - completed_at (string) (required) — Completion time, Unix milliseconds. 0 means not completed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - created_at (string) (required) — Creation time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - duration_ms (integer) (required) — Duration in milliseconds. - error_code (string) — Error code. - error_message (string) — Error message. @@ -652,11 +652,11 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - result_json (any) — Run result JSON. - rule_id (string) (required) — Rule ID. - run_id (string) (required) — Run ID. - - started_at (integer) (required) — Start time, Unix milliseconds. + - started_at (string) (required) — Start time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - stats_json (any) — Run stats JSON. - status (string) (required) — Run status. [queued, running, retrying, succeeded, partial, failed, skipped, abandoned] - trigger_kind (string) (required) — Trigger kind. [schedule, debug, manual, http_post, oncall_incident] - - updated_at (integer) (required) — Last update time, Unix milliseconds. + - updated_at (string) (required) — Last update time, Unix milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total count. `, Args: requireBodyFieldOrExactArg("rule_id", "rule-id"), diff --git a/internal/cli/zz_generated_calendars.go b/internal/cli/zz_generated_calendars.go index c81c1c6..96bac19 100644 --- a/internal/cli/zz_generated_calendars.go +++ b/internal/cli/zz_generated_calendars.go @@ -87,7 +87,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) (required) — Calendar events sorted by start_at. - account_id (integer) — Account ID. Only present for private events. - cal_id (string) (required) — Calendar ID. For public events this is a locale key such as zh-cn.china.official. - - created_at (integer) (required) — Creation timestamp (Unix seconds). + - created_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Creator person ID. Only present for private events. - description (string) (required) — Event description. - end_at (string) (required) — Event end date (YYYY-MM-DD, exclusive). @@ -95,7 +95,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - is_off (boolean) (required) — Whether the event marks a non-working day. - start_at (string) (required) — Event start date (YYYY-MM-DD). - summary (string) (required) — Event summary. - - updated_at (integer) (required) — Last update timestamp (Unix seconds). + - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total number of events returned. `, Args: requireBodyFieldOrExactArg("cal_id", "cal-id"), @@ -381,7 +381,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_id (integer) (required) — Account ID. - cal_id (string) (required) — Calendar ID. - cal_name (string) (required) — Calendar display name. - - created_at (integer) (required) — Creation timestamp (Unix seconds). + - created_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator person ID. - description (string) (required) — Calendar description. - extra_cal_ids (array) — Inherited public-holiday calendar IDs. @@ -389,7 +389,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - status (string) (required) — Calendar status. [enabled, deleted] - team_id (integer) (required) — Owning team ID (0 when not assigned). - timezone (string) (required) — IANA timezone. - - updated_at (integer) (required) — Last update timestamp (Unix seconds). + - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater person ID. - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday). `, @@ -448,7 +448,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_id (integer) (required) — Account ID. - cal_id (string) (required) — Calendar ID. - cal_name (string) (required) — Calendar display name. - - created_at (integer) (required) — Creation timestamp (Unix seconds). + - created_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Creator person ID. - description (string) (required) — Calendar description. - extra_cal_ids (array) — Inherited public-holiday calendar IDs. @@ -456,7 +456,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) (required) — Calendar status. [enabled, deleted] - team_id (integer) (required) — Owning team ID (0 when not assigned). - timezone (string) (required) — IANA timezone. - - updated_at (integer) (required) — Last update timestamp (Unix seconds). + - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Last updater person ID. - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday). - total (integer) (required) — Total number of calendars returned. diff --git a/internal/cli/zz_generated_changes.go b/internal/cli/zz_generated_changes.go index 68f0b1b..73986f1 100644 --- a/internal/cli/zz_generated_changes.go +++ b/internal/cli/zz_generated_changes.go @@ -56,28 +56,28 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_name (string) — Name of the collaboration channel. - channel_status (string) — Status of the collaboration channel. - description (string) — Change description. - - end_time (integer) — Unix timestamp in seconds when the change ended. + - end_time (string) — Unix timestamp in seconds when the change ended. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - events (array) — Underlying change events, returned only when include_events is true. - account_id (integer) — Account this change event belongs to. - change_key (string) — Stable key that groups events belonging to the same change. - change_status (string) — Lifecycle status of the change event. [Planned, Ready, Processing, Canceled, Done] - channel_id (integer) — Collaboration channel this change event is routed to. - - created_at (integer) — Unix timestamp in seconds when the change event was created. - - deleted_at (integer) — Unix timestamp in seconds when the change event was deleted. + - created_at (string) — Unix timestamp in seconds when the change event was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - deleted_at (string) — Unix timestamp in seconds when the change event was deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Change event description. - event_id (string) — Change event ID, a MongoDB ObjectID hex string. - - event_time (integer) — Unix timestamp in seconds when the change event occurred. + - event_time (string) — Unix timestamp in seconds when the change event occurred. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - integration_id (integer) — Integration that reported this change event. - labels (object) — Key-value labels attached to the change event. - link (string) — External link to the source change record. - title (string) — Change event title. - - updated_at (integer) — Unix timestamp in seconds when the change event was last updated. + - updated_at (string) — Unix timestamp in seconds when the change event was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - integration_id (integer) — Integration that reported this change. - integration_name (string) — Name of the reporting integration. - labels (object) — Key-value labels attached to the change. - - last_time (integer) — Unix timestamp in seconds of the most recent change activity. + - last_time (string) — Unix timestamp in seconds of the most recent change activity. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - link (string) — External link to the source change record. - - start_time (integer) — Unix timestamp in seconds when the change started. + - start_time (string) — Unix timestamp in seconds when the change started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) — Change title. - total (integer) — Total number of matching changes. `, diff --git a/internal/cli/zz_generated_channels.go b/internal/cli/zz_generated_channels.go index e90d5dc..30452a1 100644 --- a/internal/cli/zz_generated_channels.go +++ b/internal/cli/zz_generated_channels.go @@ -595,8 +595,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - aggr_window (integer) (required) — Delay window in seconds. - channel_id (integer) (required) — Channel the rule belongs to. - channel_name (string) — Channel name, populated for cross-channel listing responses. - - created_at (integer) (required) — Creation timestamp (unix seconds). - - deleted_at (integer) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. + - created_at (string) (required) — Creation timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - deleted_at (string) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description. - filters (object) (required) - layers (array) (required) — Escalation levels in order. @@ -628,7 +628,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - is_off (boolean) — When true, match days marked as days-off in the calendar. - repeat (array) — Days of the week this window repeats on. Empty means every day. - start (string) — Start of the window in 'HH:MM'. - - updated_at (integer) (required) — Last update timestamp (unix seconds). + - updated_at (string) (required) — Last update timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID that last updated the rule. `, Example: ` flashduty channel escalate-rule-info --data '{"channel_id":1001,"rule_id":"6621b23f4a2c5e0012ab34d0"}'`, @@ -685,8 +685,8 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - aggr_window (integer) (required) — Delay window in seconds. - channel_id (integer) (required) — Channel the rule belongs to. - channel_name (string) — Channel name, populated for cross-channel listing responses. - - created_at (integer) (required) — Creation timestamp (unix seconds). - - deleted_at (integer) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. + - created_at (string) (required) — Creation timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - deleted_at (string) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description. - filters (object) (required) - layers (array) (required) — Escalation levels in order. @@ -712,7 +712,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - is_off (boolean) — When true, match days marked as days-off in the calendar. - repeat (array) — Days of the week this window repeats on. Empty means every day. - start (string) — Start of the window in 'HH:MM'. - - updated_at (integer) (required) — Last update timestamp (unix seconds). + - updated_at (string) (required) — Last update timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID that last updated the rule. `, Args: requireBodyFieldOrExactArg("channel_id", "channel-id"), @@ -879,10 +879,10 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve. - channel_id (integer) — Channel ID. - channel_name (string) — Channel name. - - created_at (integer) — Creation timestamp (unix seconds). + - created_at (string) — Creation timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Member ID who created the channel. - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable). - - deleted_at (integer) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. + - deleted_at (string) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Free-form description. - disable_auto_close (boolean) — When true, automatic incident closing is disabled. - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled. @@ -906,7 +906,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel. - is_private (boolean) — When true, the channel is visible only to its managing teams. - is_starred (boolean) — Whether the current user has starred this channel. - - last_incident_at (integer) — Timestamp of the most recent incident (unix seconds). + - last_incident_at (string) — Timestamp of the most recent incident (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - managing_team_ids (array) — Additional teams that can manage the channel. - progress_to_incident_cnts (object) - Processing (integer) (required) — Count of processing incidents in the last 30 days. @@ -914,7 +914,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - status (string) — Channel status. [enabled, disabled, deleted] - team_id (integer) — Owning team ID. - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable). - - updated_at (integer) — Last update timestamp (unix seconds). + - updated_at (string) — Last update timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Aliases: []string{"get", "detail"}, Args: requireBodyFieldOrExactArg("channel_id", "channel-id"), @@ -1456,10 +1456,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve. - channel_id (integer) — Channel ID. - channel_name (string) — Channel name. - - created_at (integer) — Creation timestamp (unix seconds). + - created_at (string) — Creation timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Member ID who created the channel. - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable). - - deleted_at (integer) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. + - deleted_at (string) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Free-form description. - disable_auto_close (boolean) — When true, automatic incident closing is disabled. - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled. @@ -1483,7 +1483,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel. - is_private (boolean) — When true, the channel is visible only to its managing teams. - is_starred (boolean) — Whether the current user has starred this channel. - - last_incident_at (integer) — Timestamp of the most recent incident (unix seconds). + - last_incident_at (string) — Timestamp of the most recent incident (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - managing_team_ids (array) — Additional teams that can manage the channel. - progress_to_incident_cnts (object) - Processing (integer) (required) — Count of processing incidents in the last 30 days. @@ -1491,7 +1491,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) — Channel status. [enabled, disabled, deleted] - team_id (integer) — Owning team ID. - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable). - - updated_at (integer) — Last update timestamp (unix seconds). + - updated_at (string) — Last update timestamp (unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total matching channels. `, Example: ` flashduty channel list --data '{"asc":false,"limit":20,"orderby":"created_at","p":1}'`, @@ -2528,17 +2528,17 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard ('*', '?'), a regular expression wrapped in slashes ('/pattern/'), a CIDR ('cidr:10.0.0.0/8'), or a numeric comparison ('num:lt:100'). - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when 'routing_mode' is 'name_mapping'. - routing_mode (string) — Routing mode. 'standard' (default, also used when left empty) routes to the fixed channel IDs; 'name_mapping' resolves channels by reading a label value from the alert event. [standard, name_mapping] - - created_at (integer) — Creation time, Unix timestamp in seconds. + - created_at (string) — Creation time, Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — ID of the person who created the rule. - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels). - channel_ids (array) — Channel IDs to fall back to. - - deleted_at (integer) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. + - deleted_at (string) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - integration_id (integer) — Integration the rule belongs to. - sections (array) — Optional sections that visually group cases. - name (string) (required) — Section name. Must be unique within the rule. - position (integer) (required) — Index in 'cases' where this section starts. Must be between 0 and the length of 'cases'. - status (string) — Rule status. [enabled, deleted] - - updated_at (integer) — Last update time, Unix timestamp in seconds. + - updated_at (string) — Last update time, Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — ID of the person who performed the last update. - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control. `, @@ -2601,17 +2601,17 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard ('*', '?'), a regular expression wrapped in slashes ('/pattern/'), a CIDR ('cidr:10.0.0.0/8'), or a numeric comparison ('num:lt:100'). - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when 'routing_mode' is 'name_mapping'. - routing_mode (string) — Routing mode. 'standard' (default, also used when left empty) routes to the fixed channel IDs; 'name_mapping' resolves channels by reading a label value from the alert event. [standard, name_mapping] - - created_at (integer) — Creation time, Unix timestamp in seconds. + - created_at (string) — Creation time, Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — ID of the person who created the rule. - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels). - channel_ids (array) — Channel IDs to fall back to. - - deleted_at (integer) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. + - deleted_at (string) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - integration_id (integer) — Integration the rule belongs to. - sections (array) — Optional sections that visually group cases. - name (string) (required) — Section name. Must be unique within the rule. - position (integer) (required) — Index in 'cases' where this section starts. Must be between 0 and the length of 'cases'. - status (string) — Rule status. [enabled, deleted] - - updated_at (integer) — Last update time, Unix timestamp in seconds. + - updated_at (string) — Last update time, Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — ID of the person who performed the last update. - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control. `, diff --git a/internal/cli/zz_generated_data_sources.go b/internal/cli/zz_generated_data_sources.go index 40d35a8..c399d02 100644 --- a/internal/cli/zz_generated_data_sources.go +++ b/internal/cli/zz_generated_data_sources.go @@ -139,7 +139,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - tls_server_name (string) - tls_skip_verify (boolean) - type_ident (string) (required) — Datasource type identifier. Allowed: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit datasource-info --data '{"id":10}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -301,7 +301,7 @@ Response fields ('data' is a TOP-LEVEL array of these row objects — pipe 'jq ' - tls_server_name (string) - tls_skip_verify (boolean) - type_ident (string) (required) — Datasource type identifier. Allowed: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit datasource-list --data '{"type":"prometheus"}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -704,7 +704,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - tls_server_name (string) - tls_skip_verify (boolean) - type_ident (string) (required) — Datasource type identifier. Allowed: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit datasource-create --data '{"address":"http://prometheus.example.com:9090","edge_cluster_name":"default","name":"Prometheus Prod","note":"Production Prometheus","payload":{"prometheus":{"basic_auth_enabled":false}},"type_ident":"prometheus"}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -1051,7 +1051,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - tls_server_name (string) - tls_skip_verify (boolean) - type_ident (string) (required) — Datasource type identifier. Allowed: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit datasource-update --data '{"address":"http://prometheus-v2.example.com:9090","edge_cluster_name":"default","id":10,"name":"Prometheus Prod v2","note":"Updated","payload":{"prometheus":{"basic_auth_enabled":false}},"type_ident":"prometheus"}'`, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/internal/cli/zz_generated_diagnostics.go b/internal/cli/zz_generated_diagnostics.go index cd2e5a2..eb51019 100644 --- a/internal/cli/zz_generated_diagnostics.go +++ b/internal/cli/zz_generated_diagnostics.go @@ -278,7 +278,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - edge_ipport (string) — Edge instance address ('ip:port'), surfaced for diagnostics. - target_kind (string) — Target kind, e.g. 'host', 'mysql'. Filtering by kind is not supported in v1. - target_locator (string) — Target identifier; the list is sorted by this field ascending. - - updated_at (integer) — Last route-projection upsert time, Unix seconds. Treat as 'most recently observed', not a live-online indicator. + - updated_at (string) — Last route-projection upsert time, Unix seconds. Treat as 'most recently observed', not a live-online indicator. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - next_cursor (string) — Opaque cursor for the next page. Absent / empty means this is the last page. - total (integer) — Total matches for the current '(account_id, keyword)' pair, independent of 'cursor'. `, diff --git a/internal/cli/zz_generated_error_ingestion_rules.go b/internal/cli/zz_generated_error_ingestion_rules.go index fa71753..e056590 100644 --- a/internal/cli/zz_generated_error_ingestion_rules.go +++ b/internal/cli/zz_generated_error_ingestion_rules.go @@ -269,9 +269,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rules (array) (required) — The application's complete rule list as of this version. - account_id (integer) (required) — Account ID. - application_id (string) (required) — RUM application ID the rule belongs to. - - created_at (integer) (required) — Unix timestamp in milliseconds when the row was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the row was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID who created the rule. - - deleted_at (integer) (required) — Unix timestamp in milliseconds when the row was soft-deleted; '0' when not deleted. + - deleted_at (string) (required) — Unix timestamp in milliseconds when the row was soft-deleted; '0' when not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description. - filters (array>) (required) — The rule's filter conditions as of this snapshot version. - key (string) (required) — Field key. One of 'error.usr_id', 'error.usr_email', 'error.error_type', 'error.error_message', 'error.error_stack', 'error.view_url', 'error.env', 'error.version', 'error.service', 'error.browser_name', 'error.browser_version', 'error.fingerprint', 'error.is_crash', or a 'context.'-prefixed custom context path (up to 3 levels deep). @@ -281,9 +281,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rule_id (string) (required) — Rule ID. - rule_name (string) (required) — Rule name. - status (string) (required) — The rule's status as of this snapshot version. [enabled, disabled] - - updated_at (integer) (required) — Unix timestamp in milliseconds when the row was last updated. + - updated_at (string) (required) — Unix timestamp in milliseconds when the row was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID who last updated the rule. - - updated_at (integer) (required) — Unix timestamp in milliseconds when this snapshot was recorded. + - updated_at (string) (required) — Unix timestamp in milliseconds when this snapshot was recorded. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID whose action triggered this snapshot. - updated_by_name (string) (required) — Display name of the member whose action triggered this snapshot. - version (integer) (required) — History version number, incrementing from 1. @@ -417,7 +417,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Rules, newest-created first. - - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description, up to 512 characters. - filters (array>) (required) — The rule's filter conditions. - key (string) (required) — Field key. One of 'error.usr_id', 'error.usr_email', 'error.error_type', 'error.error_message', 'error.error_stack', 'error.view_url', 'error.env', 'error.version', 'error.service', 'error.browser_name', 'error.browser_version', 'error.fingerprint', 'error.is_crash', or a 'context.'-prefixed custom context path (up to 3 levels deep). @@ -426,7 +426,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rule_id (string) (required) — Rule ID. - rule_name (string) (required) — Rule name, 1-128 characters. Not required to be unique within the application. - status (string) (required) — Current status of the rule. [enabled, disabled] - - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated. + - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("application_id", "application-id"), Example: ` flashduty rum error-ingestion-rules-list --data '{"application_id":"WoyQQ3BohkdtPivubEvE8o"}'`, diff --git a/internal/cli/zz_generated_im_integrations.go b/internal/cli/zz_generated_im_integrations.go index a502552..8aef46a 100644 --- a/internal/cli/zz_generated_im_integrations.go +++ b/internal/cli/zz_generated_im_integrations.go @@ -19,14 +19,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) — IM integrations with the war-room feature enabled. - account_id (integer) — Account this integration belongs to. - category (string) — Category of the integration plugin. - - created_at (integer) — Unix timestamp in seconds when the integration was created. + - created_at (string) — Unix timestamp in seconds when the integration was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — Person who created the integration. - data_source_id (integer) — Integration ID. - description (string) — Integration description. - exclusive_data_source_id (integer) — Exclusive integration ID associated with this integration. - integration_id (integer) — Integration ID, alias of data_source_id. - integration_key (string) — Push key used by alert sources to send to this integration. - - last_time (integer) — Unix timestamp in seconds of the most recent activity on the integration. + - last_time (string) — Unix timestamp in seconds of the most recent activity on the integration. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - name (string) — Integration name. - no_editable (boolean) — Whether the integration is read-only. - plugin_id (integer) — Plugin ID backing this integration. @@ -36,7 +36,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - settings (object) — Plugin-specific configuration of the integration. - status (string) — Current status of the integration. - team_id (integer) — Team that owns this integration. - - updated_at (integer) — Unix timestamp in seconds when the integration was last updated. + - updated_at (string) — Unix timestamp in seconds when the integration was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — Person who last updated the integration. `, Example: ` flashduty datasource im-war-room-enabled-list --data '{}'`, diff --git a/internal/cli/zz_generated_incidents.go b/internal/cli/zz_generated_incidents.go index 0339b75..a7936d4 100644 --- a/internal/cli/zz_generated_incidents.go +++ b/internal/cli/zz_generated_incidents.go @@ -186,7 +186,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) (required) — Synchronization records on the current page. - channel_id (integer) (required) — Channel ID for the incident. - channel_name (string) (required) — Channel name for the incident. - - created_at (integer) (required) — Mapping record creation time, Unix seconds. + - created_at (string) (required) — Mapping record creation time, Unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - error_message (string) — Error message when synchronization failed. Usually absent on successful records. - incident_id (string) (required) — Associated Flashduty incident ID. - incident_title (string) (required) — Associated incident title. @@ -434,28 +434,28 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) (required) — Deprecated. Use 'integration_id' instead. - data_source_name (string) (required) — Deprecated. Use 'integration_name'. - data_source_ref_id (string) (required) — Deprecated. Use 'integration_ref_id'. - data_source_type (string) — Deprecated. Use 'integration_type'. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Alert description. - - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) (required) — Total number of raw events merged into this alert. - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -465,7 +465,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) (required) — Whether this alert has ever been silenced. - images (array) (required) — Attached images. - alt (string) — Alt text. @@ -480,13 +480,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) (required) — Integration reference ID. - integration_type (string) (required) — Integration type string. - labels (object) (required) — Alert labels. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) (required) — Primary responder email, if any. - responder_name (string) (required) — Primary responder name, if any. - - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired. + - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Alert title. - title_rule (string) (required) — Title rendering rule. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total matching alerts. `, Args: requireBodyFieldOrExactArg("incident_id", "incident-id"), @@ -698,11 +698,11 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_id (integer) — Account ID that owns the comment type. - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase). - comment_type_id (string) — Comment type ID (24-character hex ObjectID). - - created_at (integer) — Creation time as a Unix timestamp in seconds. + - created_at (string) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — ID of the user who created the comment type. - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars) - position (integer) — 1-based display position of the comment type. - - updated_at (integer) — Last update time as a Unix timestamp in seconds. + - updated_at (string) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — ID of the user who last updated the comment type. `, Example: ` flashduty incident comment-type-create --data '{"color":"#30A46C","name":"Key finding"}'`, @@ -806,11 +806,11 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_id (integer) — Account ID that owns the comment type. - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase). - comment_type_id (string) — Comment type ID (24-character hex ObjectID). - - created_at (integer) — Creation time as a Unix timestamp in seconds. + - created_at (string) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) — ID of the user who created the comment type. - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars) - position (integer) — 1-based display position of the comment type. - - updated_at (integer) — Last update time as a Unix timestamp in seconds. + - updated_at (string) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) — ID of the user who last updated the comment type. `, Example: ` flashduty incident comment-type-list --data '{}'`, @@ -1162,9 +1162,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - has_next_page (boolean) (required) — True when more entries are available. - items (array) (required) — Timeline entries for the current page. - account_id (integer) (required) — Account ID. - - created_at (integer) (required) — Creation timestamp in milliseconds. + - created_at (string) (required) — Creation timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — User ID of the actor. '0' means system-generated. - - deleted_at (integer) — Soft-delete timestamp (ms). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (ms). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - detail (object) (required) — Type-specific payload. The concrete shape is determined by 'type'. - added_assignee_ids (array) — Member IDs added as assignees. - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made. @@ -1246,7 +1246,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - work_item_id (string) — Work item ID. - ref_id (string) (required) — ObjectID of the source alert or incident this entry references. - type (string) (required) — Incident timeline entry type. Each value identifies one lifecycle event; the matching 'detail' payload shape is determined by this field. Incident types are prefixed with 'i_'. | Type | Meaning | |---|---| | 'i_new' | Incident Created: A new incident was created automatically or manually. | | 'i_assign' | Assigned: Incident was assigned to responders. | | 'i_a_rspd' | Responder Added: Additional responders joined the incident. | | 'i_notify' | Notification dispatched through a channel at a specific escalation level. | | 'i_storm' | Alert storm threshold reached on the incident. | | 'i_snooze' | Notifications snoozed for a given duration. | | 'i_wake' | Snooze cancelled and notifications resumed. | | 'i_ack' | Acknowledged: Responder confirmed they are working on the incident. | | 'i_unack' | Acknowledgement removed. | | 'i_comm' | Comment: Responder logged progress or key information. | | 'i_rslv' | Resolved: Incident was marked as resolved. | | 'i_reopen' | Reopened: Resolved incident was reopened, possibly due to recurrence. | | 'i_merge' | Merged: Multiple related incidents were merged into one. | | 'i_r_title' | Title updated. | | 'i_r_desc' | Description updated. | | 'i_r_impact' | Impact updated. | | 'i_r_rc' | Root cause updated. | | 'i_r_rsltn' | Resolution updated. | | 'i_r_severity' | Severity Changed: Incident severity level was adjusted. | | 'i_r_field' | Custom field value updated. | | 'i_m_flapping' | Incident muted by flapping detection. | | 'i_m_reply' | Mute reply marker on a comment. | | 'i_custom' | Action: Automated action or script was triggered. | | 'i_wr_create' | War Room Created: Chat group was created for collaborative response. | | 'i_wr_delete' | War room chat group deleted. | | 'i_auto_refresh' | Card auto-refresh event posted back to the timeline. | | 'i_wi_created' | Work Item Created: An Action or Follow-up was created. | | 'i_wi_updated' | Work Item Updated: Title, description, status, or priority was changed. | | 'i_wi_assignees' | Work Item Assignees Changed: Assignees were updated. | | 'i_wi_completed' | Work Item Completed: An assignee marked the work item complete. | | 'i_wi_converted' | Work Item Converted: An Action was converted to a Follow-up. | | 'i_wi_bound' | Work Item Bound: A converted Follow-up was bound to a post-mortem. | | 'i_wi_deleted' | Work Item Deleted: An Action or Follow-up was soft-deleted. | | 'a_merge' | Alert Merged: An alert was merged into an existing incident. | [i_new, i_assign, i_a_rspd, i_notify, i_storm, i_snooze, i_wake, i_ack, i_unack, i_comm, i_rslv, i_reopen, i_merge, i_r_title, i_r_desc, i_r_impact, i_r_rc, i_r_rsltn, i_r_severity, i_r_field, i_m_flapping, i_m_reply, i_custom, i_wr_create, i_wr_delete, i_auto_refresh, i_wi_created, i_wi_updated, i_wi_assignees, i_wi_completed, i_wi_converted, i_wi_bound, i_wi_deleted, a_merge] - - updated_at (integer) (required) — Last update timestamp in milliseconds. + - updated_at (string) (required) — Last update timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("incident_id", "incident-id"), Example: ` flashduty incident feed --data '{"incident_id":"69da451ef77b1b51f40e83ee","limit":20,"p":1}'`, @@ -1382,7 +1382,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_locale (string) (required) — Account locale. - account_name (string) (required) — Account name. - account_time_zone (string) (required) — Account time zone. - - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. + - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state. - ai_summary (string) (required) — AI-generated summary of the incident. - alert_cnt (integer) (required) — Total count of alerts merged into this incident. @@ -1396,28 +1396,28 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - channel_id (integer) (required) — Channel ID. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) (required) — Deprecated. Use 'integration_id' instead. - data_source_name (string) (required) — Deprecated. Use 'integration_name'. - data_source_ref_id (string) (required) — Deprecated. Use 'integration_ref_id'. - data_source_type (string) — Deprecated. Use 'integration_type'. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Alert description. - - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) (required) — Total number of raw events merged into this alert. - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - alt (string) — Alt text. - href (string) — Optional link URL when the image is clicked. @@ -1427,7 +1427,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) (required) — Whether this alert has ever been silenced. - images (array) (required) — Attached images. - alt (string) — Alt text. @@ -1442,13 +1442,13 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - integration_ref_id (string) (required) — Integration reference ID. - integration_type (string) (required) — Integration type string. - labels (object) (required) — Alert labels. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) (required) — Primary responder email, if any. - responder_name (string) (required) — Primary responder name, if any. - - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired. + - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Alert title. - title_rule (string) (required) — Title rendering rule. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - assigned_to (object) (required) — Current assignment target for the incident. - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made. - emails (array) — Email recipients, used by integrations such as ServiceNow. @@ -1461,14 +1461,14 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - channel_id (integer) (required) — Channel ID. 0 for standalone incidents. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. + - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - closer (object) — Closer member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. - person_id (integer) — Member ID. - person_name (string) — Member display name. - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator (object) — Creator member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. @@ -1480,10 +1480,10 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - data_source_type (string) — Deprecated. Use 'integration_type' instead. - data_source_types (array) — Deprecated. Use 'integration_types' instead. - dedup_key (string) (required) — Deduplication key used to coalesce alerts. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Incident description. - detail_url (string) (required) — Web console URL for the incident. - - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - equals_md5 (string) (required) — MD5 hash used for content-equality checks. - ever_muted (boolean) (required) — Whether the incident has ever been silenced. - fields (object) (required) — Custom field values keyed by field name. @@ -1502,7 +1502,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - integration_type (string) — First alert's integration type string, used by the detail page for label mappings. - integration_types (array) (required) — Integration type strings for all contributing integrations. - labels (object) (required) — Labels propagated from alerts. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - links (array) — Channel-level link integrations rendered for this incident. - endpoint (string) (required) — Rendered URL for the link. - name (string) (required) — Display name of the link. @@ -1520,18 +1520,18 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - reporter_email (string) — Reporter email for manually created incidents. - resolution (string) (required) — Resolution notes. - responders (array) (required) — Current responders with assignment/acknowledgement state. - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. - root_cause (string) (required) — Root cause analysis. - silence_url (string) (required) — Quick-silence URL for this incident. - - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. - - start_time (integer) (required) — Unix timestamp (seconds) when the incident started. + - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Incident title. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: optionalArg("incident_id"), Example: ` flashduty incident info --data '{"incident_id":"69da451ef77b1b51f40e83ee"}'`, @@ -1636,7 +1636,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_locale (string) (required) — Account locale. - account_name (string) (required) — Account name. - account_time_zone (string) (required) — Account time zone. - - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. + - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state. - ai_summary (string) (required) — AI-generated summary of the incident. - alert_cnt (integer) (required) — Total count of alerts merged into this incident. @@ -1650,35 +1650,35 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) (required) — Deprecated. Use 'integration_id' instead. - data_source_name (string) (required) — Deprecated. Use 'integration_name'. - data_source_ref_id (string) (required) — Deprecated. Use 'integration_ref_id'. - data_source_type (string) — Deprecated. Use 'integration_type'. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Alert description. - - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) (required) — Total number of raw events merged into this alert. - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - integration_id (integer) — Integration that produced this event. - integration_type (string) — Type/plugin key of the integration that produced this event. - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) (required) — Whether this alert has ever been silenced. - images (array) (required) — Attached images. - alt (string) — Alt text. @@ -1693,13 +1693,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) (required) — Integration reference ID. - integration_type (string) (required) — Integration type string. - labels (object) (required) — Alert labels. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) (required) — Primary responder email, if any. - responder_name (string) (required) — Primary responder name, if any. - - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired. + - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Alert title. - title_rule (string) (required) — Title rendering rule. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - assigned_to (object) (required) — Current assignment target for the incident. - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made. - emails (array) — Email recipients, used by integrations such as ServiceNow. @@ -1712,14 +1712,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. 0 for standalone incidents. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. + - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - closer (object) — Closer member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. - person_id (integer) — Member ID. - person_name (string) — Member display name. - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator (object) — Creator member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. @@ -1731,10 +1731,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - data_source_type (string) — Deprecated. Use 'integration_type' instead. - data_source_types (array) — Deprecated. Use 'integration_types' instead. - dedup_key (string) (required) — Deduplication key used to coalesce alerts. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Incident description. - detail_url (string) (required) — Web console URL for the incident. - - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - equals_md5 (string) (required) — MD5 hash used for content-equality checks. - ever_muted (boolean) (required) — Whether the incident has ever been silenced. - fields (object) (required) — Custom field values keyed by field name. @@ -1753,7 +1753,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_type (string) — First alert's integration type string, used by the detail page for label mappings. - integration_types (array) (required) — Integration type strings for all contributing integrations. - labels (object) (required) — Labels propagated from alerts. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - links (array) — Channel-level link integrations rendered for this incident. - endpoint (string) (required) — Rendered URL for the link. - name (string) (required) — Display name of the link. @@ -1771,18 +1771,18 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - reporter_email (string) — Reporter email for manually created incidents. - resolution (string) (required) — Resolution notes. - responders (array) (required) — Current responders with assignment/acknowledgement state. - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. - root_cause (string) (required) — Root cause analysis. - silence_url (string) (required) — Quick-silence URL for this incident. - - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. - - start_time (integer) (required) — Unix timestamp (seconds) when the incident started. + - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Incident title. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Opaque cursor to pass as 'search_after_ctx' on the next request. - total (integer) (required) — Total number of matching incidents. `, @@ -1931,7 +1931,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_locale (string) (required) — Account locale. - account_name (string) (required) — Account name. - account_time_zone (string) (required) — Account time zone. - - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. + - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state. - ai_summary (string) (required) — AI-generated summary of the incident. - alert_cnt (integer) (required) — Total count of alerts merged into this incident. @@ -1945,35 +1945,35 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) (required) — Deprecated. Use 'integration_id' instead. - data_source_name (string) (required) — Deprecated. Use 'integration_name'. - data_source_ref_id (string) (required) — Deprecated. Use 'integration_ref_id'. - data_source_type (string) — Deprecated. Use 'integration_type'. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Alert description. - - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) (required) — Total number of raw events merged into this alert. - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - integration_id (integer) — Integration that produced this event. - integration_type (string) — Type/plugin key of the integration that produced this event. - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) (required) — Whether this alert has ever been silenced. - images (array) (required) — Attached images. - alt (string) — Alt text. @@ -1988,13 +1988,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) (required) — Integration reference ID. - integration_type (string) (required) — Integration type string. - labels (object) (required) — Alert labels. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) (required) — Primary responder email, if any. - responder_name (string) (required) — Primary responder name, if any. - - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired. + - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Alert title. - title_rule (string) (required) — Title rendering rule. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - assigned_to (object) (required) — Current assignment target for the incident. - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made. - emails (array) — Email recipients, used by integrations such as ServiceNow. @@ -2007,14 +2007,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. 0 for standalone incidents. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. + - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - closer (object) — Closer member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. - person_id (integer) — Member ID. - person_name (string) — Member display name. - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator (object) — Creator member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. @@ -2026,10 +2026,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - data_source_type (string) — Deprecated. Use 'integration_type' instead. - data_source_types (array) — Deprecated. Use 'integration_types' instead. - dedup_key (string) (required) — Deduplication key used to coalesce alerts. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Incident description. - detail_url (string) (required) — Web console URL for the incident. - - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - equals_md5 (string) (required) — MD5 hash used for content-equality checks. - ever_muted (boolean) (required) — Whether the incident has ever been silenced. - fields (object) (required) — Custom field values keyed by field name. @@ -2048,7 +2048,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_type (string) — First alert's integration type string, used by the detail page for label mappings. - integration_types (array) (required) — Integration type strings for all contributing integrations. - labels (object) (required) — Labels propagated from alerts. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - links (array) — Channel-level link integrations rendered for this incident. - endpoint (string) (required) — Rendered URL for the link. - name (string) (required) — Display name of the link. @@ -2066,18 +2066,18 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - reporter_email (string) — Reporter email for manually created incidents. - resolution (string) (required) — Resolution notes. - responders (array) (required) — Current responders with assignment/acknowledgement state. - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. - root_cause (string) (required) — Root cause analysis. - silence_url (string) (required) — Quick-silence URL for this incident. - - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. - - start_time (integer) (required) — Unix timestamp (seconds) when the incident started. + - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Incident title. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Opaque cursor to pass as 'search_after_ctx' on the next request. - total (integer) (required) — Total number of matching incidents. `, @@ -2219,7 +2219,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_locale (string) (required) — Account locale. - account_name (string) (required) — Account name. - account_time_zone (string) (required) — Account time zone. - - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. + - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state. - ai_summary (string) (required) — AI-generated summary of the incident. - alert_cnt (integer) (required) — Total count of alerts merged into this incident. @@ -2233,35 +2233,35 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) (required) — Deprecated. Use 'integration_id' instead. - data_source_name (string) (required) — Deprecated. Use 'integration_name'. - data_source_ref_id (string) (required) — Deprecated. Use 'integration_ref_id'. - data_source_type (string) — Deprecated. Use 'integration_type'. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Alert description. - - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - event_cnt (integer) (required) — Total number of raw events merged into this alert. - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert. - account_id (integer) — Account ID. - alert_id (string) — Parent alert ID (MongoDB ObjectID). - alert_key (string) — Deduplication key used to merge events into an alert. - channel_id (integer) — Channel ID the event is routed to. - - created_at (integer) — Record creation time, Unix epoch seconds. + - created_at (string) — Record creation time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - data_source_id (integer) — Deprecated. Use 'integration_id' instead. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description. - event_id (string) — Event ID (MongoDB ObjectID). - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok] - event_status (string) — Status of this event. [Critical, Warning, Info, Ok] - - event_time (integer) — Event timestamp, Unix epoch seconds. + - event_time (string) — Event timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - images (array) — Images attached to the event. - integration_id (integer) — Integration that produced this event. - integration_type (string) — Type/plugin key of the integration that produced this event. - labels (object) — Label key-value pairs. - title (string) — Event title. - title_rule (string) — Title template used to derive 'title' from labels. - - updated_at (integer) — Record update time, Unix epoch seconds. + - updated_at (string) — Record update time, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - ever_muted (boolean) (required) — Whether this alert has ever been silenced. - images (array) (required) — Attached images. - alt (string) — Alt text. @@ -2276,13 +2276,13 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_ref_id (string) (required) — Integration reference ID. - integration_type (string) (required) — Integration type string. - labels (object) (required) — Alert labels. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - responder_email (string) (required) — Primary responder email, if any. - responder_name (string) (required) — Primary responder name, if any. - - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired. + - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Alert title. - title_rule (string) (required) — Title rendering rule. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - assigned_to (object) (required) — Current assignment target for the incident. - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made. - emails (array) — Email recipients, used by integrations such as ServiceNow. @@ -2295,14 +2295,14 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - channel_id (integer) (required) — Channel ID. 0 for standalone incidents. - channel_name (string) (required) — Channel display name. - channel_status (string) (required) — Channel status. - - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. + - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - closer (object) — Closer member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. - person_id (integer) — Member ID. - person_name (string) — Member display name. - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator (object) — Creator member info. - as (string) — Role label for this member in the context of the current object. - email (string) — Member email address. @@ -2314,10 +2314,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - data_source_type (string) — Deprecated. Use 'integration_type' instead. - data_source_types (array) — Deprecated. Use 'integration_types' instead. - dedup_key (string) (required) — Deduplication key used to coalesce alerts. - - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted. + - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Incident description. - detail_url (string) (required) — Web console URL for the incident. - - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. + - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - equals_md5 (string) (required) — MD5 hash used for content-equality checks. - ever_muted (boolean) (required) — Whether the incident has ever been silenced. - fields (object) (required) — Custom field values keyed by field name. @@ -2336,7 +2336,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - integration_type (string) — First alert's integration type string, used by the detail page for label mappings. - integration_types (array) (required) — Integration type strings for all contributing integrations. - labels (object) (required) — Labels propagated from alerts. - - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update. + - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - links (array) — Channel-level link integrations rendered for this incident. - endpoint (string) (required) — Rendered URL for the link. - name (string) (required) — Display name of the link. @@ -2354,19 +2354,19 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - reporter_email (string) — Reporter email for manually created incidents. - resolution (string) (required) — Resolution notes. - responders (array) (required) — Current responders with assignment/acknowledgement state. - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. - root_cause (string) (required) — Root cause analysis. - score (number) (required) — Similarity score from the vector search. - silence_url (string) (required) — Quick-silence URL for this incident. - - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. - - start_time (integer) (required) — Unix timestamp (seconds) when the incident started. + - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - title (string) (required) — Incident title. - - updated_at (integer) (required) — Last update timestamp (seconds). + - updated_at (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("incident_id", "incident-id"), Example: ` flashduty incident past-list --data '{"incident_id":"69da451ef77b1b51f40e83ee","limit":5}'`, @@ -2479,9 +2479,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds). - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds. - responders (array) (required) — Responders involved in the incident(s). - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. @@ -2493,7 +2493,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - author_ids (array) (required) — Member IDs that contributed to the report. - channel_id (integer) (required) — Owning channel ID. 0 if none. - channel_name (string) (required) — Channel name, filled by the server. - - created_at_seconds (integer) (required) — Creation timestamp (seconds). + - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents. - incident_ids (array) (required) — Linked incident IDs. - is_private (boolean) (required) — When true, only team members and admins can view. @@ -2504,7 +2504,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Owning team ID. 0 if none. - template_id (string) (required) — Template used to initialize the report. - title (string) (required) — Report title. - - updated_at_seconds (integer) (required) — Last update timestamp (seconds). + - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("post_mortem_id", "post-mortem-id"), RunE: func(cmd *cobra.Command, args []string) error { @@ -2578,7 +2578,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - author_ids (array) (required) — Member IDs that contributed to the report. - channel_id (integer) (required) — Owning channel ID. 0 if none. - channel_name (string) (required) — Channel name, filled by the server. - - created_at_seconds (integer) (required) — Creation timestamp (seconds). + - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents. - incident_ids (array) (required) — Linked incident IDs. - is_private (boolean) (required) — When true, only team members and admins can view. @@ -2589,7 +2589,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - team_id (integer) (required) — Owning team ID. 0 if none. - template_id (string) (required) — Template used to initialize the report. - title (string) (required) — Report title. - - updated_at_seconds (integer) (required) — Last update timestamp (seconds). + - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor for forward pagination. - total (integer) (required) — Total matching reports. `, @@ -3370,7 +3370,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) (required) — War room records. - account_id (integer) (required) — Account ID. - chat_id (string) (required) — Chat/group ID on the IM side. - - created_at (integer) (required) — Creation timestamp (seconds). + - created_at (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the war room. - incident_id (string) (required) — Associated incident ID (MongoDB ObjectID). - integration_id (integer) (required) — IM integration ID. @@ -3438,9 +3438,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - items (array) (required) — Work items for the current page. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3451,7 +3451,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -3520,9 +3520,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3533,7 +3533,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -3610,9 +3610,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3623,7 +3623,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -3710,9 +3710,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key and no new item was created. - item (object) (required) — A structured incident work item (action or post-mortem follow-up) with its assignees. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3723,7 +3723,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -3881,9 +3881,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - items (array) (required) — Work items for the current page. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3894,7 +3894,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -3973,9 +3973,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -3986,7 +3986,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -4063,9 +4063,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key. - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees. - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned. - - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion. + - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion. - - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds. + - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID of the creator. - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars) - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to. @@ -4076,7 +4076,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_kind (string) (required) — 'native' for items created through this API; 'legacy_follow_up' for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up] - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars) - title (string) (required) — Item title (max 512 characters). (≤512 chars) - - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds. + - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last updater. - version (integer) (required) — Optimistic-locking version, incremented on every mutation. - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars) @@ -4164,12 +4164,12 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates. - content (string) (required) — BlockNote JSON content used to initialize the report body. - content_markdown (string) (required) — Markdown version of the template content, used by AI generation. - - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created. + - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Template description. - name (string) (required) — Template name shown in the console. - team_id (integer) (required) — Managing team ID. Built-in templates use 0. - template_id (string) (required) — Template ID. Built-in templates use a stable 'post_mortem_default_tmpl_*' ID. - - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated. + - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - search_after_ctx (string) — Cursor for forward pagination. - total (integer) (required) — Total matching templates. `, @@ -4237,12 +4237,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates. - content (string) (required) — BlockNote JSON content used to initialize the report body. - content_markdown (string) (required) — Markdown version of the template content, used by AI generation. - - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created. + - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Template description. - name (string) (required) — Template name shown in the console. - team_id (integer) (required) — Managing team ID. Built-in templates use 0. - template_id (string) (required) — Template ID. Built-in templates use a stable 'post_mortem_default_tmpl_*' ID. - - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated. + - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("template_id", "template-id"), RunE: func(cmd *cobra.Command, args []string) error { @@ -4352,9 +4352,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds). - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds. - responders (array) (required) — Responders involved in the incident(s). - - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. + - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - as (string) — Role label of this responder. - - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned. + - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) — Member email, filled by the server. - person_id (integer) (required) — Responder member ID. - person_name (string) — Member display name, filled by the server. @@ -4366,7 +4366,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - author_ids (array) (required) — Member IDs that contributed to the report. - channel_id (integer) (required) — Owning channel ID. 0 if none. - channel_name (string) (required) — Channel name, filled by the server. - - created_at_seconds (integer) (required) — Creation timestamp (seconds). + - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents. - incident_ids (array) (required) — Linked incident IDs. - is_private (boolean) (required) — When true, only team members and admins can view. @@ -4377,7 +4377,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Owning team ID. 0 if none. - template_id (string) (required) — Template used to initialize the report. - title (string) (required) — Report title. - - updated_at_seconds (integer) (required) — Last update timestamp (seconds). + - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrArgs("incident_ids", "incident-ids"), Example: ` flashduty incident post-mortem-init --data '{"incident_ids":["69bb9233331067560c718ecd"],"template_id":"post_mortem_default_tmpl_en-us"}'`, @@ -4709,12 +4709,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates. - content (string) (required) — BlockNote JSON content used to initialize the report body. - content_markdown (string) (required) — Markdown version of the template content, used by AI generation. - - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created. + - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Template description. - name (string) (required) — Template name shown in the console. - team_id (integer) (required) — Managing team ID. Built-in templates use 0. - template_id (string) (required) — Template ID. Built-in templates use a stable 'post_mortem_default_tmpl_*' ID. - - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated. + - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty incident post-mortem-template-upsert --data '{"content":"[{\"type\":\"heading\",\"content\":\"Summary\"}]","content_markdown":"## Summary\nDescribe what happened.","description":"Template for production incident reviews.","name":"Production incident template","team_id":2477033058131}'`, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/internal/cli/zz_generated_issue_preset_severity_rules.go b/internal/cli/zz_generated_issue_preset_severity_rules.go index b6b41c2..3d3808d 100644 --- a/internal/cli/zz_generated_issue_preset_severity_rules.go +++ b/internal/cli/zz_generated_issue_preset_severity_rules.go @@ -276,9 +276,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rules (array) (required) — Full rule set captured immediately before the mutation that produced this snapshot. Empty for the very first snapshot. - account_id (integer) (required) — Account ID the rule belongs to. - application_id (string) (required) — RUM application ID the rule belongs to. - - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID who originally created the rule. - - deleted_at (integer) (required) — Unix timestamp in milliseconds the rule was soft-deleted; '0' means not deleted. Always '0' in practice, since deleted rules are excluded before a snapshot is taken. + - deleted_at (string) (required) — Unix timestamp in milliseconds the rule was soft-deleted; '0' means not deleted. Always '0' in practice, since deleted rules are excluded before a snapshot is taken. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description. May be empty. - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches. - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash] @@ -290,9 +290,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rule_name (string) (required) — Rule display name. - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info] - status (string) (required) — Rule status at snapshot time. [enabled, disabled] - - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated. + - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID who last updated the rule as of snapshot time. - - updated_at (integer) (required) — Unix timestamp in milliseconds when the snapshot was written. + - updated_at (string) (required) — Unix timestamp in milliseconds when the snapshot was written. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID who triggered the mutation this snapshot precedes. - updated_by_name (string) (required) — Display name of 'updated_by' at the time of the change. - version (integer) (required) — Monotonically increasing snapshot version number, starting at 1. @@ -426,7 +426,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Rules ordered by evaluation order ('priority' ascending, then 'created_at' ascending). - - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Rule description. May be empty. - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches. - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash] @@ -437,7 +437,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - rule_name (string) (required) — Rule display name. - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info] - status (string) (required) — Only enabled rules are evaluated against incoming errors. [enabled, disabled] - - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated. + - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("application_id", "application-id"), Example: ` flashduty rum issue-preset-severity-rules-list --data '{"application_id":"WoyQQ3BohkdtPivubEvE8o"}'`, diff --git a/internal/cli/zz_generated_issues.go b/internal/cli/zz_generated_issues.go index 4006cbf..4783991 100644 --- a/internal/cli/zz_generated_issues.go +++ b/internal/cli/zz_generated_issues.go @@ -41,9 +41,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - timestamp (integer) - version (string) - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred. - - regressed_at (integer) — Timestamp when the regression was detected. + - regressed_at (string) — Timestamp when the regression was detected. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - regressed_at_version (string) — Application version in which the regression was observed. - - resolved_at (integer) — Timestamp of the previous resolution before the regression. + - resolved_at (string) — Timestamp of the previous resolution before the regression. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - resolved_at (integer) - resolved_by (integer) - service (string) @@ -155,9 +155,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - timestamp (integer) - version (string) - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred. - - regressed_at (integer) — Timestamp when the regression was detected. + - regressed_at (string) — Timestamp when the regression was detected. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - regressed_at_version (string) — Application version in which the regression was observed. - - resolved_at (integer) — Timestamp of the previous resolution before the regression. + - resolved_at (string) — Timestamp of the previous resolution before the regression. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - resolved_at (integer) - resolved_by (integer) - service (string) diff --git a/internal/cli/zz_generated_knowledge.go b/internal/cli/zz_generated_knowledge.go index a14c7bb..b2afb2e 100644 --- a/internal/cli/zz_generated_knowledge.go +++ b/internal/cli/zz_generated_knowledge.go @@ -34,7 +34,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - pack_id (string) (required) — ID of the knowledge pack that contains the file. - rel_path (string) (required) — Path relative to the pack root, e.g. 'runbooks/restart.md'. - size_bytes (integer) (required) — File size in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Person ID of the member who last modified the file. `, Example: ` flashduty safari knowledge-file-get --data '{"rel_path":"tmp/openapi-example.md"}'`, @@ -99,7 +99,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - pack_id (string) (required) — ID of the knowledge pack that contains the file. - rel_path (string) (required) — Path relative to the pack root, e.g. 'runbooks/restart.md'. - size_bytes (integer) (required) — File size in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Person ID of the member who last modified the file. - total (integer) (required) — Total number of files in the pack. `, @@ -235,7 +235,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - pack_id (string) (required) — ID of the knowledge pack that contains the file. - rel_path (string) (required) — Path relative to the pack root, e.g. 'runbooks/restart.md'. - size_bytes (integer) (required) — File size in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Person ID of the member who last modified the file. - warnings (array) - code (string) (required) — Warning code. [unresolved_reference, still_referenced_by] @@ -302,12 +302,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - pack_id (string) (required) — ID of the knowledge pack that contains the file. - rel_path (string) (required) — Path relative to the pack root, e.g. 'runbooks/restart.md'. - size_bytes (integer) (required) — File size in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Person ID of the member who last modified the file. - pack (object) (required) — A knowledge pack — a versioned file tree staged into every AI SRE sandbox at session start. One pack exists per (account, scope, scope_id). - account_id (integer) (required) — Account that owns the pack. - can_edit (boolean) (required) — Whether the caller can edit this pack. - - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created. + - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Person ID of the member who created the pack. - file_count (integer) (required) — Number of files in the pack. - pack_id (string) (required) — Knowledge pack ID ('kpk_' prefix). @@ -315,7 +315,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - scope_id (integer) (required) — Scope owner: the account ID for 'account' scope, the team ID for 'team' scope. - team_name (string) — Display name of the owning team (team scope only); empty for account scope. - total_bytes (integer) (required) — Total size of all files in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (integer) (required) — Pack version, incremented on every file change. `, Example: ` flashduty safari knowledge-get --data '{}'`, @@ -371,7 +371,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - packs (array) (required) - account_id (integer) (required) — Account that owns the pack. - can_edit (boolean) (required) — Whether the caller can edit this pack. - - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created. + - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Person ID of the member who created the pack. - file_count (integer) (required) — Number of files in the pack. - pack_id (string) (required) — Knowledge pack ID ('kpk_' prefix). @@ -379,7 +379,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - scope_id (integer) (required) — Scope owner: the account ID for 'account' scope, the team ID for 'team' scope. - team_name (string) — Display name of the owning team (team scope only); empty for account scope. - total_bytes (integer) (required) — Total size of all files in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (integer) (required) — Pack version, incremented on every file change. - total (integer) (required) — Total number of packs after filtering, before pagination. `, @@ -507,7 +507,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account that owns the pack. - can_edit (boolean) (required) — Whether the caller can edit this pack. - - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created. + - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Person ID of the member who created the pack. - file_count (integer) (required) — Number of files in the pack. - pack_id (string) (required) — Knowledge pack ID ('kpk_' prefix). @@ -515,7 +515,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - scope_id (integer) (required) — Scope owner: the account ID for 'account' scope, the team ID for 'team' scope. - team_name (string) — Display name of the owning team (team scope only); empty for account scope. - total_bytes (integer) (required) — Total size of all files in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (integer) (required) — Pack version, incremented on every file change. `, Example: ` flashduty safari knowledge-pack-ensure --data '{"scope":"team","scope_id":2477033058131}'`, @@ -573,7 +573,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account that owns the pack. - can_edit (boolean) (required) — Whether the caller can edit this pack. - - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created. + - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Person ID of the member who created the pack. - file_count (integer) (required) — Number of files in the pack. - pack_id (string) (required) — Knowledge pack ID ('kpk_' prefix). @@ -581,7 +581,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - scope_id (integer) (required) — Scope owner: the account ID for 'account' scope, the team ID for 'team' scope. - team_name (string) — Display name of the owning team (team scope only); empty for account scope. - total_bytes (integer) (required) — Total size of all files in bytes. - - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified. + - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (integer) (required) — Pack version, incremented on every file change. `, Args: requireBodyFieldOrExactArg("pack_id", "pack-id"), diff --git a/internal/cli/zz_generated_licenses.go b/internal/cli/zz_generated_licenses.go index 9cff460..7e37315 100644 --- a/internal/cli/zz_generated_licenses.go +++ b/internal/cli/zz_generated_licenses.go @@ -17,11 +17,11 @@ API: POST /oncall/license/list (oncall-license-read-license-list) Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — People holding an active license. - - created_at (integer) (required) — Unix timestamp when a fixed license was assigned. '0' for temporary licenses. + - created_at (string) (required) — Unix timestamp when a fixed license was assigned. '0' for temporary licenses. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - person_id (integer) (required) — ID of the licensed person. - person_name (string) (required) — Display name of the licensed person. - type (string) (required) — License assignment type. 'fixed' is explicitly assigned; 'temporary' is held from the active license window. [fixed, temporary] - - updated_at (integer) (required) — Unix timestamp when a fixed license was last changed. '0' for temporary licenses. + - updated_at (string) (required) — Unix timestamp when a fixed license was last changed. '0' for temporary licenses. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Person ID that last changed a fixed license. '0' for temporary licenses. - total (integer) (required) — Number of people holding an active license. `, diff --git a/internal/cli/zz_generated_mcp_servers.go b/internal/cli/zz_generated_mcp_servers.go index 1da72d8..05e4678 100644 --- a/internal/cli/zz_generated_mcp_servers.go +++ b/internal/cli/zz_generated_mcp_servers.go @@ -34,7 +34,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - can_edit (boolean) (required) — Whether the caller may edit this server. - command (string) — Executable command (stdio transport only). - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s). - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the server. - description (string) (required) — Server description. - env (object) — Environment variables (stdio transport). Secret values are masked. @@ -56,7 +56,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_schema (object) — JSON Schema describing the tool's input parameters. - name (string) (required) — Tool name. - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http] - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - url (string) — Server URL (sse / streamable-http transport). `, Args: requireBodyFieldOrExactArg("server_id", "server-id"), @@ -131,7 +131,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - can_edit (boolean) (required) — Whether the caller may edit this server. - command (string) — Executable command (stdio transport only). - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s). - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the server. - description (string) (required) — Server description. - env (object) — Environment variables (stdio transport). Secret values are masked. @@ -153,7 +153,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_schema (object) — JSON Schema describing the tool's input parameters. - name (string) (required) — Tool name. - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http] - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - url (string) — Server URL (sse / streamable-http transport). - total (integer) (required) — Total number of matching servers. `, @@ -272,7 +272,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - can_edit (boolean) (required) — Whether the caller may edit this server. - command (string) — Executable command (stdio transport only). - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s). - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the server. - description (string) (required) — Server description. - env (object) — Environment variables (stdio transport). Secret values are masked. @@ -294,7 +294,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_schema (object) — JSON Schema describing the tool's input parameters. - name (string) (required) — Tool name. - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http] - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - url (string) — Server URL (sse / streamable-http transport). `, Example: ` flashduty safari mcp-server-create --data '{"description":"Query Prometheus metrics and alerts.","server_name":"prometheus","status":"enabled","transport":"streamable-http","url":"https://mcp.example.com/prometheus"}'`, @@ -598,7 +598,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - can_edit (boolean) (required) — Whether the caller may edit this server. - command (string) — Executable command (stdio transport only). - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s). - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the server. - description (string) (required) — Server description. - env (object) — Environment variables (stdio transport). Secret values are masked. @@ -620,7 +620,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_schema (object) — JSON Schema describing the tool's input parameters. - name (string) (required) — Tool name. - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http] - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - url (string) — Server URL (sse / streamable-http transport). `, Args: requireBodyFieldOrExactArg("server_id", "server-id"), diff --git a/internal/cli/zz_generated_members.go b/internal/cli/zz_generated_members.go index 7950ccb..6a54cca 100644 --- a/internal/cli/zz_generated_members.go +++ b/internal/cli/zz_generated_members.go @@ -296,7 +296,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - account_role_ids (array) (required) — Role IDs - avatar (string) (required) — Avatar URL - country_code (string) (required) — Phone country code - - created_at (integer) (required) — Creation timestamp (Unix seconds) + - created_at (string) (required) — Creation timestamp (Unix seconds) CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - email (string) (required) — Email address - email_verified (boolean) (required) — Email verified - is_external (boolean) (required) — Provisioned via SSO @@ -308,7 +308,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - ref_id (string) (required) — External reference ID - status (string) (required) — Member status. 'enabled' — active member; 'pending' — invited but not yet accepted; 'deleted' — removed from the organization. [enabled, pending, deleted] - time_zone (string) — Time zone - - updated_at (integer) (required) — Update timestamp (Unix seconds) + - updated_at (string) (required) — Update timestamp (Unix seconds) CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - limit (integer) — Page size - p (integer) — Current page - total (integer) — Total count diff --git a/internal/cli/zz_generated_notification_templates.go b/internal/cli/zz_generated_notification_templates.go index 597bb5d..9a7dc14 100644 --- a/internal/cli/zz_generated_notification_templates.go +++ b/internal/cli/zz_generated_notification_templates.go @@ -25,9 +25,9 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — ID of the owning account. - - created_at (integer) (required) — Unix epoch seconds the template was created. + - created_at (string) (required) — Unix epoch seconds the template was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Member ID of the creator. - - deleted_at (integer) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. + - deleted_at (string) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Free-form description. - dingtalk (string) (required) — DingTalk robot message template source. - dingtalk_app (string) (required) — DingTalk app message template source. @@ -45,7 +45,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - telegram (string) (required) — Telegram bot message template source. - template_id (string) (required) — Template ID. - template_name (string) (required) — Unique template name within the account. - - updated_at (integer) (required) — Unix epoch seconds the template was last updated. + - updated_at (string) (required) — Unix epoch seconds the template was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last editor. - voice (string) (required) — Voice call script template source. - wecom (string) (required) — WeCom robot message template source. @@ -120,9 +120,9 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - has_next_page (boolean) (required) — True if another page exists after the returned one. - items (array) (required) - account_id (integer) (required) — ID of the owning account. - - created_at (integer) (required) — Unix epoch seconds the template was created. + - created_at (string) (required) — Unix epoch seconds the template was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Member ID of the creator. - - deleted_at (integer) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. + - deleted_at (string) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Free-form description. - dingtalk (string) (required) — DingTalk robot message template source. - dingtalk_app (string) (required) — DingTalk app message template source. @@ -140,7 +140,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - telegram (string) (required) — Telegram bot message template source. - template_id (string) (required) — Template ID. - template_name (string) (required) — Unique template name within the account. - - updated_at (integer) (required) — Unix epoch seconds the template was last updated. + - updated_at (string) (required) — Unix epoch seconds the template was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last editor. - voice (string) (required) — Voice call script template source. - wecom (string) (required) — WeCom robot message template source. diff --git a/internal/cli/zz_generated_resources.go b/internal/cli/zz_generated_resources.go index 5117899..4b37922 100644 --- a/internal/cli/zz_generated_resources.go +++ b/internal/cli/zz_generated_resources.go @@ -26,9 +26,9 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID that owns this resource. - action.days (integer) (required) — Retention period in days for action (user interaction) data. - - created_at (integer) (required) — Unix timestamp in seconds when the resource was created. Also anchors the start of the first billing window. + - created_at (string) (required) — Unix timestamp in seconds when the resource was created. Also anchors the start of the first billing window. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - error.days (integer) (required) — Retention period in days for error data. - - expired_at (integer) — Unix timestamp in seconds when the on-premises license expires. Only present on on-premises deployments; omitted entirely for SaaS accounts. + - expired_at (string) — Unix timestamp in seconds when the on-premises license expires. Only present on on-premises deployments; omitted entirely for SaaS accounts. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - long_task.days (integer) (required) — Retention period in days for long-task data. - offering_id (integer) (required) — ID of the offering (SKU) this resource was provisioned from. - order_id (string) (required) — ID of the order that provisioned this resource. Empty for resources provisioned outside the order flow (e.g. on-premises). @@ -45,11 +45,11 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - session_replay.free_cnt (integer) (required) — Free quota for session-replay sessions per application, per billing window. - session_replay.used_cnt (integer) (required) — Number of session-replay sessions used in the current billing window. - status (string) (required) — Status of the resource. A resource with status 'deleted' or 'destroyed' never reaches this field — the operation returns 'ResourceNotFound' for those instead. [enabled, disabled] - - updated_at (integer) (required) — Unix timestamp in seconds when the resource was last updated. + - updated_at (string) (required) — Unix timestamp in seconds when the resource was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) (required) — Plan version of this resource. [free, professional] - view.days (integer) (required) — Retention period in days for view (page/screen) data. - - window_end_time (integer) (required) — Unix timestamp in seconds for the end of the current 30-day billing window. - - window_start_time (integer) (required) — Unix timestamp in seconds for the start of the current 30-day billing window. + - window_end_time (string) (required) — Unix timestamp in seconds for the end of the current 30-day billing window. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - window_start_time (string) (required) — Unix timestamp in seconds for the start of the current 30-day billing window. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty rum resource-info --data '{"no_cache":false}'`, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/internal/cli/zz_generated_response_help.go b/internal/cli/zz_generated_response_help.go index 9b249b8..63e294b 100644 --- a/internal/cli/zz_generated_response_help.go +++ b/internal/cli/zz_generated_response_help.go @@ -6,30 +6,30 @@ package cli // Response-fields help block. Curated commands look this up via responseHelp() // so they document the same output shape as the generated commands. var responseHelpBySDKMethod = map[string]string{ - "A2aAgents.ReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - agent_card_name (string) — Agent name resolved from the remote card.\n - agent_card_skills (array) — Skills advertised by the remote card.\n - agent_id (string) (required) — Unique A2A agent ID (prefix `a2a_`).\n - agent_name (string) (required) — Agent display name.\n - allow_insecure_oauth_http (boolean) — Allow non-loopback HTTP OAuth discovery/metadata endpoints for this agent instead of requiring HTTPS.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this agent's endpoint.\n - auth_config (object) — Authentication config; sensitive values (`api_key`, `token`, `client_secret`) are masked.\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - auth_type (string) (required) — Authentication type for reaching the remote agent: `none`, `api_key`, or `bearer`.\n - can_edit (boolean) (required) — Whether the caller may edit this agent.\n - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - card_url (string) (required) — URL of the remote agent card.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the agent.\n - environment_id (string) (required) — BYOC runner ID. Set only when `environment_kind=byoc`; empty otherwise.\n - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; `byoc` pins the agent to a specific runner named by `environment_id`. [byoc]\n - instructions (string) (required) — Natural-language instructions for the remote agent (formerly named `description`). (≤2000 chars)\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - status (string) (required) — Agent status. [enabled, disabled]\n - streaming (boolean) (required) — Whether the remote agent supports streaming responses.\n - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n", - "A2aAgents.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - agent_card_name (string) — Agent name resolved from the remote card.\n - agent_card_skills (array) — Skills advertised by the remote card.\n - agent_id (string) (required) — Unique A2A agent ID (prefix `a2a_`).\n - agent_name (string) (required) — Agent display name.\n - allow_insecure_oauth_http (boolean) — Allow non-loopback HTTP OAuth discovery/metadata endpoints for this agent instead of requiring HTTPS.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this agent's endpoint.\n - auth_config (object) — Authentication config; sensitive values (`api_key`, `token`, `client_secret`) are masked.\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - auth_type (string) (required) — Authentication type for reaching the remote agent: `none`, `api_key`, or `bearer`.\n - can_edit (boolean) (required) — Whether the caller may edit this agent.\n - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - card_url (string) (required) — URL of the remote agent card.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the agent.\n - environment_id (string) (required) — BYOC runner ID. Set only when `environment_kind=byoc`; empty otherwise.\n - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; `byoc` pins the agent to a specific runner named by `environment_id`. [byoc]\n - instructions (string) (required) — Natural-language instructions for the remote agent (formerly named `description`). (≤2000 chars)\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - status (string) (required) — Agent status. [enabled, disabled]\n - streaming (boolean) (required) — Whether the remote agent supports streaming responses.\n - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n", + "A2aAgents.ReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - agent_card_name (string) — Agent name resolved from the remote card.\n - agent_card_skills (array) — Skills advertised by the remote card.\n - agent_id (string) (required) — Unique A2A agent ID (prefix `a2a_`).\n - agent_name (string) (required) — Agent display name.\n - allow_insecure_oauth_http (boolean) — Allow non-loopback HTTP OAuth discovery/metadata endpoints for this agent instead of requiring HTTPS.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this agent's endpoint.\n - auth_config (object) — Authentication config; sensitive values (`api_key`, `token`, `client_secret`) are masked.\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - auth_type (string) (required) — Authentication type for reaching the remote agent: `none`, `api_key`, or `bearer`.\n - can_edit (boolean) (required) — Whether the caller may edit this agent.\n - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - card_url (string) (required) — URL of the remote agent card.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the agent.\n - environment_id (string) (required) — BYOC runner ID. Set only when `environment_kind=byoc`; empty otherwise.\n - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; `byoc` pins the agent to a specific runner named by `environment_id`. [byoc]\n - instructions (string) (required) — Natural-language instructions for the remote agent (formerly named `description`). (≤2000 chars)\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - status (string) (required) — Agent status. [enabled, disabled]\n - streaming (boolean) (required) — Whether the remote agent supports streaming responses.\n - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "A2aAgents.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - agent_card_name (string) — Agent name resolved from the remote card.\n - agent_card_skills (array) — Skills advertised by the remote card.\n - agent_id (string) (required) — Unique A2A agent ID (prefix `a2a_`).\n - agent_name (string) (required) — Agent display name.\n - allow_insecure_oauth_http (boolean) — Allow non-loopback HTTP OAuth discovery/metadata endpoints for this agent instead of requiring HTTPS.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this agent's endpoint.\n - auth_config (object) — Authentication config; sensitive values (`api_key`, `token`, `client_secret`) are masked.\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - auth_type (string) (required) — Authentication type for reaching the remote agent: `none`, `api_key`, or `bearer`.\n - can_edit (boolean) (required) — Whether the caller may edit this agent.\n - card_resolve_timeout (integer) (required) — Card-resolution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - card_url (string) (required) — URL of the remote agent card.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the agent.\n - environment_id (string) (required) — BYOC runner ID. Set only when `environment_kind=byoc`; empty otherwise.\n - environment_kind (string) (required) — Execution environment binding. Empty selects automatic routing; `byoc` pins the agent to a specific runner named by `environment_id`. [byoc]\n - instructions (string) (required) — Natural-language instructions for the remote agent (formerly named `description`). (≤2000 chars)\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - status (string) (required) — Agent status. [enabled, disabled]\n - streaming (boolean) (required) — Whether the remote agent supports streaming responses.\n - task_timeout (integer) (required) — Single-task execution timeout in seconds. Always 0 today — the API does not yet expose a way to set it.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "A2aAgents.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - agent_id (string) (required) — ID of the newly created agent.\n", - "Account.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account identifier.\n - account_name (string) — Account name.\n - avatar (string) — Account avatar URL.\n - country_code (string) — Calling country code for the contact phone.\n - created_at (integer) — Account creation time, Unix timestamp in seconds.\n - domain (string) — Primary account domain (login subdomain).\n - email (string) — Account contact email.\n - extra_domains (array) — Additional account domains.\n - locale (string) — Account language preference (e.g. zh-CN, en-US).\n - mp_account_id (string) — Account identifier on the cloud marketplace platform (present only for marketplace accounts).\n - mp_plat (string) — Cloud marketplace platform the account was provisioned from (present only for marketplace accounts).\n - phone (string) — Account contact phone, masked for privacy.\n - restrictions (object) — Account access restrictions (present only when configured).\n - allow_subdomain (boolean) — Whether subdomains of the allowed email domains are also accepted.\n - email_domains (array) — Allowed login email domains.\n - ips (array) — Allowed source IP/CIDR whitelist.\n - time_zone (string) — Account default timezone (IANA name, e.g. Asia/Shanghai).\n", - "AlertEnrichment.EnrichmentReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) (required) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - integration_id (integer) (required) — Integration ID.\n - rules (array) (required) — Ordered enrichment rules.\n - if (array) — Optional AND-filter list. The rule is skipped if the condition does not match.\n - key (string) (required) — Alert label key.\n - oper (string) (required) — Match operator. `IN` matches when any value matches; `NOTIN` matches when none of the values match. [IN, NOTIN]\n - vals (array) (required) — Values to match against.\n - kind (string) (required) — Rule type. `extraction` extracts a label via regex or GJson. `composition` builds a label from a template. `mapping` looks up values from a schema or API. `drop` removes labels. [extraction, composition, mapping, drop]\n - settings (object) (required) — Rule-kind–specific settings. The shape depends on `kind`.\n - api_id (string) — Mapping API ID (MongoDB ObjectID hex). Required when `mapping_type` is `api`.\n - drop_labels (array) — List of label keys to remove from the alert.\n - g_json (string) — GJson path expression used to extract a value from a JSON-encoded field. Mutually exclusive with `pattern`.\n - mapping_type (string) — Mapping source type. `schema` uses a mapping schema table; `api` calls an external HTTP API. [schema, api]\n - override (boolean) — When `true`, overwrite the label if it already exists. Defaults to `false`.\n - pattern (string) — RE2 regular expression. Use a named capture group `(?P...)` to extract a sub-match; without a named group the full match is used. Mutually exclusive with `g_json`.\n - result_label (string) — Destination label key to write the extracted value into. Must match `^[a-z][a-z0-9_]{0,62}$`.\n - result_labels (array) — Label keys to populate from the mapping lookup result.\n - schema_id (string) — Mapping schema ID (MongoDB ObjectID hex). Required when `mapping_type` is `schema`.\n - source_field (string) — Source field to extract from. Must be `title`, `description`, or a label key prefixed with `labels.` (e.g. `labels.env`).\n - template (string) — Go `text/template` string. Alert fields are available as `{{.title}}`, `{{.description}}`, and `{{.labels.key}}`. Example: `{{.labels.region}}-{{.labels.env}}`. (≤500 chars)\n - status (string) (required) — Rule set status.\n - updated_at (integer) (required) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n", - "AlertEnrichment.EnrichmentReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - integration_id (integer) (required) — Integration ID.\n - rules (array) (required) — Ordered enrichment rules.\n - if (array) — Optional AND-filter list. The rule is skipped if the condition does not match.\n - key (string) (required) — Alert label key.\n - oper (string) (required) — Match operator. `IN` matches when any value matches; `NOTIN` matches when none of the values match. [IN, NOTIN]\n - vals (array) (required) — Values to match against.\n - kind (string) (required) — Rule type. `extraction` extracts a label via regex or GJson. `composition` builds a label from a template. `mapping` looks up values from a schema or API. `drop` removes labels. [extraction, composition, mapping, drop]\n - settings (object) (required) — Rule-kind–specific settings. The shape depends on `kind`.\n - api_id (string) — Mapping API ID (MongoDB ObjectID hex). Required when `mapping_type` is `api`.\n - drop_labels (array) — List of label keys to remove from the alert.\n - g_json (string) — GJson path expression used to extract a value from a JSON-encoded field. Mutually exclusive with `pattern`.\n - mapping_type (string) — Mapping source type. `schema` uses a mapping schema table; `api` calls an external HTTP API. [schema, api]\n - override (boolean) — When `true`, overwrite the label if it already exists. Defaults to `false`.\n - pattern (string) — RE2 regular expression. Use a named capture group `(?P...)` to extract a sub-match; without a named group the full match is used. Mutually exclusive with `g_json`.\n - result_label (string) — Destination label key to write the extracted value into. Must match `^[a-z][a-z0-9_]{0,62}$`.\n - result_labels (array) — Label keys to populate from the mapping lookup result.\n - schema_id (string) — Mapping schema ID (MongoDB ObjectID hex). Required when `mapping_type` is `schema`.\n - source_field (string) — Source field to extract from. Must be `title`, `description`, or a label key prefixed with `labels.` (e.g. `labels.env`).\n - template (string) — Go `text/template` string. Alert fields are available as `{{.title}}`, `{{.description}}`, and `{{.labels.key}}`. Example: `{{.labels.region}}-{{.labels.env}}`. (≤500 chars)\n - status (string) (required) — Rule set status.\n - updated_at (integer) (required) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n", - "AlertEnrichment.FieldReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - created_at (integer) (required) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - default_value (any) — Default value. Type depends on `field_type`: `bool` for checkbox; `string` for single_select/text; `string[]` for multi_select; may be `null` if no default.\n - deleted_at (integer) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields.\n - description (string) — Optional free-text description. (≤499 chars)\n - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars)\n - field_id (string) (required) — Field ID — 24-character hex ObjectID.\n - field_name (string) (required) — Machine name used in incident payloads under `fields.`. Immutable. (≤39 chars)\n - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text]\n - options (any) — Allowed choices for `single_select`/`multi_select` (non-empty unique string array). `null` or empty for `checkbox`/`text`.\n - status (string) (required) — Field status (e.g. `enabled`, `deleted`).\n - updated_at (integer) (required) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n - value_type (string) (required) — Stored value type. `checkbox` is always `bool`; `single_select`/`multi_select`/`text` are always `string`. [string, bool, float]\n", - "AlertEnrichment.FieldReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - created_at (integer) (required) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - default_value (any) — Default value. Type depends on `field_type`: `bool` for checkbox; `string` for single_select/text; `string[]` for multi_select; may be `null` if no default.\n - deleted_at (integer) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields.\n - description (string) — Optional free-text description. (≤499 chars)\n - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars)\n - field_id (string) (required) — Field ID — 24-character hex ObjectID.\n - field_name (string) (required) — Machine name used in incident payloads under `fields.`. Immutable. (≤39 chars)\n - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text]\n - options (any) — Allowed choices for `single_select`/`multi_select` (non-empty unique string array). `null` or empty for `checkbox`/`text`.\n - status (string) (required) — Field status (e.g. `enabled`, `deleted`).\n - updated_at (integer) (required) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n - value_type (string) (required) — Stored value type. `checkbox` is always `bool`; `single_select`/`multi_select`/`text` are always `string`. [string, bool, float]\n", + "Account.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account identifier.\n - account_name (string) — Account name.\n - avatar (string) — Account avatar URL.\n - country_code (string) — Calling country code for the contact phone.\n - created_at (string) — Account creation time, Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - domain (string) — Primary account domain (login subdomain).\n - email (string) — Account contact email.\n - extra_domains (array) — Additional account domains.\n - locale (string) — Account language preference (e.g. zh-CN, en-US).\n - mp_account_id (string) — Account identifier on the cloud marketplace platform (present only for marketplace accounts).\n - mp_plat (string) — Cloud marketplace platform the account was provisioned from (present only for marketplace accounts).\n - phone (string) — Account contact phone, masked for privacy.\n - restrictions (object) — Account access restrictions (present only when configured).\n - allow_subdomain (boolean) — Whether subdomains of the allowed email domains are also accepted.\n - email_domains (array) — Allowed login email domains.\n - ips (array) — Allowed source IP/CIDR whitelist.\n - time_zone (string) — Account default timezone (IANA name, e.g. Asia/Shanghai).\n", + "AlertEnrichment.EnrichmentReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) (required) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - integration_id (integer) (required) — Integration ID.\n - rules (array) (required) — Ordered enrichment rules.\n - if (array) — Optional AND-filter list. The rule is skipped if the condition does not match.\n - key (string) (required) — Alert label key.\n - oper (string) (required) — Match operator. `IN` matches when any value matches; `NOTIN` matches when none of the values match. [IN, NOTIN]\n - vals (array) (required) — Values to match against.\n - kind (string) (required) — Rule type. `extraction` extracts a label via regex or GJson. `composition` builds a label from a template. `mapping` looks up values from a schema or API. `drop` removes labels. [extraction, composition, mapping, drop]\n - settings (object) (required) — Rule-kind–specific settings. The shape depends on `kind`.\n - api_id (string) — Mapping API ID (MongoDB ObjectID hex). Required when `mapping_type` is `api`.\n - drop_labels (array) — List of label keys to remove from the alert.\n - g_json (string) — GJson path expression used to extract a value from a JSON-encoded field. Mutually exclusive with `pattern`.\n - mapping_type (string) — Mapping source type. `schema` uses a mapping schema table; `api` calls an external HTTP API. [schema, api]\n - override (boolean) — When `true`, overwrite the label if it already exists. Defaults to `false`.\n - pattern (string) — RE2 regular expression. Use a named capture group `(?P...)` to extract a sub-match; without a named group the full match is used. Mutually exclusive with `g_json`.\n - result_label (string) — Destination label key to write the extracted value into. Must match `^[a-z][a-z0-9_]{0,62}$`.\n - result_labels (array) — Label keys to populate from the mapping lookup result.\n - schema_id (string) — Mapping schema ID (MongoDB ObjectID hex). Required when `mapping_type` is `schema`.\n - source_field (string) — Source field to extract from. Must be `title`, `description`, or a label key prefixed with `labels.` (e.g. `labels.env`).\n - template (string) — Go `text/template` string. Alert fields are available as `{{.title}}`, `{{.description}}`, and `{{.labels.key}}`. Example: `{{.labels.region}}-{{.labels.env}}`. (≤500 chars)\n - status (string) (required) — Rule set status.\n - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n", + "AlertEnrichment.EnrichmentReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - integration_id (integer) (required) — Integration ID.\n - rules (array) (required) — Ordered enrichment rules.\n - if (array) — Optional AND-filter list. The rule is skipped if the condition does not match.\n - key (string) (required) — Alert label key.\n - oper (string) (required) — Match operator. `IN` matches when any value matches; `NOTIN` matches when none of the values match. [IN, NOTIN]\n - vals (array) (required) — Values to match against.\n - kind (string) (required) — Rule type. `extraction` extracts a label via regex or GJson. `composition` builds a label from a template. `mapping` looks up values from a schema or API. `drop` removes labels. [extraction, composition, mapping, drop]\n - settings (object) (required) — Rule-kind–specific settings. The shape depends on `kind`.\n - api_id (string) — Mapping API ID (MongoDB ObjectID hex). Required when `mapping_type` is `api`.\n - drop_labels (array) — List of label keys to remove from the alert.\n - g_json (string) — GJson path expression used to extract a value from a JSON-encoded field. Mutually exclusive with `pattern`.\n - mapping_type (string) — Mapping source type. `schema` uses a mapping schema table; `api` calls an external HTTP API. [schema, api]\n - override (boolean) — When `true`, overwrite the label if it already exists. Defaults to `false`.\n - pattern (string) — RE2 regular expression. Use a named capture group `(?P...)` to extract a sub-match; without a named group the full match is used. Mutually exclusive with `g_json`.\n - result_label (string) — Destination label key to write the extracted value into. Must match `^[a-z][a-z0-9_]{0,62}$`.\n - result_labels (array) — Label keys to populate from the mapping lookup result.\n - schema_id (string) — Mapping schema ID (MongoDB ObjectID hex). Required when `mapping_type` is `schema`.\n - source_field (string) — Source field to extract from. Must be `title`, `description`, or a label key prefixed with `labels.` (e.g. `labels.env`).\n - template (string) — Go `text/template` string. Alert fields are available as `{{.title}}`, `{{.description}}`, and `{{.labels.key}}`. Example: `{{.labels.region}}-{{.labels.env}}`. (≤500 chars)\n - status (string) (required) — Rule set status.\n - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n", + "AlertEnrichment.FieldReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - created_at (string) (required) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - default_value (any) — Default value. Type depends on `field_type`: `bool` for checkbox; `string` for single_select/text; `string[]` for multi_select; may be `null` if no default.\n - deleted_at (string) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Optional free-text description. (≤499 chars)\n - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars)\n - field_id (string) (required) — Field ID — 24-character hex ObjectID.\n - field_name (string) (required) — Machine name used in incident payloads under `fields.`. Immutable. (≤39 chars)\n - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text]\n - options (any) — Allowed choices for `single_select`/`multi_select` (non-empty unique string array). `null` or empty for `checkbox`/`text`.\n - status (string) (required) — Field status (e.g. `enabled`, `deleted`).\n - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n - value_type (string) (required) — Stored value type. `checkbox` is always `bool`; `single_select`/`multi_select`/`text` are always `string`. [string, bool, float]\n", + "AlertEnrichment.FieldReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - created_at (string) (required) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - default_value (any) — Default value. Type depends on `field_type`: `bool` for checkbox; `string` for single_select/text; `string[]` for multi_select; may be `null` if no default.\n - deleted_at (string) — Deletion timestamp, Unix seconds. Only present for soft-deleted fields. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Optional free-text description. (≤499 chars)\n - display_name (string) (required) — Human-readable name shown in the UI. (≤39 chars)\n - field_id (string) (required) — Field ID — 24-character hex ObjectID.\n - field_name (string) (required) — Machine name used in incident payloads under `fields.`. Immutable. (≤39 chars)\n - field_type (string) (required) — Field input type. [checkbox, multi_select, single_select, text]\n - options (any) — Allowed choices for `single_select`/`multi_select` (non-empty unique string array). `null` or empty for `checkbox`/`text`.\n - status (string) (required) — Field status (e.g. `enabled`, `deleted`).\n - updated_at (string) (required) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n - value_type (string) (required) — Stored value type. `checkbox` is always `bool`; `single_select`/`multi_select`/`text` are always `string`. [string, bool, float]\n", "AlertEnrichment.FieldWriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - field_id (string) (required) — Newly assigned field ID — 24-character hex ObjectID.\n - field_name (string) (required) — Echo of the submitted `field_name`.\n", - "AlertEnrichment.MappingAPIReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - api_id (string) (required) — API ID (MongoDB ObjectID hex).\n - api_name (string) (required) — API name.\n - created_at (integer) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Description.\n - headers (object) (required) — Custom request headers.\n - insecure_skip_verify (boolean) (required) — Whether TLS verification is skipped.\n - retry_count (integer) (required) — Retry count.\n - status (string) (required) — API status.\n - team_id (integer) (required) — Owning team ID.\n - timeout (integer) (required) — Request timeout in seconds.\n - updated_at (integer) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n - url (string) (required) — Endpoint URL.\n", - "AlertEnrichment.MappingAPIReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - api_id (string) (required) — API ID (MongoDB ObjectID hex).\n - api_name (string) (required) — API name.\n - created_at (integer) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Description.\n - headers (object) (required) — Custom request headers.\n - insecure_skip_verify (boolean) (required) — Whether TLS verification is skipped.\n - retry_count (integer) (required) — Retry count.\n - status (string) (required) — API status.\n - team_id (integer) (required) — Owning team ID.\n - timeout (integer) (required) — Request timeout in seconds.\n - updated_at (integer) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n - url (string) (required) — Endpoint URL.\n", + "AlertEnrichment.MappingAPIReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - api_id (string) (required) — API ID (MongoDB ObjectID hex).\n - api_name (string) (required) — API name.\n - created_at (string) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Description.\n - headers (object) (required) — Custom request headers.\n - insecure_skip_verify (boolean) (required) — Whether TLS verification is skipped.\n - retry_count (integer) (required) — Retry count.\n - status (string) (required) — API status.\n - team_id (integer) (required) — Owning team ID.\n - timeout (integer) (required) — Request timeout in seconds.\n - updated_at (string) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n - url (string) (required) — Endpoint URL.\n", + "AlertEnrichment.MappingAPIReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - api_id (string) (required) — API ID (MongoDB ObjectID hex).\n - api_name (string) (required) — API name.\n - created_at (string) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Description.\n - headers (object) (required) — Custom request headers.\n - insecure_skip_verify (boolean) (required) — Whether TLS verification is skipped.\n - retry_count (integer) (required) — Retry count.\n - status (string) (required) — API status.\n - team_id (integer) (required) — Owning team ID.\n - timeout (integer) (required) — Request timeout in seconds.\n - updated_at (string) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n - url (string) (required) — Endpoint URL.\n", "AlertEnrichment.MappingAPIWriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - api_id (string) (required) — Created API ID (MongoDB ObjectID hex).\n - api_name (string) (required) — API name.\n", - "AlertEnrichment.MappingDataReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) — Creation timestamp, Unix seconds.\n - fields (object) — All label key-value pairs for this row.\n - key (string) — Composite key derived from source label values.\n - updated_at (integer) — Last update timestamp, Unix seconds.\n", + "AlertEnrichment.MappingDataReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - fields (object) — All label key-value pairs for this row.\n - key (string) — Composite key derived from source label values.\n - updated_at (string) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "AlertEnrichment.MappingDataWriteUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - keys (array) (required) — Composite keys of upserted rows.\n", - "AlertEnrichment.MappingSchemaReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Schema description.\n - result_labels (array) (required) — Output label names.\n - schema_id (string) (required) — Schema ID (MongoDB ObjectID hex).\n - schema_name (string) (required) — Schema name.\n - source_labels (array) (required) — Lookup key label names.\n - status (string) (required) — Schema status.\n - team_id (integer) (required) — Owning team ID.\n - updated_at (integer) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n", - "AlertEnrichment.MappingSchemaReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) — Creation timestamp, Unix seconds.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Schema description.\n - result_labels (array) (required) — Output label names.\n - schema_id (string) (required) — Schema ID (MongoDB ObjectID hex).\n - schema_name (string) (required) — Schema name.\n - source_labels (array) (required) — Lookup key label names.\n - status (string) (required) — Schema status.\n - team_id (integer) (required) — Owning team ID.\n - updated_at (integer) — Last update timestamp, Unix seconds.\n - updated_by (integer) (required) — Last updater member ID.\n", + "AlertEnrichment.MappingSchemaReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Schema description.\n - result_labels (array) (required) — Output label names.\n - schema_id (string) (required) — Schema ID (MongoDB ObjectID hex).\n - schema_name (string) (required) — Schema name.\n - source_labels (array) (required) — Lookup key label names.\n - status (string) (required) — Schema status.\n - team_id (integer) (required) — Owning team ID.\n - updated_at (string) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n", + "AlertEnrichment.MappingSchemaReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) — Creation timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator member ID.\n - description (string) (required) — Schema description.\n - result_labels (array) (required) — Output label names.\n - schema_id (string) (required) — Schema ID (MongoDB ObjectID hex).\n - schema_name (string) (required) — Schema name.\n - source_labels (array) (required) — Lookup key label names.\n - status (string) (required) — Schema status.\n - team_id (integer) (required) — Owning team ID.\n - updated_at (string) — Last update timestamp, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater member ID.\n", "AlertEnrichment.MappingSchemaWriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - schema_id (string) (required) — Created schema ID (MongoDB ObjectID hex).\n - schema_name (string) (required) — Schema name.\n", "AlertRules.ReadAuditDetail": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required)\n - action (string) (required) — Action performed, e.g. `create`, `update`.\n - alert_rule_id (integer) (required) — ID of the alert rule this record belongs to.\n - content (string) — JSON string of the full rule snapshot at audit time. Populated on `/monit/rule/audit/detail`, omitted on list responses.\n - created_at (integer) (required)\n - creator_id (integer) (required)\n - creator_name (string) (required)\n - id (integer) (required) — Audit record ID.\n", "AlertRules.ReadAudits": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - action (string) (required) — Action performed, e.g. `create`, `update`.\n - alert_rule_id (integer) (required) — ID of the alert rule this record belongs to.\n - content (string) — JSON string of the full rule snapshot at audit time. Populated on `/monit/rule/audit/detail`, omitted on list responses.\n - created_at (integer) (required)\n - creator_id (integer) (required)\n - creator_name (string) (required)\n - id (integer) (required) — Audit record ID.\n", "AlertRules.ReadCounterStatus": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - folder_id (integer) (required)\n - folder_name (string)\n - rule_total (integer) (required) — Total rules in the folder family.\n - triggered_rule_count (integer) (required) — Rules with active alerts.\n", - "AlertRules.ReadCounterTotal": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - clock (integer) (required) — Sample timestamp, Unix epoch seconds.\n - id (integer) (required)\n - num (integer) (required) — Rule count at the sample time.\n", + "AlertRules.ReadCounterTotal": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - clock (string) (required) — Sample timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - id (integer) (required)\n - num (integer) (required) — Rule count at the sample time.\n", "AlertRules.ReadDstypes": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID. `0` for global types.\n - id (integer) (required)\n - ident (string) (required) — Identifier used as the `ds_type` of rules, e.g. `prometheus`.\n - name (string) (required) — Display name, e.g. `Prometheus`.\n - weight (integer) (required) — Display order weight; higher appears first.\n", "AlertRules.ReadExport": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - annotations (object)\n - cron_pattern (string) (required)\n - debug_log_enabled (boolean) (required)\n - delay_seconds (integer)\n - description (string)\n - description_type (string) [text, markdown]\n - ds_ids (array)\n - ds_list (array)\n - ds_type (string) (required)\n - enabled (boolean) (required)\n - enabled_times (array)\n - days (array) — Days of week, 0 = Sunday.\n - etime (string) — End time, e.g. `18:00`.\n - stime (string) — Start time, e.g. `09:00`.\n - labels (object)\n - name (string) (required)\n - repeat_interval (integer)\n - repeat_total (integer)\n - rule_configs (object) — Rule evaluation configuration.\n - check_anydata (object) — Any-data check configuration. Fires when the query returns any data rows.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery (object) — Recovery condition for any-data check. If omitted or `mode` is empty, treated as `nodata`.\n - args (object)\n - condition (string) — Recovery expression. Required when `mode` is `ql`.\n - mode (string) — `nodata` = recover when the query returns no data; `ql` = recover when the `condition` expression evaluates to true. When `mode` is `ql`, only a single query (`name=A`) is permitted. [nodata, ql]\n - recovery_check_times (integer)\n - severity (string) [Critical, Warning, Info]\n - check_nodata (object) — No-data check configuration.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery_check_times (integer)\n - resolve_timeout (integer) — Auto-resolve after N seconds.\n - severity (string) [Critical, Warning, Info]\n - check_threshold (object) — Threshold check configuration.\n - alerting_check_times (integer)\n - critical (string)\n - enabled (boolean)\n - info (string)\n - push_recovery_event (boolean)\n - recovery (object)\n - condition (string)\n - mode (string) [invert, threshold, ql]\n - recovery_check_times (integer)\n - warning (string)\n - queries (array)\n - args (object)\n - expr (string) — Query expression.\n - label_fields (array)\n - name (string) — Query identifier (letter, e.g. `A`). The name `R` is reserved and must not be used.\n - value_fields (array)\n - relate_queries (array) — Optional auxiliary queries whose results are attached to alert events as context. Each entry must have a unique `name` (not duplicating any query name) and a non-empty `expr`.\n - args (object)\n - expr (string) — Query expression.\n - name (string) — Relate-query identifier.\n - timezone (string) — Timezone in which the rule executes. IANA timezone name; defaults to `Asia/Shanghai`.\n", - "AlertRules.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID. Filled by the server from the authenticated identity; do not provide.\n - annotations (object) — Annotation key-value pairs delivered with alert events; keys must not start with `$` (reserved for query fields).\n - channel_ids (array) — Channel IDs to send alerts to.\n - created_at (integer) (required) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - creator_id (integer) (required) — Creator user ID. Filled by the server from the current user; do not provide.\n - creator_name (string) (required) — Creator name. Filled by the server; do not provide.\n - cron_pattern (string) (required) — Schedule expression: a 6-field cron (with seconds) or an `@every 30s` interval descriptor. Must not start with `CRON_TZ=` or `TZ=`; use the `timezone` field instead.\n - debug_log_enabled (boolean) (required) — Whether to enable debug logging; the edge emits detailed evaluation logs, useful for troubleshooting rules that do not trigger as expected.\n - delay_seconds (integer) (required) — Seconds to shift the evaluation query window backward, compensating for data ingestion latency.\n - description (string) — Rule description, in Markdown.\n - description_type (string) — Format for the description. Defaults to `text` when omitted or empty. [text, markdown]\n - ds_ids (array) — Datasource IDs, merged with `ds_list` to decide which datasources the rule monitors; IDs survive datasource renames. At least one of `ds_list` and `ds_ids` must be provided.\n - ds_list (array) — Data source name patterns (supports wildcards).\n - ds_type (string) (required) — Datasource type identifier; allowed values are listed by `POST /monit/rule/dstypes` (e.g. `prometheus`, `elasticsearch`).\n - enabled (boolean) (required) — Whether the rule is enabled. Updating to `false` makes the server clean up the rule's active alerts.\n - enabled_times (array) — Time windows when the rule is active. Defaults to all days from 00:00 to 23:59 when omitted or empty.\n - days (array) — Days of week (0=Sunday).\n - etime (string) — End time, e.g. `18:00`.\n - stime (string) — Start time, e.g. `09:00`.\n - folder_id (integer) (required) — ID of the folder the rule belongs to. Obtainable via `POST /monit/folder/list`.\n - id (integer) (required) — Rule ID. Required for update; omit for create (assigned by the server).\n - labels (object) — Custom labels.\n - name (string) (required) — Rule name. Must be unique within the same folder.\n - repeat_interval (integer) — Notification repeat interval in seconds.\n - repeat_total (integer) — Max number of repeat notifications.\n - rule_configs (object) — Check configuration: query list plus trigger/recovery conditions. Structure see `RuleConfigs`.\n - check_anydata (object) — Any-data check configuration. Fires when the query returns any data rows.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery (object) — Recovery condition for any-data check. If omitted or `mode` is empty, treated as `nodata`.\n - args (object)\n - condition (string) — Recovery expression. Required when `mode` is `ql`.\n - mode (string) — `nodata` = recover when the query returns no data; `ql` = recover when the `condition` expression evaluates to true. When `mode` is `ql`, only a single query (`name=A`) is permitted. [nodata, ql]\n - recovery_check_times (integer)\n - severity (string) [Critical, Warning, Info]\n - check_nodata (object) — No-data check configuration.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery_check_times (integer)\n - resolve_timeout (integer) — Auto-resolve after N seconds.\n - severity (string) [Critical, Warning, Info]\n - check_threshold (object) — Threshold check configuration.\n - alerting_check_times (integer)\n - critical (string)\n - enabled (boolean)\n - info (string)\n - push_recovery_event (boolean)\n - recovery (object)\n - condition (string)\n - mode (string) [invert, threshold, ql]\n - recovery_check_times (integer)\n - warning (string)\n - queries (array)\n - args (object)\n - expr (string) — Query expression.\n - label_fields (array)\n - name (string) — Query identifier (letter, e.g. `A`). The name `R` is reserved and must not be used.\n - value_fields (array)\n - relate_queries (array) — Optional auxiliary queries whose results are attached to alert events as context. Each entry must have a unique `name` (not duplicating any query name) and a non-empty `expr`.\n - args (object)\n - expr (string) — Query expression.\n - name (string) — Relate-query identifier.\n - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. `Asia/Shanghai`, `UTC`, `Europe/London`); shortcuts and offsets such as `Local`, `UTC+8`, or `CST` are rejected. Treated as `Asia/Shanghai` if empty.\n - updated_at (integer) (required) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - updater_id (integer) (required) — Last updater user ID. Filled by the server; do not provide.\n - updater_name (string) (required) — Last updater name. Filled by the server; do not provide.\n", + "AlertRules.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID. Filled by the server from the authenticated identity; do not provide.\n - annotations (object) — Annotation key-value pairs delivered with alert events; keys must not start with `$` (reserved for query fields).\n - channel_ids (array) — Channel IDs to send alerts to.\n - created_at (string) (required) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator user ID. Filled by the server from the current user; do not provide.\n - creator_name (string) (required) — Creator name. Filled by the server; do not provide.\n - cron_pattern (string) (required) — Schedule expression: a 6-field cron (with seconds) or an `@every 30s` interval descriptor. Must not start with `CRON_TZ=` or `TZ=`; use the `timezone` field instead.\n - debug_log_enabled (boolean) (required) — Whether to enable debug logging; the edge emits detailed evaluation logs, useful for troubleshooting rules that do not trigger as expected.\n - delay_seconds (integer) (required) — Seconds to shift the evaluation query window backward, compensating for data ingestion latency.\n - description (string) — Rule description, in Markdown.\n - description_type (string) — Format for the description. Defaults to `text` when omitted or empty. [text, markdown]\n - ds_ids (array) — Datasource IDs, merged with `ds_list` to decide which datasources the rule monitors; IDs survive datasource renames. At least one of `ds_list` and `ds_ids` must be provided.\n - ds_list (array) — Data source name patterns (supports wildcards).\n - ds_type (string) (required) — Datasource type identifier; allowed values are listed by `POST /monit/rule/dstypes` (e.g. `prometheus`, `elasticsearch`).\n - enabled (boolean) (required) — Whether the rule is enabled. Updating to `false` makes the server clean up the rule's active alerts.\n - enabled_times (array) — Time windows when the rule is active. Defaults to all days from 00:00 to 23:59 when omitted or empty.\n - days (array) — Days of week (0=Sunday).\n - etime (string) — End time, e.g. `18:00`.\n - stime (string) — Start time, e.g. `09:00`.\n - folder_id (integer) (required) — ID of the folder the rule belongs to. Obtainable via `POST /monit/folder/list`.\n - id (integer) (required) — Rule ID. Required for update; omit for create (assigned by the server).\n - labels (object) — Custom labels.\n - name (string) (required) — Rule name. Must be unique within the same folder.\n - repeat_interval (integer) — Notification repeat interval in seconds.\n - repeat_total (integer) — Max number of repeat notifications.\n - rule_configs (object) — Check configuration: query list plus trigger/recovery conditions. Structure see `RuleConfigs`.\n - check_anydata (object) — Any-data check configuration. Fires when the query returns any data rows.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery (object) — Recovery condition for any-data check. If omitted or `mode` is empty, treated as `nodata`.\n - args (object)\n - condition (string) — Recovery expression. Required when `mode` is `ql`.\n - mode (string) — `nodata` = recover when the query returns no data; `ql` = recover when the `condition` expression evaluates to true. When `mode` is `ql`, only a single query (`name=A`) is permitted. [nodata, ql]\n - recovery_check_times (integer)\n - severity (string) [Critical, Warning, Info]\n - check_nodata (object) — No-data check configuration.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery_check_times (integer)\n - resolve_timeout (integer) — Auto-resolve after N seconds.\n - severity (string) [Critical, Warning, Info]\n - check_threshold (object) — Threshold check configuration.\n - alerting_check_times (integer)\n - critical (string)\n - enabled (boolean)\n - info (string)\n - push_recovery_event (boolean)\n - recovery (object)\n - condition (string)\n - mode (string) [invert, threshold, ql]\n - recovery_check_times (integer)\n - warning (string)\n - queries (array)\n - args (object)\n - expr (string) — Query expression.\n - label_fields (array)\n - name (string) — Query identifier (letter, e.g. `A`). The name `R` is reserved and must not be used.\n - value_fields (array)\n - relate_queries (array) — Optional auxiliary queries whose results are attached to alert events as context. Each entry must have a unique `name` (not duplicating any query name) and a non-empty `expr`.\n - args (object)\n - expr (string) — Query expression.\n - name (string) — Relate-query identifier.\n - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. `Asia/Shanghai`, `UTC`, `Europe/London`); shortcuts and offsets such as `Local`, `UTC+8`, or `CST` are rejected. Treated as `Asia/Shanghai` if empty.\n - updated_at (string) (required) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updater_id (integer) (required) — Last updater user ID. Filled by the server; do not provide.\n - updater_name (string) (required) — Last updater name. Filled by the server; do not provide.\n", "AlertRules.ReadList": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - created_at (integer) (required)\n - creator_id (integer) (required)\n - creator_name (string) (required)\n - cron_pattern (string) (required) — 5-field cron schedule, e.g. `* * * * *`. Must not start with `CRON_TZ=` or `TZ=`; use the `timezone` field instead.\n - debug_log_enabled (boolean) (required) — Whether debug logging is enabled.\n - delay_seconds (integer) (required) — Evaluation delay in seconds.\n - ds_type (string) (required) — Data source type, e.g. `prometheus`.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - folder_id (integer) (required) — Folder ID.\n - id (integer) (required) — Unique rule ID.\n - labels (object) — Custom labels.\n - name (string) (required) — Rule name.\n - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. `Asia/Shanghai`, `UTC`, `Europe/London`); shortcuts and offsets such as `Local`, `UTC+8`, or `CST` are rejected. Treated as `Asia/Shanghai` if empty.\n - triggered (boolean) (required) — True if the rule currently has active alerts.\n - updated_at (integer) (required)\n - updater_id (integer) (required)\n - updater_name (string) (required)\n", "AlertRules.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID. Filled by the server from the authenticated identity; do not provide.\n - annotations (object) — Annotation key-value pairs delivered with alert events; keys must not start with `$` (reserved for query fields).\n - channel_ids (array) — Channel IDs to send alerts to.\n - created_at (integer) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - creator_id (integer) — Creator user ID. Filled by the server from the current user; do not provide.\n - creator_name (string) — Creator name. Filled by the server; do not provide.\n - cron_pattern (string) — Schedule expression: a 6-field cron (with seconds) or an `@every 30s` interval descriptor. Must not start with `CRON_TZ=` or `TZ=`; use the `timezone` field instead.\n - debug_log_enabled (boolean) — Whether to enable debug logging; the edge emits detailed evaluation logs, useful for troubleshooting rules that do not trigger as expected.\n - delay_seconds (integer) — Seconds to shift the evaluation query window backward, compensating for data ingestion latency.\n - description (string) — Rule description, in Markdown.\n - description_type (string) — Format for the description. Defaults to `text` when omitted or empty. [text, markdown]\n - ds_ids (array) — Datasource IDs, merged with `ds_list` to decide which datasources the rule monitors; IDs survive datasource renames. At least one of `ds_list` and `ds_ids` must be provided.\n - ds_list (array) — Data source name patterns (supports wildcards).\n - ds_type (string) — Datasource type identifier; allowed values are listed by `POST /monit/rule/dstypes` (e.g. `prometheus`, `elasticsearch`).\n - enabled (boolean) — Whether the rule is enabled. Updating to `false` makes the server clean up the rule's active alerts.\n - enabled_times (array) — Time windows when the rule is active. Defaults to all days from 00:00 to 23:59 when omitted or empty.\n - days (array) — Days of week (0=Sunday).\n - etime (string) — End time, e.g. `18:00`.\n - stime (string) — Start time, e.g. `09:00`.\n - folder_id (integer) — ID of the folder the rule belongs to. Obtainable via `POST /monit/folder/list`.\n - id (integer) — Rule ID. Required for update; omit for create (assigned by the server).\n - labels (object) — Custom labels.\n - name (string) — Rule name. Must be unique within the same folder.\n - repeat_interval (integer) — Notification repeat interval in seconds.\n - repeat_total (integer) — Max number of repeat notifications.\n - rule_configs (object) — Check configuration: query list plus trigger/recovery conditions. Structure see `RuleConfigs`.\n - check_anydata (object) — Any-data check configuration. Fires when the query returns any data rows.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery (object) — Recovery condition for any-data check. If omitted or `mode` is empty, treated as `nodata`.\n - args (object)\n - condition (string) — Recovery expression. Required when `mode` is `ql`.\n - mode (string) — `nodata` = recover when the query returns no data; `ql` = recover when the `condition` expression evaluates to true. When `mode` is `ql`, only a single query (`name=A`) is permitted. [nodata, ql]\n - recovery_check_times (integer)\n - severity (string) [Critical, Warning, Info]\n - check_nodata (object) — No-data check configuration.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery_check_times (integer)\n - resolve_timeout (integer) — Auto-resolve after N seconds.\n - severity (string) [Critical, Warning, Info]\n - check_threshold (object) — Threshold check configuration.\n - alerting_check_times (integer)\n - critical (string)\n - enabled (boolean)\n - info (string)\n - push_recovery_event (boolean)\n - recovery (object)\n - condition (string)\n - mode (string) [invert, threshold, ql]\n - recovery_check_times (integer)\n - warning (string)\n - queries (array)\n - args (object)\n - expr (string) — Query expression.\n - label_fields (array)\n - name (string) — Query identifier (letter, e.g. `A`). The name `R` is reserved and must not be used.\n - value_fields (array)\n - relate_queries (array) — Optional auxiliary queries whose results are attached to alert events as context. Each entry must have a unique `name` (not duplicating any query name) and a non-empty `expr`.\n - args (object)\n - expr (string) — Query expression.\n - name (string) — Relate-query identifier.\n - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. `Asia/Shanghai`, `UTC`, `Europe/London`); shortcuts and offsets such as `Local`, `UTC+8`, or `CST` are rejected. Treated as `Asia/Shanghai` if empty.\n - updated_at (integer) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - updater_id (integer) — Last updater user ID. Filled by the server; do not provide.\n - updater_name (string) — Last updater name. Filled by the server; do not provide.\n", "AlertRules.WriteFieldsUpdate": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - message (string) (required) — Empty on success, error message on failure.\n - name (string) (required) — Rule name.\n", @@ -37,178 +37,178 @@ var responseHelpBySDKMethod = map[string]string{ "AlertRules.WriteMove": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - message (string) (required) — Empty on success, error message on failure.\n - name (string) (required) — Rule name.\n", "AlertRules.WriteStatus": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - folder_id (integer) (required)\n - folder_name (string)\n - rule_total (integer) (required) — Total rules in the folder family.\n - triggered_rule_count (integer) (required) — Rules with active alerts.\n", "AlertRules.WriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID. Filled by the server from the authenticated identity; do not provide.\n - annotations (object) — Annotation key-value pairs delivered with alert events; keys must not start with `$` (reserved for query fields).\n - channel_ids (array) — Channel IDs to send alerts to.\n - created_at (integer) — Creation time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - creator_id (integer) — Creator user ID. Filled by the server from the current user; do not provide.\n - creator_name (string) — Creator name. Filled by the server; do not provide.\n - cron_pattern (string) — Schedule expression: a 6-field cron (with seconds) or an `@every 30s` interval descriptor. Must not start with `CRON_TZ=` or `TZ=`; use the `timezone` field instead.\n - debug_log_enabled (boolean) — Whether to enable debug logging; the edge emits detailed evaluation logs, useful for troubleshooting rules that do not trigger as expected.\n - delay_seconds (integer) — Seconds to shift the evaluation query window backward, compensating for data ingestion latency.\n - description (string) — Rule description, in Markdown.\n - description_type (string) — Format for the description. Defaults to `text` when omitted or empty. [text, markdown]\n - ds_ids (array) — Datasource IDs, merged with `ds_list` to decide which datasources the rule monitors; IDs survive datasource renames. At least one of `ds_list` and `ds_ids` must be provided.\n - ds_list (array) — Data source name patterns (supports wildcards).\n - ds_type (string) — Datasource type identifier; allowed values are listed by `POST /monit/rule/dstypes` (e.g. `prometheus`, `elasticsearch`).\n - enabled (boolean) — Whether the rule is enabled. Updating to `false` makes the server clean up the rule's active alerts.\n - enabled_times (array) — Time windows when the rule is active. Defaults to all days from 00:00 to 23:59 when omitted or empty.\n - days (array) — Days of week (0=Sunday).\n - etime (string) — End time, e.g. `18:00`.\n - stime (string) — Start time, e.g. `09:00`.\n - folder_id (integer) — ID of the folder the rule belongs to. Obtainable via `POST /monit/folder/list`.\n - id (integer) — Rule ID. Required for update; omit for create (assigned by the server).\n - labels (object) — Custom labels.\n - name (string) — Rule name. Must be unique within the same folder.\n - repeat_interval (integer) — Notification repeat interval in seconds.\n - repeat_total (integer) — Max number of repeat notifications.\n - rule_configs (object) — Check configuration: query list plus trigger/recovery conditions. Structure see `RuleConfigs`.\n - check_anydata (object) — Any-data check configuration. Fires when the query returns any data rows.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery (object) — Recovery condition for any-data check. If omitted or `mode` is empty, treated as `nodata`.\n - args (object)\n - condition (string) — Recovery expression. Required when `mode` is `ql`.\n - mode (string) — `nodata` = recover when the query returns no data; `ql` = recover when the `condition` expression evaluates to true. When `mode` is `ql`, only a single query (`name=A`) is permitted. [nodata, ql]\n - recovery_check_times (integer)\n - severity (string) [Critical, Warning, Info]\n - check_nodata (object) — No-data check configuration.\n - alerting_check_times (integer)\n - enabled (boolean)\n - push_recovery_event (boolean)\n - recovery_check_times (integer)\n - resolve_timeout (integer) — Auto-resolve after N seconds.\n - severity (string) [Critical, Warning, Info]\n - check_threshold (object) — Threshold check configuration.\n - alerting_check_times (integer)\n - critical (string)\n - enabled (boolean)\n - info (string)\n - push_recovery_event (boolean)\n - recovery (object)\n - condition (string)\n - mode (string) [invert, threshold, ql]\n - recovery_check_times (integer)\n - warning (string)\n - queries (array)\n - args (object)\n - expr (string) — Query expression.\n - label_fields (array)\n - name (string) — Query identifier (letter, e.g. `A`). The name `R` is reserved and must not be used.\n - value_fields (array)\n - relate_queries (array) — Optional auxiliary queries whose results are attached to alert events as context. Each entry must have a unique `name` (not duplicating any query name) and a non-empty `expr`.\n - args (object)\n - expr (string) — Query expression.\n - name (string) — Relate-query identifier.\n - timezone (string) — Timezone in which the rule executes. Determines how the cron schedule and effective time windows are interpreted. Only IANA timezone names are accepted (e.g. `Asia/Shanghai`, `UTC`, `Europe/London`); shortcuts and offsets such as `Local`, `UTC+8`, or `CST` are rejected. Treated as `Asia/Shanghai` if empty.\n - updated_at (integer) — Last update time as a Unix timestamp in seconds. Generated by the server; do not provide.\n - updater_id (integer) — Last updater user ID. Filled by the server; do not provide.\n - updater_name (string) — Last updater name. Filled by the server; do not provide.\n", - "Alerts.EventReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n", - "Alerts.ReadEventList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n", - "Alerts.ReadFeed": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - created_at (integer) (required) — Creation timestamp in Unix epoch milliseconds.\n - creator_id (integer) (required) — Member ID of the creator. 0 for system-generated entries.\n - detail (object) (required) — Type-specific payload. The concrete shape is determined by `type`.\n - comment (string) — Comment body.\n - severity (string) — Severity level. [Ok, Critical, Warning, Info]\n - status (string) — Severity level. [Ok, Critical, Warning, Info]\n - ref_id (string) (required) — ObjectID of the alert this entry references.\n - type (string) (required) — Alert activity feed entry type. Each value identifies one alert lifecycle event; the matching `detail` payload shape is determined by this field. | Type | Meaning | |---|---| | `a_new` | Alert triggered. | | `a_comm` | Comment added on the alert. | | `a_close` | Alert closed. | [a_new, a_comm, a_close]\n - updated_at (integer) (required) — Last update timestamp in Unix epoch milliseconds.\n", - "Alerts.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (integer) — Creation timestamp, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (integer) — Last-event time, Unix epoch seconds.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (integer) — First-seen time, Unix epoch seconds.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n", - "Alerts.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (integer) — Creation timestamp, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (integer) — Last-event time, Unix epoch seconds.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (integer) — First-seen time, Unix epoch seconds.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n", - "Alerts.ReadListByIDs": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (integer) — Creation timestamp, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (integer) — Resolution time, Unix epoch seconds. 0 if still active.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (integer) — Last-event time, Unix epoch seconds.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (integer) — First-seen time, Unix epoch seconds.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n", - "Alerts.ReadPipelineInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) — Creation timestamp, Unix epoch seconds.\n - creator_id (integer) — Member ID who created the pipeline.\n - integration_id (integer) — Integration ID this pipeline applies to.\n - rules (array) — Ordered list of processing rules.\n - if (array>) — Optional OR-of-AND filter. When omitted, the rule applies to all alerts.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - kind (string) — Rule type. [title_reset, description_reset, severity_reset, alert_drop, alert_inhibit]\n - settings (object) — Kind-specific settings. Shape depends on `kind`: - `title_reset`: `{ \"title\": \"\" }` - `description_reset`: `{ \"description\": \"\" }` - `severity_reset`: `{ \"severity\": \"Critical\"|\"Warning\"|\"Info\" }` - `alert_drop`: `{}` (empty object) - `alert_inhibit`: `{ \"equals\": [\"\", ...], \"source_filters\": }`\n - description (string) — New description template.\n - equals (array) — Label keys whose values must be equal between the source and current alert for inhibition to apply.\n - severity (string) — Target severity level. [Critical, Warning, Info]\n - source_filters (array>) — Filter that identifies the source alerts to inhibit.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - title (string) — New title template. Supports Golang template syntax referencing alert fields.\n - status (string) — Pipeline status. Possible values: `enabled`, `disabled`.\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n - updated_by (integer) — Member ID who last updated the pipeline.\n", - "Alerts.ReadPipelineList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) — Creation timestamp, Unix epoch seconds.\n - creator_id (integer) — Member ID who created the pipeline.\n - integration_id (integer) — Integration ID this pipeline applies to.\n - rules (array) — Ordered list of processing rules.\n - if (array>) — Optional OR-of-AND filter. When omitted, the rule applies to all alerts.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - kind (string) — Rule type. [title_reset, description_reset, severity_reset, alert_drop, alert_inhibit]\n - settings (object) — Kind-specific settings. Shape depends on `kind`: - `title_reset`: `{ \"title\": \"\" }` - `description_reset`: `{ \"description\": \"\" }` - `severity_reset`: `{ \"severity\": \"Critical\"|\"Warning\"|\"Info\" }` - `alert_drop`: `{}` (empty object) - `alert_inhibit`: `{ \"equals\": [\"\", ...], \"source_filters\": }`\n - description (string) — New description template.\n - equals (array) — Label keys whose values must be equal between the source and current alert for inhibition to apply.\n - severity (string) — Target severity level. [Critical, Warning, Info]\n - source_filters (array>) — Filter that identifies the source alerts to inhibit.\n - title (string) — New title template. Supports Golang template syntax referencing alert fields.\n - status (string) — Pipeline status. Possible values: `enabled`, `disabled`.\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n - updated_by (integer) — Member ID who last updated the pipeline.\n", - "Analytics.ByAccount": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (integer) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used.\n", - "Analytics.ByChannel": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (integer) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used.\n", - "Analytics.ByResponder": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - ts (integer) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used.\n", - "Analytics.ByTeam": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (integer) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used.\n", - "Analytics.IncidentList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - acknowledgements (integer)\n - assigned_to (object) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when this assignment was made.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) driving the assignment.\n - escalate_rule_name (string) — Display name of the escalation rule.\n - id (string) — Internal assignment record ID.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs assigned directly to this incident.\n - type (string) — Assignment type. [assign, reassign, escalate, reopen]\n - assignments (integer)\n - channel_id (integer)\n - channel_name (string)\n - closed_by (string) [auto, timeout, manually]\n - closer_id (integer) — Member ID of the person who closed the incident.\n - closer_name (string) — Display name of the person who closed the incident.\n - created_at (integer)\n - creator_id (integer)\n - creator_name (string)\n - description (string)\n - engaged_seconds (integer)\n - escalations (integer)\n - ever_muted (boolean) — Whether the incident has ever been muted.\n - fields (object)\n - frequency (string) — Incident frequency classification. [frequent, rare]\n - hours (string)\n - incident_id (string)\n - interruptions (integer)\n - labels (object)\n - manual_escalations (integer)\n - notifications (integer)\n - owner_id (integer) — Member ID of the incident owner.\n - owner_name (string) — Display name of the incident owner.\n - progress (string) — Incident progress state — one of `Triggered`, `Processing`, `Closed`.\n - reassignments (integer)\n - responders (array)\n - seconds_to_ack (integer)\n - seconds_to_close (integer)\n - severity (string) [Critical, Warning, Info, Ok]\n - snoozed_before (integer) — Unix timestamp in seconds until which the incident is snoozed.\n - team_id (integer)\n - team_name (string)\n - timeout_escalations (integer)\n - title (string)\n", + "Alerts.EventReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadEventList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadFeed": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - created_at (string) (required) — Creation timestamp in Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Member ID of the creator. 0 for system-generated entries.\n - detail (object) (required) — Type-specific payload. The concrete shape is determined by `type`.\n - comment (string) — Comment body.\n - severity (string) — Severity level. [Ok, Critical, Warning, Info]\n - status (string) — Severity level. [Ok, Critical, Warning, Info]\n - ref_id (string) (required) — ObjectID of the alert this entry references.\n - type (string) (required) — Alert activity feed entry type. Each value identifies one alert lifecycle event; the matching `detail` payload shape is determined by this field. | Type | Meaning | |---|---| | `a_new` | Alert triggered. | | `a_comm` | Comment added on the alert. | | `a_close` | Alert closed. | [a_new, a_comm, a_close]\n - updated_at (string) (required) — Last update timestamp in Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (string) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (string) — Last-event time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (string) — First-seen time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (string) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (string) — Last-event time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (string) — First-seen time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadListByIDs": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alert_id (string) — Unique alert ID (ObjectID hex string).\n - alert_key (string) — Deduplication key.\n - alert_severity (string) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) — ID of the channel the alert belongs to.\n - channel_name (string) — Display name of the channel.\n - channel_status (string) — Status of the channel (e.g. `enabled`, `disabled`).\n - created_at (string) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead. Deprecated: use `integration_id` instead.\n - data_source_name (string) — Deprecated. Use `integration_name` instead.\n - data_source_ref_id (string) — Deprecated. Use `integration_ref_id` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - description (string) — Alert description.\n - end_time (string) — Resolution time, Unix epoch seconds. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) — Total number of raw events received by this alert.\n - events (array) — Recent raw events attached to this alert. Populated only by some endpoints.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) — True if this alert has ever been silenced.\n - images (array) — Images attached to the alert.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - incident (object) — Associated incident, if any.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) — ID of the integration that produced this alert.\n - integration_name (string) — Display name of the integration.\n - integration_ref_id (string) — External reference ID of the integration.\n - integration_type (string) — Type/plugin key of the integration.\n - labels (object) — Label key-value pairs.\n - last_time (string) — Last-event time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) — Email of the current responder (from the associated incident).\n - responder_name (string) — Display name of the current responder (from the associated incident).\n - start_time (string) — First-seen time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) — Alert title.\n - title_rule (string) — Title template used to derive `title` from the event labels (e.g. `$service::$cluster`).\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Alerts.ReadPipelineInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Member ID who created the pipeline.\n - integration_id (integer) — Integration ID this pipeline applies to.\n - rules (array) — Ordered list of processing rules.\n - if (array>) — Optional OR-of-AND filter. When omitted, the rule applies to all alerts.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - kind (string) — Rule type. [title_reset, description_reset, severity_reset, alert_drop, alert_inhibit]\n - settings (object) — Kind-specific settings. Shape depends on `kind`: - `title_reset`: `{ \"title\": \"\" }` - `description_reset`: `{ \"description\": \"\" }` - `severity_reset`: `{ \"severity\": \"Critical\"|\"Warning\"|\"Info\" }` - `alert_drop`: `{}` (empty object) - `alert_inhibit`: `{ \"equals\": [\"\", ...], \"source_filters\": }`\n - description (string) — New description template.\n - equals (array) — Label keys whose values must be equal between the source and current alert for inhibition to apply.\n - severity (string) — Target severity level. [Critical, Warning, Info]\n - source_filters (array>) — Filter that identifies the source alerts to inhibit.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - title (string) — New title template. Supports Golang template syntax referencing alert fields.\n - status (string) — Pipeline status. Possible values: `enabled`, `disabled`.\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Member ID who last updated the pipeline.\n", + "Alerts.ReadPipelineList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Member ID who created the pipeline.\n - integration_id (integer) — Integration ID this pipeline applies to.\n - rules (array) — Ordered list of processing rules.\n - if (array>) — Optional OR-of-AND filter. When omitted, the rule applies to all alerts.\n - key (string) (required) — Field name to filter on. Use plain names for built-in alert fields (e.g. `alert_severity`, `alert_key`, `check`, `resource`, `service`, `cluster`) or the `labels.` prefix for custom alert labels (e.g. `labels.env`, `labels.region`).\n - oper (string) (required) — Filter operator. `IN` — value must match one of `vals`; `NOTIN` — value must not match any of `vals`. Supports regex patterns wrapped in `/pattern/`. [IN, NOTIN]\n - vals (array) (required) — List of values to match against. Each entry is a plain string or a `/regex/` pattern.\n - kind (string) — Rule type. [title_reset, description_reset, severity_reset, alert_drop, alert_inhibit]\n - settings (object) — Kind-specific settings. Shape depends on `kind`: - `title_reset`: `{ \"title\": \"\" }` - `description_reset`: `{ \"description\": \"\" }` - `severity_reset`: `{ \"severity\": \"Critical\"|\"Warning\"|\"Info\" }` - `alert_drop`: `{}` (empty object) - `alert_inhibit`: `{ \"equals\": [\"\", ...], \"source_filters\": }`\n - description (string) — New description template.\n - equals (array) — Label keys whose values must be equal between the source and current alert for inhibition to apply.\n - severity (string) — Target severity level. [Critical, Warning, Info]\n - source_filters (array>) — Filter that identifies the source alerts to inhibit.\n - title (string) — New title template. Supports Golang template syntax referencing alert fields.\n - status (string) — Pipeline status. Possible values: `enabled`, `disabled`.\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Member ID who last updated the pipeline.\n", + "Analytics.ByAccount": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (string) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Analytics.ByChannel": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (string) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Analytics.ByResponder": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - ts (string) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Analytics.ByTeam": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer)\n - acknowledgement_pct (number)\n - channel_id (integer)\n - channel_name (string)\n - hours (string) — Hour bucket when `split_hours` is enabled. [work, sleep, off]\n - mean_seconds_to_ack (number)\n - mean_seconds_to_close (number)\n - noise_reduction_pct (number)\n - responder_id (integer)\n - responder_name (string)\n - team_id (integer)\n - team_name (string)\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n - total_engaged_seconds (integer)\n - total_incident_cnt (integer)\n - total_incidents_acknowledged (integer)\n - total_incidents_auto_closed (integer)\n - total_incidents_closed (integer)\n - total_incidents_escalated (integer)\n - total_incidents_manually_closed (integer)\n - total_incidents_manually_escalated (integer)\n - total_incidents_reassigned (integer)\n - total_incidents_timeout_closed (integer)\n - total_incidents_timeout_escalated (integer)\n - total_interruptions (integer)\n - total_notifications (integer)\n - total_seconds_to_ack (integer)\n - total_seconds_to_close (integer)\n - ts (string) — Aggregation bucket start time, Unix seconds. Present when `aggregate_unit` is used. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Analytics.IncidentList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - acknowledgements (integer)\n - assigned_to (object) — Current assignment target for the incident.\n - assigned_at (string) — Unix timestamp (seconds) when this assignment was made. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) driving the assignment.\n - escalate_rule_name (string) — Display name of the escalation rule.\n - id (string) — Internal assignment record ID.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs assigned directly to this incident.\n - type (string) — Assignment type. [assign, reassign, escalate, reopen]\n - assignments (integer)\n - channel_id (integer)\n - channel_name (string)\n - closed_by (string) [auto, timeout, manually]\n - closer_id (integer) — Member ID of the person who closed the incident.\n - closer_name (string) — Display name of the person who closed the incident.\n - created_at (integer)\n - creator_id (integer)\n - creator_name (string)\n - description (string)\n - engaged_seconds (integer)\n - escalations (integer)\n - ever_muted (boolean) — Whether the incident has ever been muted.\n - fields (object)\n - frequency (string) — Incident frequency classification. [frequent, rare]\n - hours (string)\n - incident_id (string)\n - interruptions (integer)\n - labels (object)\n - manual_escalations (integer)\n - notifications (integer)\n - owner_id (integer) — Member ID of the incident owner.\n - owner_name (string) — Display name of the incident owner.\n - progress (string) — Incident progress state — one of `Triggered`, `Processing`, `Closed`.\n - reassignments (integer)\n - responders (array)\n - seconds_to_ack (integer)\n - seconds_to_close (integer)\n - severity (string) [Critical, Warning, Info, Ok]\n - snoozed_before (string) — Unix timestamp in seconds until which the incident is snoozed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - team_id (integer)\n - team_name (string)\n - timeout_escalations (integer)\n - title (string)\n", "Analytics.TopkAlertsByLabel": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - hours (string) — Hour bucket when `split_hours` is enabled.\n - label (string) — Aggregation key value (check name or resource identifier).\n - total_alert_cnt (integer)\n - total_alert_event_cnt (integer)\n", - "Applications.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (integer) — Creation timestamp, Unix epoch milliseconds.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (integer) — Last update timestamp, Unix epoch milliseconds.\n - updated_by (integer) — Last updater member ID.\n", - "Applications.ReadInfos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (integer) — Creation timestamp, Unix epoch milliseconds.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (integer) — Last update timestamp, Unix epoch milliseconds.\n - updated_by (integer) — Last updater member ID.\n", - "Applications.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (integer) — Creation timestamp, Unix epoch milliseconds.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (integer) — Last update timestamp, Unix epoch milliseconds.\n - updated_by (integer) — Last updater member ID.\n", + "Applications.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Last updater member ID.\n", + "Applications.ReadInfos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Last updater member ID.\n", + "Applications.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID.\n - alerting (object) — Alert settings for the application.\n - channel_ids (array) — Channel IDs to send alerts to.\n - enabled (boolean) — Whether alerting is enabled.\n - integration_id (integer) — Associated on-call integration ID (read-only, auto-assigned).\n - application_id (string) — Unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token used to initialize the RUM SDK.\n - created_at (string) — Creation timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) — Creator member ID.\n - is_private (boolean) — If `true`, the application is only accessible to team members.\n - links (object) — External link integration settings for the application.\n - enabled (boolean) — Whether external link integration is enabled.\n - systems (any) — External systems whose URL templates can be opened from matching RUM events.\n - no_geo (boolean) — If `true`, geographic location is not inferred from IP.\n - no_ip (boolean) — If `true`, IP addresses are not collected.\n - status (string) — Application status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - tracing (object) — APM tracing integration settings.\n - enabled (boolean) — Whether tracing integration is enabled.\n - endpoint (string) — Trace endpoint URL (http or https).\n - open_type (string) — How to open the trace link. [popup, tab]\n - type (string) — Application type. [browser, ios, android, react-native, flutter, kotlin-multiplatform, roku, unity]\n - updated_at (string) — Last update timestamp, Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Last updater member ID.\n", "Applications.WebhookTest": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - message (string) (required) — `ok` on success, otherwise the delivery error message.\n - ok (boolean) (required) — Whether the webhook endpoint accepted the sample event.\n - status_code (integer) (required) — HTTP status code returned by the webhook endpoint. 0 when the request did not receive a response.\n", "Applications.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - application_id (string) — Auto-generated unique application ID.\n - application_name (string) — Application display name.\n - client_token (string) — Token for RUM SDK initialization.\n", "AuditLogs.OperationList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - name (string) (required) — Stable machine-readable operation name for use as a filter.\n - name_cn (string) (required) — Human-readable Chinese label shown in the console.\n", - "AuditLogs.Search": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — ID of the account.\n - body (string) (required) — JSON-encoded request body (may be truncated at 10 KB).\n - created_at (integer) (required) — Timestamp of the operation in Unix epoch milliseconds.\n - ip (string) (required) — Client IP address of the caller.\n - is_dangerous (boolean) (required) — True if this is flagged as a high-risk operation.\n - is_write (boolean) (required) — True for mutating operations; false for read-only ones.\n - member_id (integer) (required) — ID of the member who performed the action.\n - member_name (string) (required) — Display name of the member.\n - operation (string) (required) — Stable machine-readable operation name, e.g. `template:write:create`.\n - operation_name (string) (required) — Human-readable operation label in the account's locale.\n - params (array) (required) — URL path parameters as an array of key-value pairs, or an empty array when none.\n - Key (string)\n - Value (string)\n - request_id (string) (required) — Unique request ID for correlation.\n", - "Automations.RuleReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (integer) (required) — Creation time, Unix milliseconds.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (integer) (required) — Last update time, Unix milliseconds.\n", - "Automations.RuleReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rules (array) (required)\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (integer) (required) — Creation time, Unix milliseconds.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (integer) (required) — Last update time, Unix milliseconds.\n - total (integer) (required) — Total count.\n", - "Automations.RuleWriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (integer) (required) — Creation time, Unix milliseconds.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (integer) (required) — Last update time, Unix milliseconds.\n", + "AuditLogs.Search": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — ID of the account.\n - body (string) (required) — JSON-encoded request body (may be truncated at 10 KB).\n - created_at (string) (required) — Timestamp of the operation in Unix epoch milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ip (string) (required) — Client IP address of the caller.\n - is_dangerous (boolean) (required) — True if this is flagged as a high-risk operation.\n - is_write (boolean) (required) — True for mutating operations; false for read-only ones.\n - member_id (integer) (required) — ID of the member who performed the action.\n - member_name (string) (required) — Display name of the member.\n - operation (string) (required) — Stable machine-readable operation name, e.g. `template:write:create`.\n - operation_name (string) (required) — Human-readable operation label in the account's locale.\n - params (array) (required) — URL path parameters as an array of key-value pairs, or an empty array when none.\n - Key (string)\n - Value (string)\n - request_id (string) (required) — Unique request ID for correlation.\n", + "Automations.RuleReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (string) (required) — Creation time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (string) (required) — Last update time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Automations.RuleReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rules (array) (required)\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (string) (required) — Creation time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (string) (required) — Last update time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - total (integer) (required) — Total count.\n", + "Automations.RuleWriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (string) (required) — Creation time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (string) (required) — Last update time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Automations.RuleWriteRun": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - preflight (object) (required) — Readiness checks computed before a manual run is allowed to start.\n - app_name (string) (required) — App the rule is scoped to. Currently always ai-sre; manual runs are only supported for that app.\n - checks (array) (required) — Names of the readiness checks performed, in order. Current fixed set: rule_loaded, actor_authorized, app_allowed, runtime_scope_resolved, rule_config_valid.\n - ok (boolean) (required) — Whether all readiness checks passed. Always true in a response that reaches the caller — a failed preflight returns a 400/403 error instead of a payload with ok=false.\n - owner_id (integer) (required) — Rule owner person ID.\n - scope (string) (required) — Resolved run scope for this run; mirrors the rule's run_scope. [person, team]\n - team_id (integer) (required) — Rule's scope team ID; 0 means a personal rule.\n - warnings (array) — Non-fatal warnings surfaced during preflight. Omitted or empty when there are none.\n - rule_id (string) (required) — Rule ID that was run.\n - run (object) — Reference to the run started by a manual trigger.\n - run_id (string) (required) — Run ID, always populated once a run is created.\n - session_id (string) — AI SRE session ID for this run. Always populated in a 200 response, since the call only returns after the session has started.\n - trigger_kind (string) (required) — Always manual for this operation. [manual]\n", - "Automations.RuleWriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (integer) (required) — Creation time, Unix milliseconds.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (integer) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (integer) (required) — Last update time, Unix milliseconds.\n", - "Automations.RunReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - runs (array) (required)\n - account_id (integer) (required) — Account ID.\n - attempts (integer) (required) — Attempt count.\n - completed_at (integer) (required) — Completion time, Unix milliseconds. 0 means not completed.\n - created_at (integer) (required) — Creation time, Unix milliseconds.\n - duration_ms (integer) (required) — Duration in milliseconds.\n - error_code (string) — Error code.\n - error_message (string) — Error message.\n - kind (string) (required) — Run kind.\n - occurrence_key (string) (required) — Idempotency key for this occurrence.\n - result_json (any) — Run result JSON.\n - rule_id (string) (required) — Rule ID.\n - run_id (string) (required) — Run ID.\n - started_at (integer) (required) — Start time, Unix milliseconds.\n - stats_json (any) — Run stats JSON.\n - status (string) (required) — Run status. [queued, running, retrying, succeeded, partial, failed, skipped, abandoned]\n - trigger_kind (string) (required) — Trigger kind. [schedule, debug, manual, http_post, oncall_incident]\n - updated_at (integer) (required) — Last update time, Unix milliseconds.\n - total (integer) (required) — Total count.\n", + "Automations.RuleWriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - can_edit (boolean) (required) — True when the caller can manage this rule: the personal rule owner; for team rules, an account admin or a member of the rule's team.\n - created_at (string) (required) — Creation time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - cron_expr (string) (required) — Normalized 5-field cron expression.\n - enabled (boolean) (required) — Whether the rule is enabled.\n - environment_id (string) (required) — BYOC Runner ID.\n - environment_kind (string) (required) — Runtime environment kind. Omit or send an empty value for automatic selection. [cloud, byoc]\n - http_post_token (string) — HTTP POST trigger token. Returned only on create or token rotation; save it immediately.\n - http_post_trigger_enabled (boolean) (required) — Whether the HTTP POST trigger is enabled.\n - http_post_trigger_id (string) — HTTP POST trigger ID.\n - http_post_trigger_url (string) — HTTP POST trigger path.\n - name (string) (required) — Rule name.\n - oncall_incident_channel_ids (array) — On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID.\n - oncall_incident_severities (array) — Incident severities to watch. Supported values are Critical, Warning, and Info; creating or enabling this trigger requires at least one value. [Critical, Warning, Info]\n - oncall_incident_trigger_enabled (boolean) (required) — Whether the On-call incident trigger is enabled.\n - oncall_incident_trigger_id (string) — On-call incident trigger ID.\n - owner_id (integer) (required) — Creator person ID.\n - prompt (string) (required) — Task prompt.\n - rule_id (string) (required) — Rule ID.\n - run_scope (string) (required) — Hidden session run scope. [person, team]\n - schedule_next_fire_at_ms (string) (required) — Next scheduled fire time, Unix milliseconds. 0 means no future scheduled fire is available. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_trigger_enabled (boolean) (required) — Whether the schedule trigger is enabled.\n - schedule_trigger_id (string) — Schedule trigger ID.\n - team_id (integer) (required) — Scope team ID; 0 means personal rule.\n - timezone (string) (required) — IANA timezone `cron_expr` is evaluated in. Always populated for rules created after this field shipped; empty on legacy rows created before it, which still resolve to UTC when scheduled.\n - updated_at (string) (required) — Last update time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Automations.RunReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - runs (array) (required)\n - account_id (integer) (required) — Account ID.\n - attempts (integer) (required) — Attempt count.\n - completed_at (string) (required) — Completion time, Unix milliseconds. 0 means not completed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_at (string) (required) — Creation time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - duration_ms (integer) (required) — Duration in milliseconds.\n - error_code (string) — Error code.\n - error_message (string) — Error message.\n - kind (string) (required) — Run kind.\n - occurrence_key (string) (required) — Idempotency key for this occurrence.\n - result_json (any) — Run result JSON.\n - rule_id (string) (required) — Rule ID.\n - run_id (string) (required) — Run ID.\n - started_at (string) (required) — Start time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - stats_json (any) — Run stats JSON.\n - status (string) (required) — Run status. [queued, running, retrying, succeeded, partial, failed, skipped, abandoned]\n - trigger_kind (string) (required) — Trigger kind. [schedule, debug, manual, http_post, oncall_incident]\n - updated_at (string) (required) — Last update time, Unix milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - total (integer) (required) — Total count.\n", "Automations.TemplateReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - templates (array) (required)\n - description (string) (required) — Template description.\n - enabled (boolean) (required) — Whether the template is enabled.\n - icon (string) (required) — Icon identifier.\n - name (string) (required) — Template name.\n - prompt (string) (required) — Template prompt.\n", - "Calendars.CalEventList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID. Only present for private events.\n - cal_id (string) (required) — Calendar ID. For public events this is a locale key such as zh-cn.china.official.\n - created_at (integer) (required) — Creation timestamp (Unix seconds).\n - creator_id (integer) — Creator person ID. Only present for private events.\n - description (string) (required) — Event description.\n - end_at (string) (required) — Event end date (YYYY-MM-DD, exclusive).\n - event_id (string) (required) — Event ID.\n - is_off (boolean) (required) — Whether the event marks a non-working day.\n - start_at (string) (required) — Event start date (YYYY-MM-DD).\n - summary (string) (required) — Event summary.\n - updated_at (integer) (required) — Last update timestamp (Unix seconds).\n", + "Calendars.CalEventList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID. Only present for private events.\n - cal_id (string) (required) — Calendar ID. For public events this is a locale key such as zh-cn.china.official.\n - created_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Creator person ID. Only present for private events.\n - description (string) (required) — Event description.\n - end_at (string) (required) — Event end date (YYYY-MM-DD, exclusive).\n - event_id (string) (required) — Event ID.\n - is_off (boolean) (required) — Whether the event marks a non-working day.\n - start_at (string) (required) — Event start date (YYYY-MM-DD).\n - summary (string) (required) — Event summary.\n - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Calendars.CalEventUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - cal_id (string) (required) — Calendar ID.\n - event_id (string) (required) — Event ID (existing or newly generated).\n - summary (string) (required) — Event summary.\n", "Calendars.CalendarCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - cal_id (string) (required) — ID of the newly created calendar (format cal.).\n - cal_name (string) (required) — Calendar display name.\n", - "Calendars.CalendarInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - cal_id (string) (required) — Calendar ID.\n - cal_name (string) (required) — Calendar display name.\n - created_at (integer) (required) — Creation timestamp (Unix seconds).\n - creator_id (integer) (required) — Creator person ID.\n - description (string) (required) — Calendar description.\n - extra_cal_ids (array) — Inherited public-holiday calendar IDs.\n - kind (string) (required) — Calendar kind. [region.official.holiday, religion.holiday, personal]\n - status (string) (required) — Calendar status. [enabled, deleted]\n - team_id (integer) (required) — Owning team ID (0 when not assigned).\n - timezone (string) (required) — IANA timezone.\n - updated_at (integer) (required) — Last update timestamp (Unix seconds).\n - updated_by (integer) (required) — Last updater person ID.\n - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday).\n", - "Calendars.CalendarList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - cal_id (string) (required) — Calendar ID.\n - cal_name (string) (required) — Calendar display name.\n - created_at (integer) (required) — Creation timestamp (Unix seconds).\n - creator_id (integer) (required) — Creator person ID.\n - description (string) (required) — Calendar description.\n - extra_cal_ids (array) — Inherited public-holiday calendar IDs.\n - kind (string) (required) — Calendar kind. [region.official.holiday, religion.holiday, personal]\n - status (string) (required) — Calendar status. [enabled, deleted]\n - team_id (integer) (required) — Owning team ID (0 when not assigned).\n - timezone (string) (required) — IANA timezone.\n - updated_at (integer) (required) — Last update timestamp (Unix seconds).\n - updated_by (integer) (required) — Last updater person ID.\n - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday).\n", - "Changes.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account this change belongs to.\n - change_id (string) — Change ID, a MongoDB ObjectID hex string.\n - change_key (string) — Stable key that groups events belonging to the same change.\n - change_status (string) — Current lifecycle status of the change.\n - channel_id (integer) — Collaboration channel this change is routed to.\n - channel_name (string) — Name of the collaboration channel.\n - channel_status (string) — Status of the collaboration channel.\n - description (string) — Change description.\n - end_time (integer) — Unix timestamp in seconds when the change ended.\n - events (array) — Underlying change events, returned only when include_events is true.\n - account_id (integer) — Account this change event belongs to.\n - change_key (string) — Stable key that groups events belonging to the same change.\n - change_status (string) — Lifecycle status of the change event. [Planned, Ready, Processing, Canceled, Done]\n - channel_id (integer) — Collaboration channel this change event is routed to.\n - created_at (integer) — Unix timestamp in seconds when the change event was created.\n - deleted_at (integer) — Unix timestamp in seconds when the change event was deleted.\n - description (string) — Change event description.\n - event_id (string) — Change event ID, a MongoDB ObjectID hex string.\n - event_time (integer) — Unix timestamp in seconds when the change event occurred.\n - integration_id (integer) — Integration that reported this change event.\n - labels (object) — Key-value labels attached to the change event.\n - link (string) — External link to the source change record.\n - title (string) — Change event title.\n - updated_at (integer) — Unix timestamp in seconds when the change event was last updated.\n - integration_id (integer) — Integration that reported this change.\n - integration_name (string) — Name of the reporting integration.\n - labels (object) — Key-value labels attached to the change.\n - last_time (integer) — Unix timestamp in seconds of the most recent change activity.\n - link (string) — External link to the source change record.\n - start_time (integer) — Unix timestamp in seconds when the change started.\n - title (string) — Change title.\n", + "Calendars.CalendarInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - cal_id (string) (required) — Calendar ID.\n - cal_name (string) (required) — Calendar display name.\n - created_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator person ID.\n - description (string) (required) — Calendar description.\n - extra_cal_ids (array) — Inherited public-holiday calendar IDs.\n - kind (string) (required) — Calendar kind. [region.official.holiday, religion.holiday, personal]\n - status (string) (required) — Calendar status. [enabled, deleted]\n - team_id (integer) (required) — Owning team ID (0 when not assigned).\n - timezone (string) (required) — IANA timezone.\n - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater person ID.\n - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday).\n", + "Calendars.CalendarList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - cal_id (string) (required) — Calendar ID.\n - cal_name (string) (required) — Calendar display name.\n - created_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Creator person ID.\n - description (string) (required) — Calendar description.\n - extra_cal_ids (array) — Inherited public-holiday calendar IDs.\n - kind (string) (required) — Calendar kind. [region.official.holiday, religion.holiday, personal]\n - status (string) (required) — Calendar status. [enabled, deleted]\n - team_id (integer) (required) — Owning team ID (0 when not assigned).\n - timezone (string) (required) — IANA timezone.\n - updated_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Last updater person ID.\n - workdays (array) — Workday numbers (0 = Sunday, 6 = Saturday).\n", + "Changes.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account this change belongs to.\n - change_id (string) — Change ID, a MongoDB ObjectID hex string.\n - change_key (string) — Stable key that groups events belonging to the same change.\n - change_status (string) — Current lifecycle status of the change.\n - channel_id (integer) — Collaboration channel this change is routed to.\n - channel_name (string) — Name of the collaboration channel.\n - channel_status (string) — Status of the collaboration channel.\n - description (string) — Change description.\n - end_time (string) — Unix timestamp in seconds when the change ended. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - events (array) — Underlying change events, returned only when include_events is true.\n - account_id (integer) — Account this change event belongs to.\n - change_key (string) — Stable key that groups events belonging to the same change.\n - change_status (string) — Lifecycle status of the change event. [Planned, Ready, Processing, Canceled, Done]\n - channel_id (integer) — Collaboration channel this change event is routed to.\n - created_at (string) — Unix timestamp in seconds when the change event was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - deleted_at (string) — Unix timestamp in seconds when the change event was deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Change event description.\n - event_id (string) — Change event ID, a MongoDB ObjectID hex string.\n - event_time (string) — Unix timestamp in seconds when the change event occurred. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - integration_id (integer) — Integration that reported this change event.\n - labels (object) — Key-value labels attached to the change event.\n - link (string) — External link to the source change record.\n - title (string) — Change event title.\n - updated_at (string) — Unix timestamp in seconds when the change event was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - integration_id (integer) — Integration that reported this change.\n - integration_name (string) — Name of the reporting integration.\n - labels (object) — Key-value labels attached to the change.\n - last_time (string) — Unix timestamp in seconds of the most recent change activity. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - link (string) — External link to the source change record.\n - start_time (string) — Unix timestamp in seconds when the change started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) — Change title.\n", "Channels.ChannelCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - channel_id (integer) (required) — Newly created channel ID.\n - channel_name (string) (required) — Channel name echoed back from the request.\n - external_report_token (string) — External report token. Emitted only when external reporting is enabled.\n", "Channels.ChannelEscalateRuleCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rule_id (string) (required) — Newly created rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name echoed back from the request.\n", - "Channels.ChannelEscalateRuleInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - aggr_window (integer) (required) — Delay window in seconds.\n - channel_id (integer) (required) — Channel the rule belongs to.\n - channel_name (string) — Channel name, populated for cross-channel listing responses.\n - created_at (integer) (required) — Creation timestamp (unix seconds).\n - deleted_at (integer) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules.\n - description (string) (required) — Rule description.\n - filters (object) (required)\n - layers (array) (required) — Escalation levels in order.\n - escalate_window (integer) — Wait before moving to the next level, in minutes. (0-720)\n - force_escalate (boolean) — When true, always escalate regardless of acknowledgement.\n - max_times (integer) — Max repeat notifications within the level. (0-6)\n - notify_step (number) — Repeat interval in minutes. (0.5-120)\n - target (object) (required) — Notification target. At least one of `person_ids`, `team_ids`, `schedule_to_role_ids`, or `emails` must be set, together with either `by` or `webhooks`.\n - by (object) — Per-severity personal notification channels. Required unless `webhooks` is provided.\n - critical (array) — Channels for Critical events (e.g. `voice`, `sms`, `email`, `feishu`).\n - follow_preference (boolean) — When true, use each responder's personal preference instead of the lists below.\n - info (array) — Channels for Info events.\n - warning (array) — Channels for Warning events.\n - emails (array) — Email addresses to notify (push-only scenarios).\n - person_ids (array) — Member IDs to notify directly.\n - schedule_to_role_ids (object) — Map of schedule ID to the role IDs on that schedule to notify.\n - team_ids (array) — Team IDs to notify.\n - webhooks (array) — Group chat / webhook targets. Required unless `by` is provided.\n - settings (object) (required) — Type-specific settings (chat IDs, URLs, etc.).\n - type (string) (required) — Webhook type (e.g. `feishu`, `dingtalk_app`, `wecom_app`, `slack`, `teams`, `custom`).\n - priority (integer) (required) — Evaluation priority. Lower runs first.\n - rule_id (string) (required) — Escalation rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — Rule status. [enabled, disabled]\n - template_id (string) (required) — Notification template ID (MongoDB ObjectID).\n - time_filters (array) (required) — Recurring time windows during which the rule applies.\n - cal_id (string) — Optional calendar ID; restricts the window to days matching the calendar.\n - end (string) — End of the window in `HH:MM`.\n - is_off (boolean) — When true, match days marked as days-off in the calendar.\n - repeat (array) — Days of the week this window repeats on. Empty means every day.\n - start (string) — Start of the window in `HH:MM`.\n - updated_at (integer) (required) — Last update timestamp (unix seconds).\n - updated_by (integer) (required) — Member ID that last updated the rule.\n", - "Channels.ChannelEscalateRuleList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - aggr_window (integer) (required) — Delay window in seconds.\n - channel_id (integer) (required) — Channel the rule belongs to.\n - channel_name (string) — Channel name, populated for cross-channel listing responses.\n - created_at (integer) (required) — Creation timestamp (unix seconds).\n - deleted_at (integer) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules.\n - description (string) (required) — Rule description.\n - filters (object) (required)\n - layers (array) (required) — Escalation levels in order.\n - escalate_window (integer) — Wait before moving to the next level, in minutes. (0-720)\n - force_escalate (boolean) — When true, always escalate regardless of acknowledgement.\n - max_times (integer) — Max repeat notifications within the level. (0-6)\n - notify_step (number) — Repeat interval in minutes. (0.5-120)\n - target (object) (required) — Notification target. At least one of `person_ids`, `team_ids`, `schedule_to_role_ids`, or `emails` must be set, together with either `by` or `webhooks`.\n - by (object) — Per-severity personal notification channels. Required unless `webhooks` is provided.\n - emails (array) — Email addresses to notify (push-only scenarios).\n - person_ids (array) — Member IDs to notify directly.\n - schedule_to_role_ids (object) — Map of schedule ID to the role IDs on that schedule to notify.\n - team_ids (array) — Team IDs to notify.\n - webhooks (array) — Group chat / webhook targets. Required unless `by` is provided.\n - priority (integer) (required) — Evaluation priority. Lower runs first.\n - rule_id (string) (required) — Escalation rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — Rule status. [enabled, disabled]\n - template_id (string) (required) — Notification template ID (MongoDB ObjectID).\n - time_filters (array) (required) — Recurring time windows during which the rule applies.\n - cal_id (string) — Optional calendar ID; restricts the window to days matching the calendar.\n - end (string) — End of the window in `HH:MM`.\n - is_off (boolean) — When true, match days marked as days-off in the calendar.\n - repeat (array) — Days of the week this window repeats on. Empty means every day.\n - start (string) — Start of the window in `HH:MM`.\n - updated_at (integer) (required) — Last update timestamp (unix seconds).\n - updated_by (integer) (required) — Member ID that last updated the rule.\n", - "Channels.ChannelInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Owning account ID.\n - active_incident_highest_severity (string) — Highest severity among active incidents in the channel.\n - auto_resolve_mode (string) — Auto-resolve timer reset mode. [trigger, update]\n - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve.\n - channel_id (integer) — Channel ID.\n - channel_name (string) — Channel name.\n - created_at (integer) — Creation timestamp (unix seconds).\n - creator_id (integer) — Member ID who created the channel.\n - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable).\n - deleted_at (integer) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels.\n - description (string) — Free-form description.\n - disable_auto_close (boolean) — When true, automatic incident closing is disabled.\n - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled.\n - external_report_token (string) — Token granted to external reporters when external reporting is enabled.\n - flapping (object) — Flapping detection configuration.\n - in_mins (integer) — Observation window in minutes. (1-1440)\n - is_disabled (boolean) — Disable flapping detection.\n - max_changes (integer) — Max state changes allowed within `in_mins`. (2-100)\n - mute_mins (integer) — Mute duration in minutes after flapping is detected. (0-1440)\n - group (object) — Alert grouping configuration.\n - all_equals_required (boolean) — When true, all listed keys must be present for grouping.\n - cases (array) — Per-filter grouping overrides.\n - equals (array>) — Groups of label keys whose equality defines a bucket.\n - i_keys (array) — Label keys used for intelligent grouping embeddings.\n - i_score_threshold (number) — Intelligent grouping similarity threshold. (0.5-1)\n - method (string) (required) — Grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - storm_threshold (integer) — Alert storm threshold. (0-10000)\n - storm_thresholds (array) — Multi-level storm thresholds.\n - time_window (integer) — Grouping time window in minutes. Default max is 1440 minutes (24 h); extended accounts may allow up to 43200 minutes (30 days). (min 0)\n - window_type (string) — Window type. Defaults to `tumbling`. [tumbling, sliding]\n - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel.\n - is_private (boolean) — When true, the channel is visible only to its managing teams.\n - is_starred (boolean) — Whether the current user has starred this channel.\n - last_incident_at (integer) — Timestamp of the most recent incident (unix seconds).\n - managing_team_ids (array) — Additional teams that can manage the channel.\n - progress_to_incident_cnts (object)\n - Processing (integer) (required) — Count of processing incidents in the last 30 days.\n - Triggered (integer) (required) — Count of triggered incidents in the last 30 days.\n - status (string) — Channel status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable).\n - updated_at (integer) — Last update timestamp (unix seconds).\n", + "Channels.ChannelEscalateRuleInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - aggr_window (integer) (required) — Delay window in seconds.\n - channel_id (integer) (required) — Channel the rule belongs to.\n - channel_name (string) — Channel name, populated for cross-channel listing responses.\n - created_at (string) (required) — Creation timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - deleted_at (string) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description.\n - filters (object) (required)\n - layers (array) (required) — Escalation levels in order.\n - escalate_window (integer) — Wait before moving to the next level, in minutes. (0-720)\n - force_escalate (boolean) — When true, always escalate regardless of acknowledgement.\n - max_times (integer) — Max repeat notifications within the level. (0-6)\n - notify_step (number) — Repeat interval in minutes. (0.5-120)\n - target (object) (required) — Notification target. At least one of `person_ids`, `team_ids`, `schedule_to_role_ids`, or `emails` must be set, together with either `by` or `webhooks`.\n - by (object) — Per-severity personal notification channels. Required unless `webhooks` is provided.\n - critical (array) — Channels for Critical events (e.g. `voice`, `sms`, `email`, `feishu`).\n - follow_preference (boolean) — When true, use each responder's personal preference instead of the lists below.\n - info (array) — Channels for Info events.\n - warning (array) — Channels for Warning events.\n - emails (array) — Email addresses to notify (push-only scenarios).\n - person_ids (array) — Member IDs to notify directly.\n - schedule_to_role_ids (object) — Map of schedule ID to the role IDs on that schedule to notify.\n - team_ids (array) — Team IDs to notify.\n - webhooks (array) — Group chat / webhook targets. Required unless `by` is provided.\n - settings (object) (required) — Type-specific settings (chat IDs, URLs, etc.).\n - type (string) (required) — Webhook type (e.g. `feishu`, `dingtalk_app`, `wecom_app`, `slack`, `teams`, `custom`).\n - priority (integer) (required) — Evaluation priority. Lower runs first.\n - rule_id (string) (required) — Escalation rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — Rule status. [enabled, disabled]\n - template_id (string) (required) — Notification template ID (MongoDB ObjectID).\n - time_filters (array) (required) — Recurring time windows during which the rule applies.\n - cal_id (string) — Optional calendar ID; restricts the window to days matching the calendar.\n - end (string) — End of the window in `HH:MM`.\n - is_off (boolean) — When true, match days marked as days-off in the calendar.\n - repeat (array) — Days of the week this window repeats on. Empty means every day.\n - start (string) — Start of the window in `HH:MM`.\n - updated_at (string) (required) — Last update timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID that last updated the rule.\n", + "Channels.ChannelEscalateRuleList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - aggr_window (integer) (required) — Delay window in seconds.\n - channel_id (integer) (required) — Channel the rule belongs to.\n - channel_name (string) — Channel name, populated for cross-channel listing responses.\n - created_at (string) (required) — Creation timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - deleted_at (string) — Deletion timestamp (unix seconds). Emitted only for soft-deleted rules. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description.\n - filters (object) (required)\n - layers (array) (required) — Escalation levels in order.\n - escalate_window (integer) — Wait before moving to the next level, in minutes. (0-720)\n - force_escalate (boolean) — When true, always escalate regardless of acknowledgement.\n - max_times (integer) — Max repeat notifications within the level. (0-6)\n - notify_step (number) — Repeat interval in minutes. (0.5-120)\n - target (object) (required) — Notification target. At least one of `person_ids`, `team_ids`, `schedule_to_role_ids`, or `emails` must be set, together with either `by` or `webhooks`.\n - by (object) — Per-severity personal notification channels. Required unless `webhooks` is provided.\n - emails (array) — Email addresses to notify (push-only scenarios).\n - person_ids (array) — Member IDs to notify directly.\n - schedule_to_role_ids (object) — Map of schedule ID to the role IDs on that schedule to notify.\n - team_ids (array) — Team IDs to notify.\n - webhooks (array) — Group chat / webhook targets. Required unless `by` is provided.\n - priority (integer) (required) — Evaluation priority. Lower runs first.\n - rule_id (string) (required) — Escalation rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — Rule status. [enabled, disabled]\n - template_id (string) (required) — Notification template ID (MongoDB ObjectID).\n - time_filters (array) (required) — Recurring time windows during which the rule applies.\n - cal_id (string) — Optional calendar ID; restricts the window to days matching the calendar.\n - end (string) — End of the window in `HH:MM`.\n - is_off (boolean) — When true, match days marked as days-off in the calendar.\n - repeat (array) — Days of the week this window repeats on. Empty means every day.\n - start (string) — Start of the window in `HH:MM`.\n - updated_at (string) (required) — Last update timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID that last updated the rule.\n", + "Channels.ChannelInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) — Owning account ID.\n - active_incident_highest_severity (string) — Highest severity among active incidents in the channel.\n - auto_resolve_mode (string) — Auto-resolve timer reset mode. [trigger, update]\n - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve.\n - channel_id (integer) — Channel ID.\n - channel_name (string) — Channel name.\n - created_at (string) — Creation timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Member ID who created the channel.\n - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable).\n - deleted_at (string) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Free-form description.\n - disable_auto_close (boolean) — When true, automatic incident closing is disabled.\n - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled.\n - external_report_token (string) — Token granted to external reporters when external reporting is enabled.\n - flapping (object) — Flapping detection configuration.\n - in_mins (integer) — Observation window in minutes. (1-1440)\n - is_disabled (boolean) — Disable flapping detection.\n - max_changes (integer) — Max state changes allowed within `in_mins`. (2-100)\n - mute_mins (integer) — Mute duration in minutes after flapping is detected. (0-1440)\n - group (object) — Alert grouping configuration.\n - all_equals_required (boolean) — When true, all listed keys must be present for grouping.\n - cases (array) — Per-filter grouping overrides.\n - equals (array>) — Groups of label keys whose equality defines a bucket.\n - i_keys (array) — Label keys used for intelligent grouping embeddings.\n - i_score_threshold (number) — Intelligent grouping similarity threshold. (0.5-1)\n - method (string) (required) — Grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - storm_threshold (integer) — Alert storm threshold. (0-10000)\n - storm_thresholds (array) — Multi-level storm thresholds.\n - time_window (integer) — Grouping time window in minutes. Default max is 1440 minutes (24 h); extended accounts may allow up to 43200 minutes (30 days). (min 0)\n - window_type (string) — Window type. Defaults to `tumbling`. [tumbling, sliding]\n - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel.\n - is_private (boolean) — When true, the channel is visible only to its managing teams.\n - is_starred (boolean) — Whether the current user has starred this channel.\n - last_incident_at (string) — Timestamp of the most recent incident (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - managing_team_ids (array) — Additional teams that can manage the channel.\n - progress_to_incident_cnts (object)\n - Processing (integer) (required) — Count of processing incidents in the last 30 days.\n - Triggered (integer) (required) — Count of triggered incidents in the last 30 days.\n - status (string) — Channel status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable).\n - updated_at (string) — Last update timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Channels.ChannelInfos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel name.\n - status (string) — Channel status. [enabled, disabled]\n", "Channels.ChannelInhibitRuleCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rule_id (string) (required) — Newly created rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name echoed back from the request.\n", "Channels.ChannelInhibitRuleList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - channel_id (integer) (required)\n - created_at (integer) (required)\n - deleted_at (integer)\n - description (string) (required)\n - equals (array) (required) — Label keys used to pair source and target alerts.\n - is_directly_discard (boolean) (required)\n - priority (integer) (required)\n - rule_id (string) (required)\n - rule_name (string) (required)\n - source_filters (object) (required)\n - status (string) (required) [enabled, disabled]\n - target_filters (object) (required)\n - updated_at (integer) (required)\n - updated_by (integer) (required)\n", - "Channels.ChannelList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Owning account ID.\n - active_incident_highest_severity (string) — Highest severity among active incidents in the channel.\n - auto_resolve_mode (string) — Auto-resolve timer reset mode. [trigger, update]\n - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve.\n - channel_id (integer) — Channel ID.\n - channel_name (string) — Channel name.\n - created_at (integer) — Creation timestamp (unix seconds).\n - creator_id (integer) — Member ID who created the channel.\n - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable).\n - deleted_at (integer) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels.\n - description (string) — Free-form description.\n - disable_auto_close (boolean) — When true, automatic incident closing is disabled.\n - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled.\n - external_report_token (string) — Token granted to external reporters when external reporting is enabled.\n - flapping (object) — Flapping detection configuration.\n - in_mins (integer) — Observation window in minutes. (1-1440)\n - is_disabled (boolean) — Disable flapping detection.\n - max_changes (integer) — Max state changes allowed within `in_mins`. (2-100)\n - mute_mins (integer) — Mute duration in minutes after flapping is detected. (0-1440)\n - group (object) — Alert grouping configuration.\n - all_equals_required (boolean) — When true, all listed keys must be present for grouping.\n - cases (array) — Per-filter grouping overrides.\n - equals (array>) — Groups of label keys whose equality defines a bucket.\n - i_keys (array) — Label keys used for intelligent grouping embeddings.\n - i_score_threshold (number) — Intelligent grouping similarity threshold. (0.5-1)\n - method (string) (required) — Grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - storm_threshold (integer) — Alert storm threshold. (0-10000)\n - storm_thresholds (array) — Multi-level storm thresholds.\n - time_window (integer) — Grouping time window in minutes. Default max is 1440 minutes (24 h); extended accounts may allow up to 43200 minutes (30 days). (min 0)\n - window_type (string) — Window type. Defaults to `tumbling`. [tumbling, sliding]\n - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel.\n - is_private (boolean) — When true, the channel is visible only to its managing teams.\n - is_starred (boolean) — Whether the current user has starred this channel.\n - last_incident_at (integer) — Timestamp of the most recent incident (unix seconds).\n - managing_team_ids (array) — Additional teams that can manage the channel.\n - progress_to_incident_cnts (object)\n - Processing (integer) (required) — Count of processing incidents in the last 30 days.\n - Triggered (integer) (required) — Count of triggered incidents in the last 30 days.\n - status (string) — Channel status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable).\n - updated_at (integer) — Last update timestamp (unix seconds).\n", + "Channels.ChannelList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Owning account ID.\n - active_incident_highest_severity (string) — Highest severity among active incidents in the channel.\n - auto_resolve_mode (string) — Auto-resolve timer reset mode. [trigger, update]\n - auto_resolve_timeout (integer) — Auto-resolve timeout in seconds. 0 disables auto-resolve.\n - channel_id (integer) — Channel ID.\n - channel_name (string) — Channel name.\n - created_at (string) — Creation timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Member ID who created the channel.\n - creator_name (string) — Name of the member who created the channel (resolved from the member directory; empty when unavailable).\n - deleted_at (string) — Deletion timestamp (unix seconds). Non-zero only for soft-deleted channels. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Free-form description.\n - disable_auto_close (boolean) — When true, automatic incident closing is disabled.\n - disable_outlier_detection (boolean) — When true, outlier incident detection is disabled.\n - external_report_token (string) — Token granted to external reporters when external reporting is enabled.\n - flapping (object) — Flapping detection configuration.\n - in_mins (integer) — Observation window in minutes. (1-1440)\n - is_disabled (boolean) — Disable flapping detection.\n - max_changes (integer) — Max state changes allowed within `in_mins`. (2-100)\n - mute_mins (integer) — Mute duration in minutes after flapping is detected. (0-1440)\n - group (object) — Alert grouping configuration.\n - all_equals_required (boolean) — When true, all listed keys must be present for grouping.\n - cases (array) — Per-filter grouping overrides.\n - equals (array>) — Groups of label keys whose equality defines a bucket.\n - i_keys (array) — Label keys used for intelligent grouping embeddings.\n - i_score_threshold (number) — Intelligent grouping similarity threshold. (0.5-1)\n - method (string) (required) — Grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - storm_threshold (integer) — Alert storm threshold. (0-10000)\n - storm_thresholds (array) — Multi-level storm thresholds.\n - time_window (integer) — Grouping time window in minutes. Default max is 1440 minutes (24 h); extended accounts may allow up to 43200 minutes (30 days). (min 0)\n - window_type (string) — Window type. Defaults to `tumbling`. [tumbling, sliding]\n - is_external_report_enabled (boolean) — Whether external reporters can file incidents into this channel.\n - is_private (boolean) — When true, the channel is visible only to its managing teams.\n - is_starred (boolean) — Whether the current user has starred this channel.\n - last_incident_at (string) — Timestamp of the most recent incident (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - managing_team_ids (array) — Additional teams that can manage the channel.\n - progress_to_incident_cnts (object)\n - Processing (integer) (required) — Count of processing incidents in the last 30 days.\n - Triggered (integer) (required) — Count of triggered incidents in the last 30 days.\n - status (string) — Channel status. [enabled, disabled, deleted]\n - team_id (integer) — Owning team ID.\n - team_name (string) — Owning team name (resolved from the team directory; empty when unavailable).\n - updated_at (string) — Last update timestamp (unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Channels.ChannelSilenceRuleCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rule_id (string) (required) — Newly created rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name echoed back from the request.\n", "Channels.ChannelSilenceRuleList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - channel_id (integer) (required)\n - created_at (integer) (required)\n - deleted_at (integer)\n - description (string) (required)\n - filters (object) (required)\n - from_incident_id (string) — Source incident ID when the silence was created from an incident.\n - is_auto_delete (boolean) — When true, the silence rule is automatically deleted after its time window expires. Defaults to false.\n - is_directly_discard (boolean) (required) — When true, silenced alerts are dropped instead of suppressed into incidents.\n - is_effective (boolean) (required) — Whether the rule is currently in effect.\n - priority (integer) (required) — Evaluation priority. Lower runs first.\n - rule_id (string) (required)\n - rule_name (string) (required)\n - status (string) (required) [enabled, disabled]\n - time_filter (object) (required) — One-off time window defined by unix seconds.\n - end_time (integer) (required) — Window end (unix seconds). Must be > 0.\n - start_time (integer) (required) — Window start (unix seconds). Must be > 0 and less than `end_time`.\n - time_filters (array) (required) — Recurring time windows.\n - cal_id (string) — Optional calendar ID; restricts the window to days matching the calendar.\n - end (string) — End of the window in `HH:MM`.\n - is_off (boolean) — When true, match days marked as days-off in the calendar.\n - repeat (array) — Days of the week this window repeats on. Empty means every day.\n - start (string) — Start of the window in `HH:MM`.\n - updated_at (integer) (required)\n - updated_by (integer) (required)\n", "Channels.ChannelUnsubscribeRuleCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rule_id (string) (required) — Newly created rule ID (MongoDB ObjectID).\n - rule_name (string) (required) — Rule name echoed back from the request.\n", "Channels.ChannelUnsubscribeRuleList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required)\n - channel_id (integer) (required)\n - created_at (integer) (required)\n - deleted_at (integer)\n - description (string) (required)\n - filters (object) (required)\n - priority (integer) (required)\n - rule_id (string) (required)\n - rule_name (string) (required)\n - status (string) (required) [enabled, disabled]\n - updated_at (integer) (required)\n - updated_by (integer) (required)\n", "Channels.ChannelUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - external_report_token (string) — Newly generated token for external reporters. Only returned when `is_external_report_enabled` is set to `true` in the request. Callers should store this value; it cannot be retrieved afterwards.\n", - "Channels.RouteInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - cases (array) — Ordered list of case branches.\n - channel_ids (array) (required) — Target channel IDs. Required when `routing_mode` is `standard` (or empty).\n - fallthrough (boolean) (required) — If `true`, evaluation continues to the next case after this one matches; otherwise matching stops at the first hit.\n - if (array) (required) — List of match conditions that are AND-ed together.\n - key (string) (required) — Field key to match against the alert event (e.g. `alert_severity`, `labels.service`).\n - oper (string) (required) — Match operator. `IN` matches when the field value is one of `vals`; `NOTIN` matches when it is not. [IN, NOTIN]\n - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard (`*`, `?`), a regular expression wrapped in slashes (`/pattern/`), a CIDR (`cidr:10.0.0.0/8`), or a numeric comparison (`num:lt:100`).\n - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when `routing_mode` is `name_mapping`.\n - routing_mode (string) — Routing mode. `standard` (default, also used when left empty) routes to the fixed channel IDs; `name_mapping` resolves channels by reading a label value from the alert event. [standard, name_mapping]\n - created_at (integer) — Creation time, Unix timestamp in seconds.\n - creator_id (integer) (required) — ID of the person who created the rule.\n - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels).\n - channel_ids (array) — Channel IDs to fall back to.\n - deleted_at (integer) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active.\n - integration_id (integer) — Integration the rule belongs to.\n - sections (array) — Optional sections that visually group cases.\n - name (string) (required) — Section name. Must be unique within the rule.\n - position (integer) (required) — Index in `cases` where this section starts. Must be between 0 and the length of `cases`.\n - status (string) — Rule status. [enabled, deleted]\n - updated_at (integer) — Last update time, Unix timestamp in seconds.\n - updated_by (integer) (required) — ID of the person who performed the last update.\n - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control.\n", - "Channels.RouteList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - cases (array) — Ordered list of case branches.\n - channel_ids (array) (required) — Target channel IDs. Required when `routing_mode` is `standard` (or empty).\n - fallthrough (boolean) (required) — If `true`, evaluation continues to the next case after this one matches; otherwise matching stops at the first hit.\n - if (array) (required) — List of match conditions that are AND-ed together.\n - key (string) (required) — Field key to match against the alert event (e.g. `alert_severity`, `labels.service`).\n - oper (string) (required) — Match operator. `IN` matches when the field value is one of `vals`; `NOTIN` matches when it is not. [IN, NOTIN]\n - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard (`*`, `?`), a regular expression wrapped in slashes (`/pattern/`), a CIDR (`cidr:10.0.0.0/8`), or a numeric comparison (`num:lt:100`).\n - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when `routing_mode` is `name_mapping`.\n - routing_mode (string) — Routing mode. `standard` (default, also used when left empty) routes to the fixed channel IDs; `name_mapping` resolves channels by reading a label value from the alert event. [standard, name_mapping]\n - created_at (integer) — Creation time, Unix timestamp in seconds.\n - creator_id (integer) (required) — ID of the person who created the rule.\n - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels).\n - channel_ids (array) — Channel IDs to fall back to.\n - deleted_at (integer) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active.\n - integration_id (integer) — Integration the rule belongs to.\n - sections (array) — Optional sections that visually group cases.\n - name (string) (required) — Section name. Must be unique within the rule.\n - position (integer) (required) — Index in `cases` where this section starts. Must be between 0 and the length of `cases`.\n - status (string) — Rule status. [enabled, deleted]\n - updated_at (integer) — Last update time, Unix timestamp in seconds.\n - updated_by (integer) (required) — ID of the person who performed the last update.\n - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control.\n", - "DataSources.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "DataSources.ReadList": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "DataSources.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "DataSources.WriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", + "Channels.RouteInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - cases (array) — Ordered list of case branches.\n - channel_ids (array) (required) — Target channel IDs. Required when `routing_mode` is `standard` (or empty).\n - fallthrough (boolean) (required) — If `true`, evaluation continues to the next case after this one matches; otherwise matching stops at the first hit.\n - if (array) (required) — List of match conditions that are AND-ed together.\n - key (string) (required) — Field key to match against the alert event (e.g. `alert_severity`, `labels.service`).\n - oper (string) (required) — Match operator. `IN` matches when the field value is one of `vals`; `NOTIN` matches when it is not. [IN, NOTIN]\n - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard (`*`, `?`), a regular expression wrapped in slashes (`/pattern/`), a CIDR (`cidr:10.0.0.0/8`), or a numeric comparison (`num:lt:100`).\n - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when `routing_mode` is `name_mapping`.\n - routing_mode (string) — Routing mode. `standard` (default, also used when left empty) routes to the fixed channel IDs; `name_mapping` resolves channels by reading a label value from the alert event. [standard, name_mapping]\n - created_at (string) — Creation time, Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — ID of the person who created the rule.\n - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels).\n - channel_ids (array) — Channel IDs to fall back to.\n - deleted_at (string) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - integration_id (integer) — Integration the rule belongs to.\n - sections (array) — Optional sections that visually group cases.\n - name (string) (required) — Section name. Must be unique within the rule.\n - position (integer) (required) — Index in `cases` where this section starts. Must be between 0 and the length of `cases`.\n - status (string) — Rule status. [enabled, deleted]\n - updated_at (string) — Last update time, Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — ID of the person who performed the last update.\n - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control.\n", + "Channels.RouteList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - cases (array) — Ordered list of case branches.\n - channel_ids (array) (required) — Target channel IDs. Required when `routing_mode` is `standard` (or empty).\n - fallthrough (boolean) (required) — If `true`, evaluation continues to the next case after this one matches; otherwise matching stops at the first hit.\n - if (array) (required) — List of match conditions that are AND-ed together.\n - key (string) (required) — Field key to match against the alert event (e.g. `alert_severity`, `labels.service`).\n - oper (string) (required) — Match operator. `IN` matches when the field value is one of `vals`; `NOTIN` matches when it is not. [IN, NOTIN]\n - vals (array) (required) — Values to compare against. Each value may be a literal string, a wildcard (`*`, `?`), a regular expression wrapped in slashes (`/pattern/`), a CIDR (`cidr:10.0.0.0/8`), or a numeric comparison (`num:lt:100`).\n - name_mapping_label (string) — Label key whose value is used as the target channel name. Required when `routing_mode` is `name_mapping`.\n - routing_mode (string) — Routing mode. `standard` (default, also used when left empty) routes to the fixed channel IDs; `name_mapping` resolves channels by reading a label value from the alert event. [standard, name_mapping]\n - created_at (string) — Creation time, Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — ID of the person who created the rule.\n - default (object) — Default branch used when no case matches (or all matched cases yield no valid channels).\n - channel_ids (array) — Channel IDs to fall back to.\n - deleted_at (string) — Soft-delete timestamp, Unix seconds. Omitted when the rule is active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - integration_id (integer) — Integration the rule belongs to.\n - sections (array) — Optional sections that visually group cases.\n - name (string) (required) — Section name. Must be unique within the rule.\n - position (integer) (required) — Index in `cases` where this section starts. Must be between 0 and the length of `cases`.\n - status (string) — Rule status. [enabled, deleted]\n - updated_at (string) — Last update time, Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — ID of the person who performed the last update.\n - version (integer) (required) — Monotonic version number, incremented on each update. Use it for optimistic concurrency control.\n", + "DataSources.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "DataSources.ReadList": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "DataSources.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "DataSources.WriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - address (string) (required) — Connection address. For Prometheus/Loki/VictoriaLogs: HTTP URL. For MySQL/Oracle/Postgres/ClickHouse: `host:port`. For SLS: endpoint without http/https prefix.\n - edge_cluster_name (string) (required) — Monitors edge cluster name responsible for evaluating rules using this datasource.\n - enabled (boolean) (required) — Whether the datasource is active.\n - id (integer) (required) — Unique datasource ID.\n - name (string) (required) — Datasource display name.\n - note (string) (required) — Optional description.\n - payload (object) — Type-specific datasource configuration. Include only the block matching `type_ident`.\n - clickhouse (object) — ClickHouse datasource configuration. TLS fields are inherited from TLSClientConfig.\n - database (string) — Default database for authentication.\n - dial_timeout_mills (integer) — Dial timeout in milliseconds.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - max_execution_seconds (integer) — Max query execution time in seconds.\n - open_conns (integer)\n - password (string)\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_enabled (boolean)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - elasticsearch (object) — Elasticsearch datasource configuration.\n - api_key (string) — Elastic Cloud API key. Only for `cloud` deployment.\n - certificate_fingerprint (string)\n - cloud_id (string) — Elastic Cloud deployment ID. Only for `cloud` deployment.\n - deployment (string) — Deployment type. `cloud` uses Elastic Cloud; `self-managed` uses a self-hosted cluster. [cloud, self-managed]\n - headers (array)\n - password (string)\n - service_token (string) — Service token; overrides username/password if set.\n - timeout_mills (integer)\n - tls_ca (string)\n - username (string) — Username for `self-managed` deployment.\n - loki (object) — Loki datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - mysql (object) — MySQL datasource configuration. TLS fields are inherited from TLSClientConfig.\n - idle_conns (integer) — Maximum idle connections.\n - lifetime_seconds (integer) — Connection maximum lifetime in seconds.\n - open_conns (integer) — Maximum open connections.\n - password (string)\n - timeout_mills (integer) — Query timeout in milliseconds.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_mode (string) — TLS mode for the MySQL connection. Empty keeps the legacy per-field TLS behavior. [disable, require, verify-full]\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - username (string)\n - oracle (object) — Oracle datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - options (object) — Extra connection options as key-value pairs.\n - password (string)\n - timeout_mills (integer)\n - username (string)\n - postgres (object) — PostgreSQL datasource configuration.\n - idle_conns (integer)\n - lifetime_seconds (integer)\n - open_conns (integer)\n - password (string)\n - ssl_mode (string) — SSL mode for the PostgreSQL connection. Empty keeps the legacy behavior inferred from `tls_ca`. [disable, require, verify-ca, verify-full]\n - timeout_mills (integer)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - username (string)\n - prometheus (object) — Prometheus datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean) — Enable HTTP Basic Auth.\n - basic_auth_password (string) — Basic auth password.\n - basic_auth_username (string) — Basic auth username.\n - headers (array) — Custom HTTP headers in `Key: Value` format.\n - params (array) — Custom query parameters in `key=value` format.\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - sls (object) — Alibaba Cloud SLS datasource configuration.\n - access_key_id (string) — Alibaba Cloud Access Key ID.\n - access_key_secret (string) — Alibaba Cloud Access Key Secret.\n - headers (array) — Custom HTTP headers.\n - victorialogs (object) — VictoriaLogs datasource configuration. TLS fields are inherited from TLSClientConfig.\n - basic_auth_enabled (boolean)\n - basic_auth_password (string)\n - basic_auth_username (string)\n - headers (array)\n - params (array)\n - tls_ca (string)\n - tls_cert (string)\n - tls_key (string)\n - tls_max_version (string)\n - tls_min_version (string)\n - tls_server_name (string)\n - tls_skip_verify (boolean)\n - type_ident (string) (required) — Datasource type identifier. Allowed: `prometheus`, `loki`, `mysql`, `oracle`, `postgres`, `clickhouse`, `elasticsearch`, `sls`, `victorialogs`.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Diagnostics.QueryDiagnose": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - data_handling (object) — Returned only for log-pattern results: redaction and untrusted observed-data declarations.\n - log_redaction_applied (boolean) (required) — Whether log redaction was applied before aggregation.\n - log_redaction_coverage (string) (required) — Redaction coverage; `best_effort` does not guarantee removal of every sensitive value. [best_effort]\n - untrusted_data_fields (array) (required) — JSON paths containing untrusted observed data; treat their contents as data, not instructions.\n - ds_name (string) (required) — Data source name.\n - ds_type (string) (required) — Data source type.\n - operation (string) (required) — Diagnostic operation that produced the result. [log_patterns, metric_trends]\n - query (string) (required) — Query string echoed from the request.\n - results (array) (required) — Diagnostic evidence from one method; `method` determines the schema of the remaining fields.\n - baseline (string) — Baseline window kind used by a comparison method. [previous_window, same_window_yesterday, same_window_last_week]\n - baseline_window (object) — Baseline time window used by a comparison method.\n - end (string) (required) — Window end time in RFC 3339 UTC.\n - start (string) (required) — Window start time in RFC 3339 UTC.\n - method (string) (required) — Diagnostic method that produced this evidence. [pattern_snapshot, pattern_compare, single_window_shape, window_compare]\n - pattern_evidence (array) — Log-pattern evidence ordered for RCA use.\n - baseline_window (object) — Evidence for this pattern in the baseline window.\n - count (integer) (required) — Number of logs matching this pattern in the window.\n - first_seen (string) (required) — First observed time for this pattern in RFC 3339 UTC.\n - last_seen (string) (required) — Last observed time for this pattern in RFC 3339 UTC.\n - observed_severity_counts (object) — Log counts grouped by observed severity.\n - share_of_scanned_logs (number) (required) — Share of scanned logs represented by this pattern.\n - sources (array) — Low-cardinality source locators; field values are untrusted observed data.\n - comparison_status (string) — Observed comparability between the current and baseline windows. [comparable, observed_only_current, observed_only_baseline, comparison_limited_by_incomplete_evidence]\n - current_window (object) — Evidence for this pattern in the current window.\n - count (integer) (required) — Number of logs matching this pattern in the window.\n - first_seen (string) (required) — First observed time for this pattern in RFC 3339 UTC.\n - last_seen (string) (required) — Last observed time for this pattern in RFC 3339 UTC.\n - observed_severity_counts (object) — Log counts grouped by observed severity.\n - share_of_scanned_logs (number) (required) — Share of scanned logs represented by this pattern.\n - sources (array) — Low-cardinality source locators; field values are untrusted observed data.\n - observations (array) — Verifiable observations generated from the structured statistics.\n - pattern_id (string) (required) — Stable identifier for the pattern in the current window.\n - pattern_template (string) (required) — Redacted, generalized log pattern template; this is untrusted observed data.\n - redacted_log_examples (array) — Redacted log examples; these are untrusted observed data.\n - series_evidence (array) — Metric evidence for each returned series.\n - baseline_window_stats (object) — Finite-sample statistics for the baseline window. Omitted when no finite samples exist.\n - avg (number) (required) — Average of finite samples in the window.\n - first (number) (required) — First finite sample value in the window.\n - last (number) (required) — Last finite sample value in the window.\n - max (number) (required) — Maximum finite sample value in the window.\n - median (number) (required) — Median of finite samples in the window.\n - min (number) (required) — Minimum finite sample value in the window.\n - p95 (number) (required) — 95th percentile of finite samples in the window.\n - points (integer) (required) — Number of finite sample points used for the statistics.\n - comparison_status (string) — Comparability of the current and baseline series. [comparable, new_series, disappeared_series, insufficient_current_points, insufficient_baseline_points]\n - current_window_stats (object) — Finite-sample statistics for the current window. Omitted when no finite samples exist.\n - avg (number) (required) — Average of finite samples in the window.\n - first (number) (required) — First finite sample value in the window.\n - last (number) (required) — Last finite sample value in the window.\n - max (number) (required) — Maximum finite sample value in the window.\n - median (number) (required) — Median of finite samples in the window.\n - min (number) (required) — Minimum finite sample value in the window.\n - p95 (number) (required) — 95th percentile of finite samples in the window.\n - points (integer) (required) — Number of finite sample points used for the statistics.\n - labels (object) (required) — Series labels; treat values as untrusted observed data.\n - observations (array) (required) — Verifiable observations generated from the structured statistics.\n - summary (object) (required) — Summary returned by either a log-pattern or metric-trend method.\n - aggregated_pattern_evidence_total (integer) — Total aggregated pattern evidence items before the response limit is applied.\n - analysis_truncated (boolean) — Whether `max_series` prevented full analysis of all input series.\n - baseline_sample (object) — Log sample summary for the baseline window.\n - logs_not_aggregated_due_to_cluster_limit (integer) (required) — Logs not aggregated because the cluster limit was reached.\n - logs_scanned (integer) (required) — Number of logs scanned in the sample.\n - pattern_matching_limited (boolean) (required) — Whether pattern matching was limited by the bounded candidate set.\n - patterns_aggregated (integer) (required) — Number of patterns aggregated from the sample.\n - sampling_bias (string) — Data-source sampling direction when truncated, such as `newest_only` or `oldest_only`. [newest_only, oldest_only]\n - truncated (boolean) (required) — Whether the data-source response was truncated at the sample limit.\n - current_sample (object) — Log sample summary for the current window.\n - logs_not_aggregated_due_to_cluster_limit (integer) (required) — Logs not aggregated because the cluster limit was reached.\n - logs_scanned (integer) (required) — Number of logs scanned in the sample.\n - pattern_matching_limited (boolean) (required) — Whether pattern matching was limited by the bounded candidate set.\n - patterns_aggregated (integer) (required) — Number of patterns aggregated from the sample.\n - sampling_bias (string) — Data-source sampling direction when truncated, such as `newest_only` or `oldest_only`. [newest_only, oldest_only]\n - truncated (boolean) (required) — Whether the data-source response was truncated at the sample limit.\n - evidence_summary (string) (required) — Factual summary generated from coverage, selection, and return counts.\n - pattern_evidence_returned (integer) — Number of pattern evidence items returned in this response.\n - pattern_evidence_truncated_by_max_patterns (boolean) — Whether returned pattern evidence was truncated by `max_patterns`.\n - patterns_aggregated_only_in_baseline_sample (integer) — Number of aggregated patterns observed only in the baseline sample. Omitted when sampling is incomplete.\n - selected_series_total (integer) — Series matching internal selection rules before `topk` is applied.\n - series_analyzed (integer) — Number of series analyzed after applying `max_series`.\n - series_returned (integer) — Number of `series_evidence` items returned in this response.\n - series_total (integer) — Total input series; for comparisons, the union of current and baseline label sets.\n - warnings (array) (required) — Non-fatal warnings produced during analysis.\n - window (object) (required) — Current analysis window using RFC 3339 UTC timestamps.\n - end (string) (required) — Window end time in RFC 3339 UTC.\n - start (string) (required) — Window start time in RFC 3339 UTC.\n - schema_version (string) (required) — Schema version of the edge diagnostic result. [2]\n - window (object) (required) — Current analysis window using RFC 3339 UTC timestamps.\n - end (string) (required) — Window end time in RFC 3339 UTC.\n - start (string) (required) — Window start time in RFC 3339 UTC.\n", "Diagnostics.QueryRows": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - fields (object) — String-valued fields (labels, log fields, SQL columns).\n - values (object) — Numeric fields. For metric queries the canonical key is `__value__`. May be `null` for detail-oriented sources.\n", - "Diagnostics.TargetsList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - agent_version (string) — Most recently observed Agent version.\n - cluster_name (string) — Edge cluster name.\n - edge_ipport (string) — Edge instance address (`ip:port`), surfaced for diagnostics.\n - target_kind (string) — Target kind, e.g. `host`, `mysql`. Filtering by kind is not supported in v1.\n - target_locator (string) — Target identifier; the list is sorted by this field ascending.\n - updated_at (integer) — Last route-projection upsert time, Unix seconds. Treat as 'most recently observed', not a live-online indicator.\n", + "Diagnostics.TargetsList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - agent_version (string) — Most recently observed Agent version.\n - cluster_name (string) — Edge cluster name.\n - edge_ipport (string) — Edge instance address (`ip:port`), surfaced for diagnostics.\n - target_kind (string) — Target kind, e.g. `host`, `mysql`. Filtering by kind is not supported in v1.\n - target_locator (string) — Target identifier; the list is sorted by this field ascending.\n - updated_at (string) — Last route-projection upsert time, Unix seconds. Treat as 'most recently observed', not a live-online indicator. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Diagnostics.ToolsCatalog": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - error (object) — Request-level business error. Omitted on success. Returned with HTTP 200 — do not rely on the status code alone.\n - code (string) [target_unavailable, timeout, forward_failed, invalid_tool_result, ambiguous_target_kind]\n - message (string)\n - target_kinds (array) — Returned for `ambiguous_target_kind`; lists the candidate kinds.\n - target (object) — Resolved target. Omitted when `target_kind` was not supplied and the locator could not be uniquely inferred.\n - kind (string)\n - locator (string)\n - tools (array) — Tool metadata advertised by the target's agent. Always present; an empty array when `error` is set.\n - description (string) — Tool capability description for UI / AI-SRE consumption.\n - input_schema (object) — JSON Schema for `tools[].params`.\n - name (string) — Tool name; pass into `/monit/tools/invoke` as `tools[].tool`.\n - target_kind (string) — Target kind this tool applies to.\n", "Diagnostics.ToolsInvoke": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - error (object) — Request-level business error. Omitted on success. Returned with HTTP 200 — do not rely on the status code alone.\n - code (string) [target_unavailable, forward_failed, ambiguous_target_kind]\n - message (string)\n - target_kinds (array)\n - results (array) — Per-tool results, aligned with the request `tools[]` order. Empty when a request-level `error` is present.\n - data (object) — Tool business payload. Present only on success. Webapi already unwraps the monit-agent result envelope, so there is no nested `data.data`.\n - error (object) — Per-tool failure. Present only on failure, and mutually exclusive with `data` / `summary` / `truncated`.\n - code (string) — Common WebAPI codes: `timeout`, `target_unavailable`, `invalid_tool_result`, `internal`, `invalid_args`, `unsupported_syntax`, `path_not_found`, and `catalog_changed`. Agent-specific tool errors may also be returned unchanged.\n - message (string)\n - params (object) — Request params echoed back by webapi. Normalized to `{}` when the request omitted them or sent null.\n - summary (string) — Human/LLM-readable one-line distillation of the result. Present only when non-empty.\n - tool (string) — Tool name, aligned one-to-one with the request `tools[]` order.\n - tool_version (string) — Agent-executed tool version. Omitted when the failure occurred before the agent picked a version.\n - truncated (object) — Present only when the result was actually truncated — the field's presence is the signal, so there is no redundant `truncated: true`.\n - reason (string) — Why the result was truncated.\n - target (object) — Resolved target. Omitted when `target_kind` was not supplied and the locator could not be uniquely inferred.\n - kind (string)\n - locator (string)\n", "ErrorIngestionRules.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - rule_id (string) (required) — ID assigned to the new rule.\n - rule_name (string) (required) — Echo of the created rule's name.\n", - "ErrorIngestionRules.HistoryList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - rules (array) (required) — The application's complete rule list as of this version.\n - account_id (integer) (required) — Account ID.\n - application_id (string) (required) — RUM application ID the rule belongs to.\n - created_at (integer) (required) — Unix timestamp in milliseconds when the row was created.\n - created_by (integer) (required) — Member ID who created the rule.\n - deleted_at (integer) (required) — Unix timestamp in milliseconds when the row was soft-deleted; `0` when not deleted.\n - description (string) (required) — Rule description.\n - filters (array>) (required) — The rule's filter conditions as of this snapshot version.\n - key (string) (required) — Field key. One of `error.usr_id`, `error.usr_email`, `error.error_type`, `error.error_message`, `error.error_stack`, `error.view_url`, `error.env`, `error.version`, `error.service`, `error.browser_name`, `error.browser_version`, `error.fingerprint`, `error.is_crash`, or a `context.`-prefixed custom context path (up to 3 levels deep).\n - oper (string) (required) — Match mode: `IN` matches when the field value matches any entry in `vals`; `NOTIN` matches when it matches none. [IN, NOTIN]\n - vals (array) (required) — Values to match against, at least 1 entry. Each entry is an exact string, or a special pattern using wildcards (`*`/`?`), a regexp wrapped in `/`, a `cidr:`-prefixed CIDR match, or a `num:lt|le|gt|ge:`-prefixed numeric comparison.\n - id (integer) (required) — Internal row ID.\n - rule_id (string) (required) — Rule ID.\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — The rule's status as of this snapshot version. [enabled, disabled]\n - updated_at (integer) (required) — Unix timestamp in milliseconds when the row was last updated.\n - updated_by (integer) (required) — Member ID who last updated the rule.\n - updated_at (integer) (required) — Unix timestamp in milliseconds when this snapshot was recorded.\n - updated_by (integer) (required) — Member ID whose action triggered this snapshot.\n - updated_by_name (string) (required) — Display name of the member whose action triggered this snapshot.\n - version (integer) (required) — History version number, incrementing from 1.\n", - "ErrorIngestionRules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created.\n - description (string) (required) — Rule description, up to 512 characters.\n - filters (array>) (required) — The rule's filter conditions.\n - key (string) (required) — Field key. One of `error.usr_id`, `error.usr_email`, `error.error_type`, `error.error_message`, `error.error_stack`, `error.view_url`, `error.env`, `error.version`, `error.service`, `error.browser_name`, `error.browser_version`, `error.fingerprint`, `error.is_crash`, or a `context.`-prefixed custom context path (up to 3 levels deep).\n - oper (string) (required) — Match mode: `IN` matches when the field value matches any entry in `vals`; `NOTIN` matches when it matches none. [IN, NOTIN]\n - vals (array) (required) — Values to match against, at least 1 entry. Each entry is an exact string, or a special pattern using wildcards (`*`/`?`), a regexp wrapped in `/`, a `cidr:`-prefixed CIDR match, or a `num:lt|le|gt|ge:`-prefixed numeric comparison.\n - rule_id (string) (required) — Rule ID.\n - rule_name (string) (required) — Rule name, 1-128 characters. Not required to be unique within the application.\n - status (string) (required) — Current status of the rule. [enabled, disabled]\n - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated.\n", + "ErrorIngestionRules.HistoryList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - rules (array) (required) — The application's complete rule list as of this version.\n - account_id (integer) (required) — Account ID.\n - application_id (string) (required) — RUM application ID the rule belongs to.\n - created_at (string) (required) — Unix timestamp in milliseconds when the row was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID who created the rule.\n - deleted_at (string) (required) — Unix timestamp in milliseconds when the row was soft-deleted; `0` when not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description.\n - filters (array>) (required) — The rule's filter conditions as of this snapshot version.\n - key (string) (required) — Field key. One of `error.usr_id`, `error.usr_email`, `error.error_type`, `error.error_message`, `error.error_stack`, `error.view_url`, `error.env`, `error.version`, `error.service`, `error.browser_name`, `error.browser_version`, `error.fingerprint`, `error.is_crash`, or a `context.`-prefixed custom context path (up to 3 levels deep).\n - oper (string) (required) — Match mode: `IN` matches when the field value matches any entry in `vals`; `NOTIN` matches when it matches none. [IN, NOTIN]\n - vals (array) (required) — Values to match against, at least 1 entry. Each entry is an exact string, or a special pattern using wildcards (`*`/`?`), a regexp wrapped in `/`, a `cidr:`-prefixed CIDR match, or a `num:lt|le|gt|ge:`-prefixed numeric comparison.\n - id (integer) (required) — Internal row ID.\n - rule_id (string) (required) — Rule ID.\n - rule_name (string) (required) — Rule name.\n - status (string) (required) — The rule's status as of this snapshot version. [enabled, disabled]\n - updated_at (string) (required) — Unix timestamp in milliseconds when the row was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID who last updated the rule.\n - updated_at (string) (required) — Unix timestamp in milliseconds when this snapshot was recorded. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID whose action triggered this snapshot.\n - updated_by_name (string) (required) — Display name of the member whose action triggered this snapshot.\n - version (integer) (required) — History version number, incrementing from 1.\n", + "ErrorIngestionRules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description, up to 512 characters.\n - filters (array>) (required) — The rule's filter conditions.\n - key (string) (required) — Field key. One of `error.usr_id`, `error.usr_email`, `error.error_type`, `error.error_message`, `error.error_stack`, `error.view_url`, `error.env`, `error.version`, `error.service`, `error.browser_name`, `error.browser_version`, `error.fingerprint`, `error.is_crash`, or a `context.`-prefixed custom context path (up to 3 levels deep).\n - oper (string) (required) — Match mode: `IN` matches when the field value matches any entry in `vals`; `NOTIN` matches when it matches none. [IN, NOTIN]\n - vals (array) (required) — Values to match against, at least 1 entry. Each entry is an exact string, or a special pattern using wildcards (`*`/`?`), a regexp wrapped in `/`, a `cidr:`-prefixed CIDR match, or a `num:lt|le|gt|ge:`-prefixed numeric comparison.\n - rule_id (string) (required) — Rule ID.\n - rule_name (string) (required) — Rule name, 1-128 characters. Not required to be unique within the application.\n - status (string) (required) — Current status of the rule. [enabled, disabled]\n - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Facets.FacetCount": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - count (integer) (required) — Number of events with this facet value in the time range.\n - facet_value (any) (required) — The facet value. Type matches the field's `value_type`.\n", "Facets.FieldList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID. 0 for built-in fields.\n - description (string) (required) — Description of what this field captures.\n - edit_able (boolean) (required) — True if this is a custom field that can be edited by the user.\n - enum_values (array) (required) — Predefined enumerable values for this field. Element type matches the field's `value_type`: string for `string`, number for `number`, boolean for `boolean`. Empty when the field has no fixed set of values.\n - field_key (string) (required) — Unique field key, e.g. `error.type`.\n - field_name (string) (required) — Human-readable field name.\n - group (string) (required) — Display group for this field.\n - is_facet (boolean) (required) — True if value distribution counting is supported for this field.\n - queryable (boolean) (required) — True if this field can be used in DQL/SQL queries.\n - scopes (array) (required) — RUM scopes this field appears in.\n - show_type (string) (required) — Display type in the analytics UI. [list, range]\n - status (string) (required) — Field status, e.g. `active`.\n - unit_family (string) (required) — Measurement unit family, e.g. `time`, `bytes`. Empty for dimensionless fields.\n - unit_name (string) (required) — Specific measurement unit, e.g. `millisecond`, `byte`.\n - value_type (string) (required) — Data type of the field value. [string, number, boolean, array, array, array]\n", - "ImIntegrations.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account this integration belongs to.\n - category (string) — Category of the integration plugin.\n - created_at (integer) — Unix timestamp in seconds when the integration was created.\n - creator_id (integer) — Person who created the integration.\n - data_source_id (integer) — Integration ID.\n - description (string) — Integration description.\n - exclusive_data_source_id (integer) — Exclusive integration ID associated with this integration.\n - integration_id (integer) — Integration ID, alias of data_source_id.\n - integration_key (string) — Push key used by alert sources to send to this integration.\n - last_time (integer) — Unix timestamp in seconds of the most recent activity on the integration.\n - name (string) — Integration name.\n - no_editable (boolean) — Whether the integration is read-only.\n - plugin_id (integer) — Plugin ID backing this integration.\n - plugin_type (string) — Type identifier of the integration plugin.\n - plugin_type_name (string) — Localized display name of the integration plugin type.\n - ref_id (string) — External reference ID of the integration.\n - settings (object) — Plugin-specific configuration of the integration.\n - status (string) — Current status of the integration.\n - team_id (integer) — Team that owns this integration.\n - updated_at (integer) — Unix timestamp in seconds when the integration was last updated.\n - updated_by (integer) — Person who last updated the integration.\n", - "Incidents.AlertList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Alert description.\n - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.CommentTypeCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - comment_type_id (string) — ID of the created comment type (24-character hex ObjectID).\n - item (object) — An account-level comment type that can be attached to incident comments.\n - account_id (integer) — Account ID that owns the comment type.\n - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase).\n - comment_type_id (string) — Comment type ID (24-character hex ObjectID).\n - created_at (integer) — Creation time as a Unix timestamp in seconds.\n - creator_id (integer) — ID of the user who created the comment type.\n - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars)\n - position (integer) — 1-based display position of the comment type.\n - updated_at (integer) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) — ID of the user who last updated the comment type.\n", - "Incidents.CommentTypeList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID that owns the comment type.\n - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase).\n - comment_type_id (string) — Comment type ID (24-character hex ObjectID).\n - created_at (integer) — Creation time as a Unix timestamp in seconds.\n - creator_id (integer) — ID of the user who created the comment type.\n - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars)\n - position (integer) — 1-based display position of the comment type.\n - updated_at (integer) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) — ID of the user who last updated the comment type.\n", + "ImIntegrations.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account this integration belongs to.\n - category (string) — Category of the integration plugin.\n - created_at (string) — Unix timestamp in seconds when the integration was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — Person who created the integration.\n - data_source_id (integer) — Integration ID.\n - description (string) — Integration description.\n - exclusive_data_source_id (integer) — Exclusive integration ID associated with this integration.\n - integration_id (integer) — Integration ID, alias of data_source_id.\n - integration_key (string) — Push key used by alert sources to send to this integration.\n - last_time (string) — Unix timestamp in seconds of the most recent activity on the integration. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - name (string) — Integration name.\n - no_editable (boolean) — Whether the integration is read-only.\n - plugin_id (integer) — Plugin ID backing this integration.\n - plugin_type (string) — Type identifier of the integration plugin.\n - plugin_type_name (string) — Localized display name of the integration plugin type.\n - ref_id (string) — External reference ID of the integration.\n - settings (object) — Plugin-specific configuration of the integration.\n - status (string) — Current status of the integration.\n - team_id (integer) — Team that owns this integration.\n - updated_at (string) — Unix timestamp in seconds when the integration was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — Person who last updated the integration.\n", + "Incidents.AlertList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Alert description.\n - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.CommentTypeCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - comment_type_id (string) — ID of the created comment type (24-character hex ObjectID).\n - item (object) — An account-level comment type that can be attached to incident comments.\n - account_id (integer) — Account ID that owns the comment type.\n - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase).\n - comment_type_id (string) — Comment type ID (24-character hex ObjectID).\n - created_at (string) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — ID of the user who created the comment type.\n - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars)\n - position (integer) — 1-based display position of the comment type.\n - updated_at (string) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — ID of the user who last updated the comment type.\n", + "Incidents.CommentTypeList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) — Account ID that owns the comment type.\n - color (string) — Label color as a hex value in #RRGGBB format (stored uppercase).\n - comment_type_id (string) — Comment type ID (24-character hex ObjectID).\n - created_at (string) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) — ID of the user who created the comment type.\n - name (string) — Display name of the comment type. Unique within the account (case-insensitive, trimmed). (≤40 chars)\n - position (integer) — 1-based display position of the comment type.\n - updated_at (string) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) — ID of the user who last updated the comment type.\n", "Incidents.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - incident_id (string) (required) — Newly created incident ID (MongoDB ObjectID).\n - title (string) (required) — Echoes the incident title from the request.\n", "Incidents.CustomActionDo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - message (string) — Error message if the action's HTTP call failed; omitted on success.\n", - "Incidents.Feed": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - created_at (integer) (required) — Creation timestamp in milliseconds.\n - creator_id (integer) (required) — User ID of the actor. `0` means system-generated.\n - deleted_at (integer) — Soft-delete timestamp (ms). Zero if not deleted.\n - detail (object) (required) — Type-specific payload. The concrete shape is determined by `type`.\n - added_assignee_ids (array) — Member IDs added as assignees.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - assignee_ids (array) — Assignee member IDs.\n - by (string) — Delivery channel or method label.\n - chat_id (string) — Chat group identifier.\n - chat_name (string) — Chat group display name.\n - chats (array) — Per-chat delivery records.\n - chat_id (string) — Chat group identifier.\n - chat_name (string) — Chat group display name.\n - data_source_id (integer) — Integration data source ID used to send the notification.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - comment (string) — Comment body.\n - comment_type (object) — Resolved display of an account-level comment type, populated at read time from the current type definition.\n - color (string) (required) — Badge color in #RRGGBB format.\n - id (string) (required) — Comment type ID (MongoDB ObjectID).\n - name (string) (required) — Display name of the comment type. (≤40 chars)\n - comment_type_id (string) — ObjectID of the account-level comment type attached to the comment.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - field_name (string) — Name of the custom field that was updated.\n - fire_type (string) — Whether this is the first fire or a refire. [fire, refire]\n - from (string) — Source that triggered the resolve action. [voice, console, card, wcard, event, autorslv, autorefresh, escalation]\n - from_description (string) — Description before the update.\n - from_priority (string) — Priority label before the update.\n - from_status (string) — Status label before the update.\n - from_title (string) — Title before the update.\n - from_type (string) — Work item type before the conversion. [action, follow_up]\n - id (string) — Opaque assignment ID generated by the server.\n - in_mins (integer) — Window length in minutes.\n - integration_id (integer) — Integration ID that executed the action.\n - integration_name (string) — Integration display name.\n - item_type (string) — Work item type. [action, follow_up]\n - layer_idx (integer) — Current level index within the escalation rule.\n - max_changes (integer) — Maximum state changes allowed within the window.\n - minutes (integer) — Snooze duration in minutes.\n - msg_id (string) — Upstream message ID returned by the delivery channel.\n - mute_mins (integer) — Mute duration in minutes once flapping is detected.\n - mute_reply (boolean) — Whether replies to this comment are muted.\n - owner_id (integer) — Member ID that performed the merge.\n - person_ids (array) — Member IDs to assign directly.\n - persons (array) — Per-person delivery records.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - person_id (integer) — Recipient member ID.\n - plugin_type (string) — Chat integration plugin type.\n - post_mortem_id (string) — ID of the post-mortem the work item is bound to.\n - progress (string) — Progress note entered at acknowledgement.\n - reason (string) — Reason why the incident was reopened.\n - remove_source_incidents (boolean) — True if the source incidents were removed after merging.\n - removed_assignee_ids (array) — Member IDs removed from assignees.\n - reporter_email (string) — Email of the reporter when the incident was created externally.\n - rid (string) — Notification record ID.\n - robots (array) — Per-robot delivery records.\n - alias (string) — Robot alias.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - token (string) — Robot token or identifier.\n - severity (string) — Severity level. [Ok, Critical, Warning, Info]\n - share_link (string) — Shareable join link for the war room.\n - snoozedBefore (integer) — Unix timestamp at which the prior snooze was scheduled to end.\n - source_incidents (array) — Source incidents that were merged.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - source_responders (array) — Responder member IDs carried over from the source incidents.\n - status (string) — Work item status label (e.g. `open`, `done`).\n - target_incident (object) — Brief incident reference embedded in an alert.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - threshold (integer) — Storm threshold that was reached.\n - title (string) — Initial incident title.\n - to (array) — Member IDs that received the assignment.\n - to_description (string) — Description after the update.\n - to_priority (string) — Priority label after the update.\n - to_status (string) — Status label after the update.\n - to_type (string) — Work item type after the conversion. [action, follow_up]\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - work_item_id (string) — Work item ID.\n - ref_id (string) (required) — ObjectID of the source alert or incident this entry references.\n - type (string) (required) — Incident timeline entry type. Each value identifies one lifecycle event; the matching `detail` payload shape is determined by this field. Incident types are prefixed with `i_`. | Type | Meaning | |---|---| | `i_new` | Incident Created: A new incident was created automatically or manually. | | `i_assign` | Assigned: Incident was assigned to responders. | | `i_a_rspd` | Responder Added: Additional responders joined the incident. | | `i_notify` | Notification dispatched through a channel at a specific escalation level. | | `i_storm` | Alert storm threshold reached on the incident. | | `i_snooze` | Notifications snoozed for a given duration. | | `i_wake` | Snooze cancelled and notifications resumed. | | `i_ack` | Acknowledged: Responder confirmed they are working on the incident. | | `i_unack` | Acknowledgement removed. | | `i_comm` | Comment: Responder logged progress or key information. | | `i_rslv` | Resolved: Incident was marked as resolved. | | `i_reopen` | Reopened: Resolved incident was reopened, possibly due to recurrence. | | `i_merge` | Merged: Multiple related incidents were merged into one. | | `i_r_title` | Title updated. | | `i_r_desc` | Description updated. | | `i_r_impact` | Impact updated. | | `i_r_rc` | Root cause updated. | | `i_r_rsltn` | Resolution updated. | | `i_r_severity` | Severity Changed: Incident severity level was adjusted. | | `i_r_field` | Custom field value updated. | | `i_m_flapping` | Incident muted by flapping detection. | | `i_m_reply` | Mute reply marker on a comment. | | `i_custom` | Action: Automated action or script was triggered. | | `i_wr_create` | War Room Created: Chat group was created for collaborative response. | | `i_wr_delete` | War room chat group deleted. | | `i_auto_refresh` | Card auto-refresh event posted back to the timeline. | | `i_wi_created` | Work Item Created: An Action or Follow-up was created. | | `i_wi_updated` | Work Item Updated: Title, description, status, or priority was changed. | | `i_wi_assignees` | Work Item Assignees Changed: Assignees were updated. | | `i_wi_completed` | Work Item Completed: An assignee marked the work item complete. | | `i_wi_converted` | Work Item Converted: An Action was converted to a Follow-up. | | `i_wi_bound` | Work Item Bound: A converted Follow-up was bound to a post-mortem. | | `i_wi_deleted` | Work Item Deleted: An Action or Follow-up was soft-deleted. | | `a_merge` | Alert Merged: An alert was merged into an existing incident. | [i_new, i_assign, i_a_rspd, i_notify, i_storm, i_snooze, i_wake, i_ack, i_unack, i_comm, i_rslv, i_reopen, i_merge, i_r_title, i_r_desc, i_r_impact, i_r_rc, i_r_rsltn, i_r_severity, i_r_field, i_m_flapping, i_m_reply, i_custom, i_wr_create, i_wr_delete, i_auto_refresh, i_wi_created, i_wi_updated, i_wi_assignees, i_wi_completed, i_wi_converted, i_wi_bound, i_wi_deleted, a_merge]\n - updated_at (integer) (required) — Last update timestamp in milliseconds.\n", - "Incidents.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Alert description.\n - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed.\n - start_time (integer) (required) — Unix timestamp (seconds) when the incident started.\n - title (string) (required) — Incident title.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Alert description.\n - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed.\n - start_time (integer) (required) — Unix timestamp (seconds) when the incident started.\n - title (string) (required) — Incident title.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.ListByIDs": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Alert description.\n - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed.\n - start_time (integer) (required) — Unix timestamp (seconds) when the incident started.\n - title (string) (required) — Incident title.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.PastList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (integer) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Alert description.\n - end_time (integer) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (integer) — Record creation time, Unix epoch seconds.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (integer) — Event timestamp, Unix epoch seconds.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (integer) — Record update time, Unix epoch seconds.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent event.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (integer) (required) — Unix timestamp (seconds) when the alert first fired.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (integer) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (integer) — Soft-delete timestamp (seconds). Zero if not deleted.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (integer) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (integer) (required) — Unix timestamp (seconds) of the most recent update.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - score (number) (required) — Similarity score from the vector search.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (integer) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed.\n - start_time (integer) (required) — Unix timestamp (seconds) when the incident started.\n - title (string) (required) — Incident title.\n - updated_at (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.PostMortemInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - basics (object) (required)\n - incidents_earliest_start_seconds (integer) (required) — Earliest start time among linked incidents (seconds).\n - incidents_highest_severity (string) (required) — Highest severity among linked incidents.\n - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds).\n - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds.\n - responders (array) (required) — Responders involved in the incident(s).\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - content (object) (required)\n - content (string) (required) — Report body content (BlockNote JSON).\n - follow_ups (string) (required) — Follow-up action items rendered as a single string.\n - meta (object) (required) — Post-mortem metadata (lightweight shape used in lists).\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (integer) (required) — Creation timestamp (seconds).\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.PostMortemList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (integer) (required) — Creation timestamp (seconds).\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (integer) (required) — Last update timestamp (seconds).\n", + "Incidents.Feed": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - created_at (string) (required) — Creation timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — User ID of the actor. `0` means system-generated.\n - deleted_at (string) — Soft-delete timestamp (ms). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - detail (object) (required) — Type-specific payload. The concrete shape is determined by `type`.\n - added_assignee_ids (array) — Member IDs added as assignees.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - assignee_ids (array) — Assignee member IDs.\n - by (string) — Delivery channel or method label.\n - chat_id (string) — Chat group identifier.\n - chat_name (string) — Chat group display name.\n - chats (array) — Per-chat delivery records.\n - chat_id (string) — Chat group identifier.\n - chat_name (string) — Chat group display name.\n - data_source_id (integer) — Integration data source ID used to send the notification.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - comment (string) — Comment body.\n - comment_type (object) — Resolved display of an account-level comment type, populated at read time from the current type definition.\n - color (string) (required) — Badge color in #RRGGBB format.\n - id (string) (required) — Comment type ID (MongoDB ObjectID).\n - name (string) (required) — Display name of the comment type. (≤40 chars)\n - comment_type_id (string) — ObjectID of the account-level comment type attached to the comment.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - field_name (string) — Name of the custom field that was updated.\n - fire_type (string) — Whether this is the first fire or a refire. [fire, refire]\n - from (string) — Source that triggered the resolve action. [voice, console, card, wcard, event, autorslv, autorefresh, escalation]\n - from_description (string) — Description before the update.\n - from_priority (string) — Priority label before the update.\n - from_status (string) — Status label before the update.\n - from_title (string) — Title before the update.\n - from_type (string) — Work item type before the conversion. [action, follow_up]\n - id (string) — Opaque assignment ID generated by the server.\n - in_mins (integer) — Window length in minutes.\n - integration_id (integer) — Integration ID that executed the action.\n - integration_name (string) — Integration display name.\n - item_type (string) — Work item type. [action, follow_up]\n - layer_idx (integer) — Current level index within the escalation rule.\n - max_changes (integer) — Maximum state changes allowed within the window.\n - minutes (integer) — Snooze duration in minutes.\n - msg_id (string) — Upstream message ID returned by the delivery channel.\n - mute_mins (integer) — Mute duration in minutes once flapping is detected.\n - mute_reply (boolean) — Whether replies to this comment are muted.\n - owner_id (integer) — Member ID that performed the merge.\n - person_ids (array) — Member IDs to assign directly.\n - persons (array) — Per-person delivery records.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - person_id (integer) — Recipient member ID.\n - plugin_type (string) — Chat integration plugin type.\n - post_mortem_id (string) — ID of the post-mortem the work item is bound to.\n - progress (string) — Progress note entered at acknowledgement.\n - reason (string) — Reason why the incident was reopened.\n - remove_source_incidents (boolean) — True if the source incidents were removed after merging.\n - removed_assignee_ids (array) — Member IDs removed from assignees.\n - reporter_email (string) — Email of the reporter when the incident was created externally.\n - rid (string) — Notification record ID.\n - robots (array) — Per-robot delivery records.\n - alias (string) — Robot alias.\n - failed_reason (string) — Failure reason if delivery did not succeed.\n - token (string) — Robot token or identifier.\n - severity (string) — Severity level. [Ok, Critical, Warning, Info]\n - share_link (string) — Shareable join link for the war room.\n - snoozedBefore (integer) — Unix timestamp at which the prior snooze was scheduled to end.\n - source_incidents (array) — Source incidents that were merged.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - source_responders (array) — Responder member IDs carried over from the source incidents.\n - status (string) — Work item status label (e.g. `open`, `done`).\n - target_incident (object) — Brief incident reference embedded in an alert.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - threshold (integer) — Storm threshold that was reached.\n - title (string) — Initial incident title.\n - to (array) — Member IDs that received the assignment.\n - to_description (string) — Description after the update.\n - to_priority (string) — Priority label after the update.\n - to_status (string) — Status label after the update.\n - to_type (string) — Work item type after the conversion. [action, follow_up]\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - work_item_id (string) — Work item ID.\n - ref_id (string) (required) — ObjectID of the source alert or incident this entry references.\n - type (string) (required) — Incident timeline entry type. Each value identifies one lifecycle event; the matching `detail` payload shape is determined by this field. Incident types are prefixed with `i_`. | Type | Meaning | |---|---| | `i_new` | Incident Created: A new incident was created automatically or manually. | | `i_assign` | Assigned: Incident was assigned to responders. | | `i_a_rspd` | Responder Added: Additional responders joined the incident. | | `i_notify` | Notification dispatched through a channel at a specific escalation level. | | `i_storm` | Alert storm threshold reached on the incident. | | `i_snooze` | Notifications snoozed for a given duration. | | `i_wake` | Snooze cancelled and notifications resumed. | | `i_ack` | Acknowledged: Responder confirmed they are working on the incident. | | `i_unack` | Acknowledgement removed. | | `i_comm` | Comment: Responder logged progress or key information. | | `i_rslv` | Resolved: Incident was marked as resolved. | | `i_reopen` | Reopened: Resolved incident was reopened, possibly due to recurrence. | | `i_merge` | Merged: Multiple related incidents were merged into one. | | `i_r_title` | Title updated. | | `i_r_desc` | Description updated. | | `i_r_impact` | Impact updated. | | `i_r_rc` | Root cause updated. | | `i_r_rsltn` | Resolution updated. | | `i_r_severity` | Severity Changed: Incident severity level was adjusted. | | `i_r_field` | Custom field value updated. | | `i_m_flapping` | Incident muted by flapping detection. | | `i_m_reply` | Mute reply marker on a comment. | | `i_custom` | Action: Automated action or script was triggered. | | `i_wr_create` | War Room Created: Chat group was created for collaborative response. | | `i_wr_delete` | War room chat group deleted. | | `i_auto_refresh` | Card auto-refresh event posted back to the timeline. | | `i_wi_created` | Work Item Created: An Action or Follow-up was created. | | `i_wi_updated` | Work Item Updated: Title, description, status, or priority was changed. | | `i_wi_assignees` | Work Item Assignees Changed: Assignees were updated. | | `i_wi_completed` | Work Item Completed: An assignee marked the work item complete. | | `i_wi_converted` | Work Item Converted: An Action was converted to a Follow-up. | | `i_wi_bound` | Work Item Bound: A converted Follow-up was bound to a post-mortem. | | `i_wi_deleted` | Work Item Deleted: An Action or Follow-up was soft-deleted. | | `a_merge` | Alert Merged: An alert was merged into an existing incident. | [i_new, i_assign, i_a_rspd, i_notify, i_storm, i_snooze, i_wake, i_ack, i_unack, i_comm, i_rslv, i_reopen, i_merge, i_r_title, i_r_desc, i_r_impact, i_r_rc, i_r_rsltn, i_r_severity, i_r_field, i_m_flapping, i_m_reply, i_custom, i_wr_create, i_wr_delete, i_auto_refresh, i_wi_created, i_wi_updated, i_wi_assignees, i_wi_completed, i_wi_converted, i_wi_bound, i_wi_deleted, a_merge]\n - updated_at (string) (required) — Last update timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Alert description.\n - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - alt (string) — Alt text.\n - href (string) — Optional link URL when the image is clicked.\n - src (string) (required) — Image source URL or internal image reference (starts with `img_` or `http`).\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Incident title.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Alert description.\n - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Incident title.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.ListByIDs": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Alert description.\n - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Incident title.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PastList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the incident.\n - account_locale (string) (required) — Account locale.\n - account_name (string) (required) — Account name.\n - account_time_zone (string) (required) — Account time zone.\n - ack_time (string) (required) — Unix timestamp (seconds) when the incident was first acknowledged. 0 if unacknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - active_alert_cnt (integer) (required) — Count of alerts currently in Critical/Warning/Info state.\n - ai_summary (string) (required) — AI-generated summary of the incident.\n - alert_cnt (integer) (required) — Total count of alerts merged into this incident.\n - alert_event_cnt (integer) (required) — Total raw alert event count across all merged alerts.\n - alerts (array) — Embedded alerts, only populated for notification templates and custom actions.\n - account_id (integer) (required) — Account ID.\n - alert_id (string) (required) — Alert ID (MongoDB ObjectID).\n - alert_key (string) (required) — Deduplication key used to merge events into the alert.\n - alert_severity (string) (required) — Current severity. [Critical, Warning, Info, Ok]\n - alert_status (string) (required) — Current status. [Critical, Warning, Info, Ok]\n - channel_id (integer) (required) — Channel ID.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) (required) — Deprecated. Use `integration_id` instead.\n - data_source_name (string) (required) — Deprecated. Use `integration_name`.\n - data_source_ref_id (string) (required) — Deprecated. Use `integration_ref_id`.\n - data_source_type (string) — Deprecated. Use `integration_type`.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Alert description.\n - end_time (string) (required) — Unix timestamp (seconds) when the alert recovered. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - event_cnt (integer) (required) — Total number of raw events merged into this alert.\n - events (array) — Raw alert event preview, populated only when requested. Capped at the 20 newest events per alert.\n - account_id (integer) — Account ID.\n - alert_id (string) — Parent alert ID (MongoDB ObjectID).\n - alert_key (string) — Deduplication key used to merge events into an alert.\n - channel_id (integer) — Channel ID the event is routed to.\n - created_at (string) — Record creation time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description.\n - event_id (string) — Event ID (MongoDB ObjectID).\n - event_severity (string) — Severity of this event. [Critical, Warning, Info, Ok]\n - event_status (string) — Status of this event. [Critical, Warning, Info, Ok]\n - event_time (string) — Event timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - images (array) — Images attached to the event.\n - integration_id (integer) — Integration that produced this event.\n - integration_type (string) — Type/plugin key of the integration that produced this event.\n - labels (object) — Label key-value pairs.\n - title (string) — Event title.\n - title_rule (string) — Title template used to derive `title` from labels.\n - updated_at (string) — Record update time, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - ever_muted (boolean) (required) — Whether this alert has ever been silenced.\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - incident (object) — Parent incident reference, if the alert has been merged into one.\n - incident_id (string) — Incident ID (ObjectID hex string).\n - progress (string) — Incident progress — one of `Triggered`, `Processing`, `Closed`.\n - title (string) — Incident title.\n - integration_id (integer) (required) — Integration ID that produced the alert.\n - integration_name (string) (required) — Integration display name.\n - integration_ref_id (string) (required) — Integration reference ID.\n - integration_type (string) (required) — Integration type string.\n - labels (object) (required) — Alert labels.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - responder_email (string) (required) — Primary responder email, if any.\n - responder_name (string) (required) — Primary responder name, if any.\n - start_time (string) (required) — Unix timestamp (seconds) when the alert first fired. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Alert title.\n - title_rule (string) (required) — Title rendering rule.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - assigned_to (object) (required) — Current assignment target for the incident.\n - assigned_at (integer) — Unix timestamp (seconds) when the assignment was made.\n - emails (array) — Email recipients, used by integrations such as ServiceNow.\n - escalate_rule_id (string) — Escalation rule ID (MongoDB ObjectID) to drive assignment.\n - escalate_rule_name (string) — Escalation rule display name, filled by the server.\n - id (string) — Opaque assignment ID generated by the server.\n - layer_idx (integer) — Current level index within the escalation rule.\n - person_ids (array) — Member IDs to assign directly.\n - type (string) — Assignment type: `assign` direct assignment, `reassign` reassignment, `escalate` escalation-rule driven, `reopen` automatic reassignment on reopen. [assign, reassign, escalate, reopen]\n - channel_id (integer) (required) — Channel ID. 0 for standalone incidents.\n - channel_name (string) (required) — Channel display name.\n - channel_status (string) (required) — Channel status.\n - close_time (string) (required) — Unix timestamp (seconds) when the incident was closed. 0 if still open. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - closer (object) — Closer member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - closer_id (integer) (required) — Member ID that closed the incident. 0 if auto-closed.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator (object) — Creator member info.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - creator_id (integer) (required) — Member ID that created the incident. 0 if auto-created by the system.\n - data_source_id (integer) — Deprecated. Use `integration_id` instead.\n - data_source_ids (array) — Deprecated. Use `integration_ids` instead.\n - data_source_type (string) — Deprecated. Use `integration_type` instead.\n - data_source_types (array) — Deprecated. Use `integration_types` instead.\n - dedup_key (string) (required) — Deduplication key used to coalesce alerts.\n - deleted_at (string) — Soft-delete timestamp (seconds). Zero if not deleted. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Incident description.\n - detail_url (string) (required) — Web console URL for the incident.\n - end_time (string) (required) — Unix timestamp (seconds) when the incident ended. 0 if still active. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - equals_md5 (string) (required) — MD5 hash used for content-equality checks.\n - ever_muted (boolean) (required) — Whether the incident has ever been silenced.\n - fields (object) (required) — Custom field values keyed by field name.\n - frequency (string) — Frequency bucket for recurrence analysis: `frequent` or `rare`. [frequent, rare]\n - group_method (string) (required) — Alert grouping method: `i` intelligent, `p` pattern, `n` none. [i, p, n]\n - images (array) (required) — Attached images.\n - alt (string) — Alt text.\n - href (string) — Optional link the image points to.\n - src (string) (required) — Image source. Either an `img_` upload token or an `http(s)` URL.\n - impact (string) (required) — Impact description.\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID).\n - incident_severity (string) (required) — Configured incident severity. [Critical, Warning, Info, Ok]\n - incident_status (string) (required) — Current incident status, derived from alert statuses. [Critical, Warning, Info, Ok]\n - integration_id (integer) (required) — First integration associated with the incident.\n - integration_ids (array) (required) — All integration IDs contributing alerts to this incident.\n - integration_type (string) — First alert's integration type string, used by the detail page for label mappings.\n - integration_types (array) (required) — Integration type strings for all contributing integrations.\n - labels (object) (required) — Labels propagated from alerts.\n - last_time (string) (required) — Unix timestamp (seconds) of the most recent update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - links (array) — Channel-level link integrations rendered for this incident.\n - endpoint (string) (required) — Rendered URL for the link.\n - name (string) (required) — Display name of the link.\n - open_type (string) (required) — How the link should be opened. [popup, tab]\n - manual_overrides (array) (required) — Fields that were manually overridden after auto-population.\n - num (string) (required) — Short display identifier; not guaranteed unique.\n - owner (object) — Owner member info. May be deprecated.\n - as (string) — Role label for this member in the context of the current object.\n - email (string) — Member email address.\n - person_id (integer) — Member ID.\n - person_name (string) — Member display name.\n - owner_id (integer) (required) — Primary owner member ID. 0 if none.\n - post_mortem_id (string) (required) — Associated post-mortem ID, if any. One incident can only link to a single post-mortem.\n - progress (string) (required) — Incident progress state. [Triggered, Processing, Closed]\n - reporter_email (string) — Reporter email for manually created incidents.\n - resolution (string) (required) — Resolution notes.\n - responders (array) (required) — Current responders with assignment/acknowledgement state.\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - root_cause (string) (required) — Root cause analysis.\n - score (number) (required) — Similarity score from the vector search.\n - silence_url (string) (required) — Quick-silence URL for this incident.\n - snoozed_before (string) (required) — Unix timestamp (seconds) until which notifications are snoozed. 0 if not snoozed. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - start_time (string) (required) — Unix timestamp (seconds) when the incident started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - title (string) (required) — Incident title.\n - updated_at (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PostMortemInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - basics (object) (required)\n - incidents_earliest_start_seconds (integer) (required) — Earliest start time among linked incidents (seconds).\n - incidents_highest_severity (string) (required) — Highest severity among linked incidents.\n - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds).\n - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds.\n - responders (array) (required) — Responders involved in the incident(s).\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - content (object) (required)\n - content (string) (required) — Report body content (BlockNote JSON).\n - follow_ups (string) (required) — Follow-up action items rendered as a single string.\n - meta (object) (required) — Post-mortem metadata (lightweight shape used in lists).\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PostMortemList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Incidents.PostMortemWriteResetContent": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - generation (integer) (required) — New collaboration document generation after the reset.\n - markdown_bytes (integer) (required) — UTF-8 byte length of the accepted Markdown content.\n - markdown_sha256 (string) (required) — SHA-256 hex digest of the accepted Markdown content.\n - post_mortem_id (string) (required) — ID of the reset post-mortem report.\n - previous_generation (integer) (required) — Collaboration document generation before the reset.\n - previous_revision (integer) (required) — Content revision before the reset.\n - revision (integer) (required) — New content revision after the reset.\n", - "Incidents.PostmortemReadListTemplates": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated.\n", - "Incidents.PostmortemReadTemplateInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated.\n", - "Incidents.PostmortemWriteInit": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - basics (object) (required)\n - incidents_earliest_start_seconds (integer) (required) — Earliest start time among linked incidents (seconds).\n - incidents_highest_severity (string) (required) — Highest severity among linked incidents.\n - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds).\n - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds.\n - responders (array) (required) — Responders involved in the incident(s).\n - acknowledged_at (integer) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged.\n - as (string) — Role label of this responder.\n - assigned_at (integer) (required) — Unix timestamp (seconds) when the member was assigned.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - content (object) (required)\n - content (string) (required) — Report body content (BlockNote JSON).\n - follow_ups (string) (required) — Follow-up action items rendered as a single string.\n - meta (object) (required) — Post-mortem metadata (lightweight shape used in lists).\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (integer) (required) — Creation timestamp (seconds).\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (integer) (required) — Last update timestamp (seconds).\n", - "Incidents.PostmortemWriteUpsertTemplate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (integer) (required) — Unix timestamp in seconds when the template was created.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (integer) (required) — Unix timestamp in seconds when the template was last updated.\n", + "Incidents.PostmortemReadListTemplates": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PostmortemReadTemplateInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PostmortemWriteInit": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - basics (object) (required)\n - incidents_earliest_start_seconds (integer) (required) — Earliest start time among linked incidents (seconds).\n - incidents_highest_severity (string) (required) — Highest severity among linked incidents.\n - incidents_latest_close_seconds (integer) (required) — Latest close time among linked incidents (seconds).\n - incidents_total_duration_seconds (integer) (required) — Cumulative duration in seconds.\n - responders (array) (required) — Responders involved in the incident(s).\n - acknowledged_at (string) (required) — Unix timestamp (seconds) when the member acknowledged. 0 if not yet acknowledged. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - as (string) — Role label of this responder.\n - assigned_at (string) (required) — Unix timestamp (seconds) when the member was assigned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) — Member email, filled by the server.\n - person_id (integer) (required) — Responder member ID.\n - person_name (string) — Member display name, filled by the server.\n - content (object) (required)\n - content (string) (required) — Report body content (BlockNote JSON).\n - follow_ups (string) (required) — Follow-up action items rendered as a single string.\n - meta (object) (required) — Post-mortem metadata (lightweight shape used in lists).\n - account_id (integer) (required) — Account ID.\n - author_ids (array) (required) — Member IDs that contributed to the report.\n - channel_id (integer) (required) — Owning channel ID. 0 if none.\n - channel_name (string) (required) — Channel name, filled by the server.\n - created_at_seconds (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - generation (integer) (required) — Collaboration document generation. Incremented by each full content reset; 0 for legacy documents.\n - incident_ids (array) (required) — Linked incident IDs.\n - is_private (boolean) (required) — When true, only team members and admins can view.\n - media_count (integer) (required) — Number of uploaded media files.\n - post_mortem_id (string) (required) — Deterministic post-mortem ID derived from account and incident IDs.\n - revision (integer) (required) — Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets.\n - status (string) (required) — Report status. [drafting, published]\n - team_id (integer) (required) — Owning team ID. 0 if none.\n - template_id (string) (required) — Template used to initialize the report.\n - title (string) (required) — Report title.\n - updated_at_seconds (string) (required) — Last update timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Incidents.PostmortemWriteUpsertTemplate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns the template. 0 for built-in templates.\n - content (string) (required) — BlockNote JSON content used to initialize the report body.\n - content_markdown (string) (required) — Markdown version of the template content, used by AI generation.\n - created_at_seconds (string) (required) — Unix timestamp in seconds when the template was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Template description.\n - name (string) (required) — Template name shown in the console.\n - team_id (integer) (required) — Managing team ID. Built-in templates use 0.\n - template_id (string) (required) — Template ID. Built-in templates use a stable `post_mortem_default_tmpl_*` ID.\n - updated_at_seconds (string) (required) — Unix timestamp in seconds when the template was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Incidents.ReadGetWarRoomDefaultObservers": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - observers (array) — Historical responders suggested as default war-room observers.\n - account_id (integer) — Account this person belongs to.\n - as (string) — Role the person holds in the related context.\n - avatar (string) — URL of the person's avatar image.\n - email (string) — Email address of the person.\n - locale (string) — Preferred language locale of the person.\n - person_id (integer) — Person ID.\n - person_name (string) — Display name of the person.\n - phone (string) — Phone number of the person.\n - status (string) — Current status of the person.\n - time_zone (string) — Time zone of the person.\n", - "Incidents.ServiceDeskPlusRequestReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - channel_id (integer) (required) — Channel ID for the incident.\n - channel_name (string) (required) — Channel name for the incident.\n - created_at (integer) (required) — Mapping record creation time, Unix seconds.\n - error_message (string) — Error message when synchronization failed. Usually absent on successful records.\n - incident_id (string) (required) — Associated Flashduty incident ID.\n - incident_title (string) (required) — Associated incident title.\n - integration_id (integer) (required) — ServiceDeskPlus integration ID.\n - request_id (string) (required) — ServiceDeskPlus request ID.\n - request_link (string) (required) — ServiceDeskPlus request detail URL.\n - status (string) (required) — Synchronization status. [success, failed]\n", + "Incidents.ServiceDeskPlusRequestReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - channel_id (integer) (required) — Channel ID for the incident.\n - channel_name (string) (required) — Channel name for the incident.\n - created_at (string) (required) — Mapping record creation time, Unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - error_message (string) — Error message when synchronization failed. Usually absent on successful records.\n - incident_id (string) (required) — Associated Flashduty incident ID.\n - incident_title (string) (required) — Associated incident title.\n - integration_id (integer) (required) — ServiceDeskPlus integration ID.\n - request_id (string) (required) — ServiceDeskPlus request ID.\n - request_link (string) (required) — ServiceDeskPlus request detail URL.\n - status (string) (required) — Synchronization status. [success, failed]\n", "Incidents.WarRoomCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - chat_id (string) (required) — Chat/group ID on the IM side.\n - chat_name (string) (required) — Chat/group display name.\n - share_link (string) (required) — Join link for the war room, if provided by the IM.\n", "Incidents.WarRoomDetail": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - chat_id (string) (required) — Chat/group ID on the IM side.\n - chat_name (string) (required) — Chat/group display name.\n - share_link (string) (required) — Join link for the war room, if provided by the IM.\n", - "Incidents.WarRoomList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - chat_id (string) (required) — Chat/group ID on the IM side.\n - created_at (integer) (required) — Creation timestamp (seconds).\n - created_by (integer) (required) — Member ID that created the war room.\n - incident_id (string) (required) — Associated incident ID (MongoDB ObjectID).\n - integration_id (integer) (required) — IM integration ID.\n - plugin_type (string) (required) — IM plugin type (e.g. `feishu`, `dingtalk`, `wecom`, `slack`).\n - status (string) (required) — War room status.\n", - "Incidents.WorkItemBindPostMortem": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", - "Incidents.WorkItemComplete": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", - "Incidents.WorkItemConvert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", - "Incidents.WorkItemCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key and no new item was created.\n - item (object) (required) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", - "Incidents.WorkItemList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", - "Incidents.WorkItemResetAssignees": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", - "Incidents.WorkItemUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (integer) — Conversion time as a Unix timestamp in seconds. Present only after conversion.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (integer) (required) — Creation time as a Unix timestamp in seconds.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (integer) (required) — Last update time as a Unix timestamp in seconds.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", + "Incidents.WarRoomList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - chat_id (string) (required) — Chat/group ID on the IM side.\n - created_at (string) (required) — Creation timestamp (seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the war room.\n - incident_id (string) (required) — Associated incident ID (MongoDB ObjectID).\n - integration_id (integer) (required) — IM integration ID.\n - plugin_type (string) (required) — IM plugin type (e.g. `feishu`, `dingtalk`, `wecom`, `slack`).\n - status (string) (required) — War room status.\n", + "Incidents.WorkItemBindPostMortem": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", + "Incidents.WorkItemComplete": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", + "Incidents.WorkItemConvert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", + "Incidents.WorkItemCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key and no new item was created.\n - item (object) (required) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", + "Incidents.WorkItemList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n", + "Incidents.WorkItemResetAssignees": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", + "Incidents.WorkItemUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - added_assignee_ids (array) — Assignee member IDs that were newly added (and notified).\n - idempotent_replay (boolean) — True when the call replayed an earlier request with the same idempotency key.\n - item (object) — A structured incident work item (action or post-mortem follow-up) with its assignees.\n - assignee_ids (array) (required) — Member IDs of the current assignees. Never null; an empty array means unassigned.\n - converted_at_seconds (string) — Conversion time as a Unix timestamp in seconds. Present only after conversion. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - converted_by (integer) — Member ID of the operator who converted the action into a follow-up. Present only after conversion.\n - created_at_seconds (string) (required) — Creation time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID of the creator.\n - description (string) — Optional longer description (max 65,535 characters). (≤65535 chars)\n - incident_id (string) (required) — Incident ID (MongoDB ObjectID) the item is anchored to.\n - item_type (string) (required) — `action` for an item anchored to an active incident; `follow_up` for a post-mortem follow-up. [action, follow_up]\n - legacy_source_id (string) — Original identifier of the legacy follow-up this item was migrated from. Present only when `source_kind` is `legacy_follow_up`.\n - post_mortem_id (string) — Post-mortem ID (32-character hex string). Present on follow-up items once bound to a post-mortem.\n - priority (string) — Optional client-defined priority (max 64 characters). (≤64 chars)\n - source_kind (string) (required) — `native` for items created through this API; `legacy_follow_up` for items migrated from legacy post-mortem follow-ups. [native, legacy_follow_up]\n - status (string) (required) — Client-defined status (max 64 characters). There is no fixed state machine. (≤64 chars)\n - title (string) (required) — Item title (max 512 characters). (≤512 chars)\n - updated_at_seconds (string) (required) — Last update time as a Unix timestamp in seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last updater.\n - version (integer) (required) — Optimistic-locking version, incremented on every mutation.\n - work_item_id (string) (required) — Work item ID (opaque string, max 128 characters). (≤128 chars)\n - removed_assignee_ids (array) — Assignee member IDs that were removed (never notified).\n", "Integrations.DatasourceImPersonTryLink": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - new_linked_person_ids (array) (required) — Person IDs newly linked during this call.\n", "Integrations.Detail": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - attempt (integer) (required) — Attempt sequence number.\n - channel_id (integer) — Channel ID when applicable.\n - channel_name (string) — Name of the associated channel, resolved at query time.\n - duration (integer) (required) — Total elapsed time of the attempt in milliseconds.\n - endpoint (string) (required) — Destination URL.\n - error_message (string) — Error message when delivery failed.\n - event_id (string) (required) — Event ID.\n - event_time (string) (required) — Event time as a formatted timestamp string.\n - event_type (string) (required) — Event type.\n - integration_id (integer) (required) — Integration ID.\n - ref_id (string) — Source object ID.\n - ref_title (string) — Title of the source incident or alert, resolved at query time.\n - request_body (string) — Outbound request body payload.\n - request_headers (string) — Serialized outbound request headers.\n - response_body (string) — Response body.\n - response_headers (string) — Serialized response headers.\n - status (string) (required) — Delivery outcome. [success, failed]\n - status_code (integer) (required) — HTTP status code.\n - webhook_type (string) (required) — Source object kind. `incident` or `alert`.\n", "Integrations.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - attempt (integer) (required) — Attempt sequence number.\n - channel_id (integer) — Channel ID associated with the event, when applicable.\n - duration (integer) (required) — Total elapsed time of the attempt in milliseconds.\n - endpoint (string) (required) — Destination URL.\n - error_message (string) — Error message when delivery failed.\n - event_id (string) (required) — Unique event identifier for the delivery attempt.\n - event_time (string) (required) — Event time as a formatted timestamp string.\n - event_type (string) (required) — Event type (e.g. `created`, `acknowledged`, `closed`).\n - integration_id (integer) (required) — Integration ID that triggered the webhook.\n - ref_id (string) — Source object ID (incident ID or alert ID).\n - request_body (string) — Outbound request body payload.\n - request_headers (string) — Serialized outbound request headers.\n - response_body (string) — Response body returned by the destination.\n - response_headers (string) — Serialized response headers from the destination.\n - status (string) (required) — Delivery outcome. [success, failed]\n - status_code (integer) (required) — HTTP status code returned by the destination.\n - webhook_type (string) (required) — Source object kind. `incident` or `alert`.\n", "IssuePresetSeverityRules.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - priority (integer) (required) — Evaluation order assigned to the new rule (always the current lowest precedence, i.e. current max + 1).\n - rule_id (string) (required) — ID of the newly created rule.\n - rule_name (string) (required) — Echo of the rule's display name.\n", - "IssuePresetSeverityRules.HistoryList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - rules (array) (required) — Full rule set captured immediately before the mutation that produced this snapshot. Empty for the very first snapshot.\n - account_id (integer) (required) — Account ID the rule belongs to.\n - application_id (string) (required) — RUM application ID the rule belongs to.\n - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created.\n - created_by (integer) (required) — Member ID who originally created the rule.\n - deleted_at (integer) (required) — Unix timestamp in milliseconds the rule was soft-deleted; `0` means not deleted. Always `0` in practice, since deleted rules are excluded before a snapshot is taken.\n - description (string) (required) — Rule description. May be empty.\n - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches.\n - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash]\n - oper (string) (required) — Match semantics: `IN` matches when the field's value matches any of `vals`; `NOTIN` matches when it matches none of them (and matches when the field is absent). [IN, NOTIN]\n - vals (array) (required) — Values to match against. Each entry supports exact string match, wildcard (`*`/`?`), regex (wrap in `/.../`), CIDR (`cidr:10.0.0.0/8`) for IP-shaped values, or numeric comparison (`num:gt:100`, `num:le:50`, etc.).\n - id (integer) (required) — Internal auto-increment row ID. Not stable across a history revert — reverting reinserts rows with new IDs.\n - priority (integer) (required) — Evaluation order at snapshot time; `1` is highest precedence.\n - rule_id (string) (required) — Unique rule ID.\n - rule_name (string) (required) — Rule display name.\n - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info]\n - status (string) (required) — Rule status at snapshot time. [enabled, disabled]\n - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated.\n - updated_by (integer) (required) — Member ID who last updated the rule as of snapshot time.\n - updated_at (integer) (required) — Unix timestamp in milliseconds when the snapshot was written.\n - updated_by (integer) (required) — Member ID who triggered the mutation this snapshot precedes.\n - updated_by_name (string) (required) — Display name of `updated_by` at the time of the change.\n - version (integer) (required) — Monotonically increasing snapshot version number, starting at 1.\n", - "IssuePresetSeverityRules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Unix timestamp in milliseconds when the rule was created.\n - description (string) (required) — Rule description. May be empty.\n - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches.\n - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash]\n - oper (string) (required) — Match semantics: `IN` matches when the field's value matches any of `vals`; `NOTIN` matches when it matches none of them (and matches when the field is absent). [IN, NOTIN]\n - vals (array) (required) — Values to match against. Each entry supports exact string match, wildcard (`*`/`?`), regex (wrap in `/.../`), CIDR (`cidr:10.0.0.0/8`) for IP-shaped values, or numeric comparison (`num:gt:100`, `num:le:50`, etc.).\n - priority (integer) (required) — Evaluation order among the application's rules. `1` is evaluated first (highest precedence); the first enabled rule whose filters match wins.\n - rule_id (string) (required) — Unique rule ID.\n - rule_name (string) (required) — Rule display name.\n - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info]\n - status (string) (required) — Only enabled rules are evaluated against incoming errors. [enabled, disabled]\n - updated_at (integer) (required) — Unix timestamp in milliseconds when the rule was last updated.\n", - "Issues.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - age (integer)\n - application_id (string)\n - application_name (string)\n - created_at (integer)\n - error (object)\n - message (string)\n - type (string)\n - error_count (integer) — Total error occurrences.\n - first_seen (object)\n - timestamp (integer)\n - version (string)\n - is_crash (boolean) — Whether the error caused an app crash.\n - issue_id (string) — Unique issue ID.\n - last_seen (object)\n - timestamp (integer)\n - version (string)\n - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred.\n - regressed_at (integer) — Timestamp when the regression was detected.\n - regressed_at_version (string) — Application version in which the regression was observed.\n - resolved_at (integer) — Timestamp of the previous resolution before the regression.\n - resolved_at (integer)\n - resolved_by (integer)\n - service (string)\n - session_count (integer) — Affected user sessions.\n - severity (string) — Issue severity level.\n - status (string) [for_review, reviewed, ignored, resolved]\n - suspected_cause (object)\n - person_id (integer)\n - reason (string)\n - source (string) [auto, user]\n - value (string) [api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown]\n - team_id (integer)\n - updated_at (integer)\n - versions (array)\n", - "Issues.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - age (integer)\n - application_id (string)\n - application_name (string)\n - created_at (integer)\n - error (object)\n - message (string)\n - type (string)\n - error_count (integer) — Total error occurrences.\n - first_seen (object)\n - timestamp (integer)\n - version (string)\n - is_crash (boolean) — Whether the error caused an app crash.\n - issue_id (string) — Unique issue ID.\n - last_seen (object)\n - timestamp (integer)\n - version (string)\n - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred.\n - regressed_at (integer) — Timestamp when the regression was detected.\n - regressed_at_version (string) — Application version in which the regression was observed.\n - resolved_at (integer) — Timestamp of the previous resolution before the regression.\n - resolved_at (integer)\n - resolved_by (integer)\n - service (string)\n - session_count (integer) — Affected user sessions.\n - severity (string) — Issue severity level.\n - status (string) [for_review, reviewed, ignored, resolved]\n - suspected_cause (object)\n - person_id (integer)\n - reason (string)\n - source (string) [auto, user]\n - value (string) [api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown]\n - team_id (integer)\n - updated_at (integer)\n - versions (array)\n", - "Knowledge.FileReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - content_b64 (string) (required) — Base64-encoded file content; decodes to UTF-8 text.\n - file (object) (required) — Metadata of one file inside a knowledge pack. Content is fetched separately via file/get.\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n", - "Knowledge.FileReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - files (array) (required)\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - total (integer) (required) — Total number of files in the pack.\n", + "IssuePresetSeverityRules.HistoryList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - rules (array) (required) — Full rule set captured immediately before the mutation that produced this snapshot. Empty for the very first snapshot.\n - account_id (integer) (required) — Account ID the rule belongs to.\n - application_id (string) (required) — RUM application ID the rule belongs to.\n - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID who originally created the rule.\n - deleted_at (string) (required) — Unix timestamp in milliseconds the rule was soft-deleted; `0` means not deleted. Always `0` in practice, since deleted rules are excluded before a snapshot is taken. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description. May be empty.\n - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches.\n - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash]\n - oper (string) (required) — Match semantics: `IN` matches when the field's value matches any of `vals`; `NOTIN` matches when it matches none of them (and matches when the field is absent). [IN, NOTIN]\n - vals (array) (required) — Values to match against. Each entry supports exact string match, wildcard (`*`/`?`), regex (wrap in `/.../`), CIDR (`cidr:10.0.0.0/8`) for IP-shaped values, or numeric comparison (`num:gt:100`, `num:le:50`, etc.).\n - id (integer) (required) — Internal auto-increment row ID. Not stable across a history revert — reverting reinserts rows with new IDs.\n - priority (integer) (required) — Evaluation order at snapshot time; `1` is highest precedence.\n - rule_id (string) (required) — Unique rule ID.\n - rule_name (string) (required) — Rule display name.\n - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info]\n - status (string) (required) — Rule status at snapshot time. [enabled, disabled]\n - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID who last updated the rule as of snapshot time.\n - updated_at (string) (required) — Unix timestamp in milliseconds when the snapshot was written. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID who triggered the mutation this snapshot precedes.\n - updated_by_name (string) (required) — Display name of `updated_by` at the time of the change.\n - version (integer) (required) — Monotonically increasing snapshot version number, starting at 1.\n", + "IssuePresetSeverityRules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Unix timestamp in milliseconds when the rule was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Rule description. May be empty.\n - filters (array>) (required) — OR-of-ANDs filter structure: the outer array is OR'd, each inner array is AND'd. A rule matches an error when at least one inner AND-group fully matches.\n - key (string) (required) — Filter attribute key. Only these Error-level attributes are supported for preset severity rules. [error.usr_id, error.usr_email, error.view_url, error.view_url_path, error.error_type, error.error_message, error.env, error.service, error.device_type, error.os_name, error.browser_name, error.is_crash]\n - oper (string) (required) — Match semantics: `IN` matches when the field's value matches any of `vals`; `NOTIN` matches when it matches none of them (and matches when the field is absent). [IN, NOTIN]\n - vals (array) (required) — Values to match against. Each entry supports exact string match, wildcard (`*`/`?`), regex (wrap in `/.../`), CIDR (`cidr:10.0.0.0/8`) for IP-shaped values, or numeric comparison (`num:gt:100`, `num:le:50`, etc.).\n - priority (integer) (required) — Evaluation order among the application's rules. `1` is evaluated first (highest precedence); the first enabled rule whose filters match wins.\n - rule_id (string) (required) — Unique rule ID.\n - rule_name (string) (required) — Rule display name.\n - severity (string) (required) — Severity assigned to errors matching this rule. [Critical, Warning, Info]\n - status (string) (required) — Only enabled rules are evaluated against incoming errors. [enabled, disabled]\n - updated_at (string) (required) — Unix timestamp in milliseconds when the rule was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "Issues.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - age (integer)\n - application_id (string)\n - application_name (string)\n - created_at (integer)\n - error (object)\n - message (string)\n - type (string)\n - error_count (integer) — Total error occurrences.\n - first_seen (object)\n - timestamp (integer)\n - version (string)\n - is_crash (boolean) — Whether the error caused an app crash.\n - issue_id (string) — Unique issue ID.\n - last_seen (object)\n - timestamp (integer)\n - version (string)\n - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred.\n - regressed_at (string) — Timestamp when the regression was detected. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - regressed_at_version (string) — Application version in which the regression was observed.\n - resolved_at (string) — Timestamp of the previous resolution before the regression. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - resolved_at (integer)\n - resolved_by (integer)\n - service (string)\n - session_count (integer) — Affected user sessions.\n - severity (string) — Issue severity level.\n - status (string) [for_review, reviewed, ignored, resolved]\n - suspected_cause (object)\n - person_id (integer)\n - reason (string)\n - source (string) [auto, user]\n - value (string) [api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown]\n - team_id (integer)\n - updated_at (integer)\n - versions (array)\n", + "Issues.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - age (integer)\n - application_id (string)\n - application_name (string)\n - created_at (integer)\n - error (object)\n - message (string)\n - type (string)\n - error_count (integer) — Total error occurrences.\n - first_seen (object)\n - timestamp (integer)\n - version (string)\n - is_crash (boolean) — Whether the error caused an app crash.\n - issue_id (string) — Unique issue ID.\n - last_seen (object)\n - timestamp (integer)\n - version (string)\n - regression (object) — Regression metadata. Present only when a previously resolved issue re-occurred.\n - regressed_at (string) — Timestamp when the regression was detected. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - regressed_at_version (string) — Application version in which the regression was observed.\n - resolved_at (string) — Timestamp of the previous resolution before the regression. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - resolved_at (integer)\n - resolved_by (integer)\n - service (string)\n - session_count (integer) — Affected user sessions.\n - severity (string) — Issue severity level.\n - status (string) [for_review, reviewed, ignored, resolved]\n - suspected_cause (object)\n - person_id (integer)\n - reason (string)\n - source (string) [auto, user]\n - value (string) [api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown]\n - team_id (integer)\n - updated_at (integer)\n - versions (array)\n", + "Knowledge.FileReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - content_b64 (string) (required) — Base64-encoded file content; decodes to UTF-8 text.\n - file (object) (required) — Metadata of one file inside a knowledge pack. Content is fetched separately via file/get.\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n", + "Knowledge.FileReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - files (array) (required)\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - total (integer) (required) — Total number of files in the pack.\n", "Knowledge.FileWriteDelete": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - warnings (array)\n - code (string) (required) — Warning code. [unresolved_reference, still_referenced_by]\n - ref (string) — Single reference related to the warning.\n - refs (array) — Multiple references related to the warning.\n", - "Knowledge.FileWritePut": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - file (object) (required) — Metadata of one file inside a knowledge pack. Content is fetched separately via file/get.\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - warnings (array)\n - code (string) (required) — Warning code. [unresolved_reference, still_referenced_by]\n - ref (string) — Single reference related to the warning.\n - refs (array) — Multiple references related to the warning.\n", - "Knowledge.PackReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - files (array) (required)\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the file was last modified.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - pack (object) (required) — A knowledge pack — a versioned file tree staged into every AI SRE sandbox at session start. One pack exists per (account, scope, scope_id).\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified.\n - version (integer) (required) — Pack version, incremented on every file change.\n", - "Knowledge.PackReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - packs (array) (required)\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified.\n - version (integer) (required) — Pack version, incremented on every file change.\n - total (integer) (required) — Total number of packs after filtering, before pagination.\n", + "Knowledge.FileWritePut": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - file (object) (required) — Metadata of one file inside a knowledge pack. Content is fetched separately via file/get.\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - warnings (array)\n - code (string) (required) — Warning code. [unresolved_reference, still_referenced_by]\n - ref (string) — Single reference related to the warning.\n - refs (array) — Multiple references related to the warning.\n", + "Knowledge.PackReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - files (array) (required)\n - checksum (string) (required) — SHA-256 hex digest of the file content.\n - content_type (string) (required) — MIME type; inferred from the file extension when not set on upload.\n - file_id (string) (required) — File ID (`kfl_` prefix).\n - pack_id (string) (required) — ID of the knowledge pack that contains the file.\n - rel_path (string) (required) — Path relative to the pack root, e.g. `runbooks/restart.md`.\n - size_bytes (integer) (required) — File size in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the file was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Person ID of the member who last modified the file.\n - pack (object) (required) — A knowledge pack — a versioned file tree staged into every AI SRE sandbox at session start. One pack exists per (account, scope, scope_id).\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (integer) (required) — Pack version, incremented on every file change.\n", + "Knowledge.PackReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - packs (array) (required)\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (integer) (required) — Pack version, incremented on every file change.\n - total (integer) (required) — Total number of packs after filtering, before pagination.\n", "Knowledge.PackWriteDelete": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - ok (boolean) (required) — True when the pack was deleted.\n", - "Knowledge.PackWriteEnsure": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified.\n - version (integer) (required) — Pack version, incremented on every file change.\n", - "Knowledge.PackWriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was created.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (integer) (required) — Unix timestamp in milliseconds when the pack was last modified.\n - version (integer) (required) — Pack version, incremented on every file change.\n", - "Licenses.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Unix timestamp when a fixed license was assigned. `0` for temporary licenses.\n - person_id (integer) (required) — ID of the licensed person.\n - person_name (string) (required) — Display name of the licensed person.\n - type (string) (required) — License assignment type. `fixed` is explicitly assigned; `temporary` is held from the active license window. [fixed, temporary]\n - updated_at (integer) (required) — Unix timestamp when a fixed license was last changed. `0` for temporary licenses.\n - updated_by (integer) (required) — Person ID that last changed a fixed license. `0` for temporary licenses.\n", - "McpServers.ReadServerGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - url (string) — Server URL (sse / streamable-http transport).\n", - "McpServers.ReadServerList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - servers (array) (required) — MCP servers on this page.\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - url (string) — Server URL (sse / streamable-http transport).\n - total (integer) (required) — Total number of matching servers.\n", - "McpServers.WriteServerCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - url (string) — Server URL (sse / streamable-http transport).\n", - "McpServers.WriteServerUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - url (string) — Server URL (sse / streamable-http transport).\n", + "Knowledge.PackWriteEnsure": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (integer) (required) — Pack version, incremented on every file change.\n", + "Knowledge.PackWriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account that owns the pack.\n - can_edit (boolean) (required) — Whether the caller can edit this pack.\n - created_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Person ID of the member who created the pack.\n - file_count (integer) (required) — Number of files in the pack.\n - pack_id (string) (required) — Knowledge pack ID (`kpk_` prefix).\n - scope (string) (required) — Pack scope. `channel` is a legacy scope; new packs are `account` or `team`. [account, team, channel]\n - scope_id (integer) (required) — Scope owner: the account ID for `account` scope, the team ID for `team` scope.\n - team_name (string) — Display name of the owning team (team scope only); empty for account scope.\n - total_bytes (integer) (required) — Total size of all files in bytes.\n - updated_at_ms (string) (required) — Unix timestamp in milliseconds when the pack was last modified. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (integer) (required) — Pack version, incremented on every file change.\n", + "Licenses.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Unix timestamp when a fixed license was assigned. `0` for temporary licenses. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - person_id (integer) (required) — ID of the licensed person.\n - person_name (string) (required) — Display name of the licensed person.\n - type (string) (required) — License assignment type. `fixed` is explicitly assigned; `temporary` is held from the active license window. [fixed, temporary]\n - updated_at (string) (required) — Unix timestamp when a fixed license was last changed. `0` for temporary licenses. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Person ID that last changed a fixed license. `0` for temporary licenses.\n", + "McpServers.ReadServerGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - url (string) — Server URL (sse / streamable-http transport).\n", + "McpServers.ReadServerList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - servers (array) (required) — MCP servers on this page.\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - url (string) — Server URL (sse / streamable-http transport).\n - total (integer) (required) — Total number of matching servers.\n", + "McpServers.WriteServerCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - url (string) — Server URL (sse / streamable-http transport).\n", + "McpServers.WriteServerUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - ai_description (string) — LLM-generated description, preferred over `description` when present.\n - allow_insecure_oauth_http (boolean) — Allow this server's OAuth token exchange over plaintext HTTP; testing use only.\n - allow_insecure_tls_skip_verify (boolean) — Skip TLS certificate verification when connecting to this server; testing use only.\n - args (array) — Command arguments (stdio transport).\n - auth_mode (string) — Authentication mode. [shared, per_user_secret, per_user_oauth]\n - call_timeout (integer) (required) — Tool-call timeout in seconds (0 = server default, 60s).\n - can_edit (boolean) (required) — Whether the caller may edit this server.\n - command (string) — Executable command (stdio transport only).\n - connect_timeout (integer) (required) — Connection timeout in seconds (0 = server default, 10s).\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the server.\n - description (string) (required) — Server description.\n - env (object) — Environment variables (stdio transport). Secret values are masked.\n - environment_id (string) (required) — Runner ID when environment_kind is byoc; empty otherwise.\n - environment_kind (string) (required) — Runtime environment kind: empty for automatic selection, or `byoc` when pinned to a specific runner. `cloud` cannot be bound to an MCP server. [byoc]\n - headers (object) — HTTP headers (sse / streamable-http). Secret values are masked.\n - list_error (string) — Error message when the live tool list failed.\n - oauth_metadata (string) — JSON-encoded OAuth metadata (per_user_oauth mode).\n - proxy_url (string) — Outbound proxy URL used to reach the server.\n - secret_schema (string) — JSON-encoded secret schema (per_user_secret mode).\n - server_id (string) (required) — Unique MCP server ID (prefix `mcp_`).\n - server_name (string) (required) — MCP server name, unique within the account.\n - source_template_name (string) — Marketplace template this connector was installed from; empty for user-authored.\n - status (string) (required) — Server status. [enabled, disabled]\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tool_count (integer) — Number of tools in the live list.\n - tools (array) — Live tool list; populated by the get/test endpoints.\n - description (string) (required) — Tool description.\n - input_schema (object) — JSON Schema describing the tool's input parameters.\n - name (string) (required) — Tool name.\n - transport (string) (required) — Transport protocol. [stdio, sse, streamable-http]\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - url (string) — Server URL (sse / streamable-http transport).\n", "Members.MemberInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_avatar (string) — Account avatar URL\n - account_email (string) — Account email\n - account_id (integer) — Account ID\n - account_locale (string) — Account-level locale preference (e.g. zh-CN or en-US)\n - account_name (string) — Account name\n - account_role_ids (array) — Assigned role IDs\n - account_time_zone (string) — Account-level time zone (e.g. Asia/Shanghai)\n - avatar (string) — Member avatar URL\n - country_code (string) — Phone country code\n - domain (string) — Account domain\n - email (string) — Email address\n - email_verified (boolean) — Whether email is verified\n - is_external (boolean) — Whether provisioned via SSO\n - locale (string) — Locale preference\n - member_id (integer) — Member ID\n - member_name (string) — Member display name\n - phone (string) — Masked phone number\n - phone_verified (boolean) — Whether phone is verified\n - status (string) — Member status. `enabled` — active member; `pending` — invited but not yet accepted; `deleted` — removed from the organization. [enabled, pending, deleted]\n - time_zone (string) — Time zone\n", "Members.MemberInvite": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - member_id (integer) — Member ID\n - member_name (string) — Member display name\n", - "Members.MemberList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID\n - account_role_ids (array) (required) — Role IDs\n - avatar (string) (required) — Avatar URL\n - country_code (string) (required) — Phone country code\n - created_at (integer) (required) — Creation timestamp (Unix seconds)\n - email (string) (required) — Email address\n - email_verified (boolean) (required) — Email verified\n - is_external (boolean) (required) — Provisioned via SSO\n - locale (string) — Locale\n - member_id (integer) (required) — Member ID\n - member_name (string) (required) — Display name\n - phone (string) (required) — Masked phone number\n - phone_verified (boolean) (required) — Phone verified\n - ref_id (string) (required) — External reference ID\n - status (string) (required) — Member status. `enabled` — active member; `pending` — invited but not yet accepted; `deleted` — removed from the organization. [enabled, pending, deleted]\n - time_zone (string) — Time zone\n - updated_at (integer) (required) — Update timestamp (Unix seconds)\n", + "Members.MemberList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID\n - account_role_ids (array) (required) — Role IDs\n - avatar (string) (required) — Avatar URL\n - country_code (string) (required) — Phone country code\n - created_at (string) (required) — Creation timestamp (Unix seconds) CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - email (string) (required) — Email address\n - email_verified (boolean) (required) — Email verified\n - is_external (boolean) (required) — Provisioned via SSO\n - locale (string) — Locale\n - member_id (integer) (required) — Member ID\n - member_name (string) (required) — Display name\n - phone (string) (required) — Masked phone number\n - phone_verified (boolean) (required) — Phone verified\n - ref_id (string) (required) — External reference ID\n - status (string) (required) — Member status. `enabled` — active member; `pending` — invited but not yet accepted; `deleted` — removed from the organization. [enabled, pending, deleted]\n - time_zone (string) — Time zone\n - updated_at (string) (required) — Update timestamp (Unix seconds) CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Members.PersonInfos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID\n - as (string) — Login role (account/member)\n - avatar (string) — Avatar URL\n - email (string) — Email address\n - email_verified (boolean) (required) — Email verified\n - locale (string) — Locale\n - person_id (integer) (required) — Person ID\n - person_name (string) — Display name\n - phone (string) — Phone number\n - phone_verified (boolean) (required) — Phone verified\n - status (string) — Person status. `enabled` — active; `pending` — invited but not yet accepted; `deleted` — removed. [enabled, pending, deleted]\n - time_zone (string) — Time zone\n", - "NotificationTemplates.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — ID of the owning account.\n - created_at (integer) (required) — Unix epoch seconds the template was created.\n - creator_id (integer) (required) — Member ID of the creator.\n - deleted_at (integer) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live.\n - description (string) (required) — Free-form description.\n - dingtalk (string) (required) — DingTalk robot message template source.\n - dingtalk_app (string) (required) — DingTalk app message template source.\n - email (string) (required) — Email body template source (Go `html/template` syntax).\n - feishu (string) (required) — Feishu robot message template source.\n - feishu_app (string) (required) — Feishu app message template source.\n - feishu_app_card_table_enabled (boolean) (required) — Whether alert labels use table rendering in Feishu app cards.\n - incident_card_hidden_fields (object) — Incident-card fields to hide, keyed by IM app type. Only supported IM app types and field names are accepted.\n - slack (string) (required) — Slack robot message template source.\n - slack_app (string) (required) — Slack app message template source.\n - sms (string) (required) — SMS template source (Go `text/template` syntax).\n - status (string) (required) — Template lifecycle status. [enabled, disabled, deleted]\n - team_id (integer) (required) — ID of the team this template is scoped to, or 0 for account-wide.\n - teams_app (string) (required) — Microsoft Teams app message template source.\n - telegram (string) (required) — Telegram bot message template source.\n - template_id (string) (required) — Template ID.\n - template_name (string) (required) — Unique template name within the account.\n - updated_at (integer) (required) — Unix epoch seconds the template was last updated.\n - updated_by (integer) (required) — Member ID of the last editor.\n - voice (string) (required) — Voice call script template source.\n - wecom (string) (required) — WeCom robot message template source.\n - wecom_app (string) (required) — WeCom app message template source.\n - zoom (string) (required) — Zoom bot message template source.\n", - "NotificationTemplates.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — ID of the owning account.\n - created_at (integer) (required) — Unix epoch seconds the template was created.\n - creator_id (integer) (required) — Member ID of the creator.\n - deleted_at (integer) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live.\n - description (string) (required) — Free-form description.\n - dingtalk (string) (required) — DingTalk robot message template source.\n - dingtalk_app (string) (required) — DingTalk app message template source.\n - email (string) (required) — Email body template source (Go `html/template` syntax).\n - feishu (string) (required) — Feishu robot message template source.\n - feishu_app (string) (required) — Feishu app message template source.\n - feishu_app_card_table_enabled (boolean) (required) — Whether alert labels use table rendering in Feishu app cards.\n - incident_card_hidden_fields (object) — Incident-card fields to hide, keyed by IM app type. Only supported IM app types and field names are accepted.\n - slack (string) (required) — Slack robot message template source.\n - slack_app (string) (required) — Slack app message template source.\n - sms (string) (required) — SMS template source (Go `text/template` syntax).\n - status (string) (required) — Template lifecycle status. [enabled, disabled, deleted]\n - team_id (integer) (required) — ID of the team this template is scoped to, or 0 for account-wide.\n - teams_app (string) (required) — Microsoft Teams app message template source.\n - telegram (string) (required) — Telegram bot message template source.\n - template_id (string) (required) — Template ID.\n - template_name (string) (required) — Unique template name within the account.\n - updated_at (integer) (required) — Unix epoch seconds the template was last updated.\n - updated_by (integer) (required) — Member ID of the last editor.\n - voice (string) (required) — Voice call script template source.\n - wecom (string) (required) — WeCom robot message template source.\n - wecom_app (string) (required) — WeCom app message template source.\n - zoom (string) (required) — Zoom bot message template source.\n", + "NotificationTemplates.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — ID of the owning account.\n - created_at (string) (required) — Unix epoch seconds the template was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Member ID of the creator.\n - deleted_at (string) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Free-form description.\n - dingtalk (string) (required) — DingTalk robot message template source.\n - dingtalk_app (string) (required) — DingTalk app message template source.\n - email (string) (required) — Email body template source (Go `html/template` syntax).\n - feishu (string) (required) — Feishu robot message template source.\n - feishu_app (string) (required) — Feishu app message template source.\n - feishu_app_card_table_enabled (boolean) (required) — Whether alert labels use table rendering in Feishu app cards.\n - incident_card_hidden_fields (object) — Incident-card fields to hide, keyed by IM app type. Only supported IM app types and field names are accepted.\n - slack (string) (required) — Slack robot message template source.\n - slack_app (string) (required) — Slack app message template source.\n - sms (string) (required) — SMS template source (Go `text/template` syntax).\n - status (string) (required) — Template lifecycle status. [enabled, disabled, deleted]\n - team_id (integer) (required) — ID of the team this template is scoped to, or 0 for account-wide.\n - teams_app (string) (required) — Microsoft Teams app message template source.\n - telegram (string) (required) — Telegram bot message template source.\n - template_id (string) (required) — Template ID.\n - template_name (string) (required) — Unique template name within the account.\n - updated_at (string) (required) — Unix epoch seconds the template was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last editor.\n - voice (string) (required) — Voice call script template source.\n - wecom (string) (required) — WeCom robot message template source.\n - wecom_app (string) (required) — WeCom app message template source.\n - zoom (string) (required) — Zoom bot message template source.\n", + "NotificationTemplates.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — ID of the owning account.\n - created_at (string) (required) — Unix epoch seconds the template was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Member ID of the creator.\n - deleted_at (string) — Unix epoch seconds the template was soft-deleted. Absent (omitempty) when the template is live. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Free-form description.\n - dingtalk (string) (required) — DingTalk robot message template source.\n - dingtalk_app (string) (required) — DingTalk app message template source.\n - email (string) (required) — Email body template source (Go `html/template` syntax).\n - feishu (string) (required) — Feishu robot message template source.\n - feishu_app (string) (required) — Feishu app message template source.\n - feishu_app_card_table_enabled (boolean) (required) — Whether alert labels use table rendering in Feishu app cards.\n - incident_card_hidden_fields (object) — Incident-card fields to hide, keyed by IM app type. Only supported IM app types and field names are accepted.\n - slack (string) (required) — Slack robot message template source.\n - slack_app (string) (required) — Slack app message template source.\n - sms (string) (required) — SMS template source (Go `text/template` syntax).\n - status (string) (required) — Template lifecycle status. [enabled, disabled, deleted]\n - team_id (integer) (required) — ID of the team this template is scoped to, or 0 for account-wide.\n - teams_app (string) (required) — Microsoft Teams app message template source.\n - telegram (string) (required) — Telegram bot message template source.\n - template_id (string) (required) — Template ID.\n - template_name (string) (required) — Unique template name within the account.\n - updated_at (string) (required) — Unix epoch seconds the template was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last editor.\n - voice (string) (required) — Voice call script template source.\n - wecom (string) (required) — WeCom robot message template source.\n - wecom_app (string) (required) — WeCom app message template source.\n - zoom (string) (required) — Zoom bot message template source.\n", "NotificationTemplates.ReadPreview": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - content (string) — Rendered template output, present when success is true.\n - fixed_fields (array) — Fixed incident-card fields returned for supported IM previews after the requested hiding rules are applied.\n - field (string) (required) — Incident-card field name. [channel, snoozed_before, severity, responders, aggregate_alert_count]\n - value (string) (required) — Rendered display value for the fixed field.\n - message (string) — Error message describing why rendering failed, present when success is false.\n - success (boolean) — Whether the template rendered without errors.\n", "NotificationTemplates.WriteCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - template_id (string) (required) — Newly created template ID.\n - template_name (string) (required) — Template name echoed from the request.\n", - "Resources.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns this resource.\n - action.days (integer) (required) — Retention period in days for action (user interaction) data.\n - created_at (integer) (required) — Unix timestamp in seconds when the resource was created. Also anchors the start of the first billing window.\n - error.days (integer) (required) — Retention period in days for error data.\n - expired_at (integer) — Unix timestamp in seconds when the on-premises license expires. Only present on on-premises deployments; omitted entirely for SaaS accounts.\n - long_task.days (integer) (required) — Retention period in days for long-task data.\n - offering_id (integer) (required) — ID of the offering (SKU) this resource was provisioned from.\n - order_id (string) (required) — ID of the order that provisioned this resource. Empty for resources provisioned outside the order flow (e.g. on-premises).\n - product (string) (required) — Product code for this resource. Always `rum` for this endpoint. [rum]\n - resource.days (integer) (required) — Retention period in days for resource (network request) data.\n - resource_id (string) (required) — Unique resource identifier for the account's RUM resource.\n - resource_name (string) (required) — Display name of the resource.\n - session.days (integer) (required) — Retention period in days for session data.\n - session_investigate.free_cnt (integer) (required) — Free quota for investigate sessions per application, per billing window.\n - session_investigate.used_cnt (integer) (required) — Number of investigate (error tracking) sessions used in the current billing window.\n - session_limit_reached (boolean) (required) — `true` when a `version=free` account has exceeded its combined free session quota across all applications. Always `false` for non-free plans.\n - session_measure.free_cnt (integer) (required) — Free quota for measure sessions per application, per billing window.\n - session_measure.used_cnt (integer) (required) — Number of measure (performance) sessions used in the current billing window.\n - session_replay.free_cnt (integer) (required) — Free quota for session-replay sessions per application, per billing window.\n - session_replay.used_cnt (integer) (required) — Number of session-replay sessions used in the current billing window.\n - status (string) (required) — Status of the resource. A resource with status `deleted` or `destroyed` never reaches this field — the operation returns `ResourceNotFound` for those instead. [enabled, disabled]\n - updated_at (integer) (required) — Unix timestamp in seconds when the resource was last updated.\n - version (string) (required) — Plan version of this resource. [free, professional]\n - view.days (integer) (required) — Retention period in days for view (page/screen) data.\n - window_end_time (integer) (required) — Unix timestamp in seconds for the end of the current 30-day billing window.\n - window_start_time (integer) (required) — Unix timestamp in seconds for the start of the current 30-day billing window.\n", - "RolesPermissions.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) (required) — Unix epoch seconds the role was created.\n - description (string) (required) — Role description.\n - editable (boolean) (required) — False for built-in roles which cannot be modified.\n - permission_ids (array) (required) — IDs of permissions granted by this role.\n - role_id (integer) (required) — Unique role ID.\n - role_name (string) (required) — Role display name.\n - status (string) (required) — Role status. [enabled, disabled]\n - updated_at (integer) (required) — Unix epoch seconds the role was last updated.\n", - "RolesPermissions.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Unix epoch seconds the role was created.\n - description (string) (required) — Role description.\n - editable (boolean) (required) — False for built-in roles which cannot be modified.\n - permission_ids (array) (required) — IDs of permissions granted by this role.\n - role_id (integer) (required) — Unique role ID.\n - role_name (string) (required) — Role display name.\n - status (string) (required) — Role status. [enabled, disabled]\n - updated_at (integer) (required) — Unix epoch seconds the role was last updated.\n", + "Resources.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID that owns this resource.\n - action.days (integer) (required) — Retention period in days for action (user interaction) data.\n - created_at (string) (required) — Unix timestamp in seconds when the resource was created. Also anchors the start of the first billing window. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - error.days (integer) (required) — Retention period in days for error data.\n - expired_at (string) — Unix timestamp in seconds when the on-premises license expires. Only present on on-premises deployments; omitted entirely for SaaS accounts. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - long_task.days (integer) (required) — Retention period in days for long-task data.\n - offering_id (integer) (required) — ID of the offering (SKU) this resource was provisioned from.\n - order_id (string) (required) — ID of the order that provisioned this resource. Empty for resources provisioned outside the order flow (e.g. on-premises).\n - product (string) (required) — Product code for this resource. Always `rum` for this endpoint. [rum]\n - resource.days (integer) (required) — Retention period in days for resource (network request) data.\n - resource_id (string) (required) — Unique resource identifier for the account's RUM resource.\n - resource_name (string) (required) — Display name of the resource.\n - session.days (integer) (required) — Retention period in days for session data.\n - session_investigate.free_cnt (integer) (required) — Free quota for investigate sessions per application, per billing window.\n - session_investigate.used_cnt (integer) (required) — Number of investigate (error tracking) sessions used in the current billing window.\n - session_limit_reached (boolean) (required) — `true` when a `version=free` account has exceeded its combined free session quota across all applications. Always `false` for non-free plans.\n - session_measure.free_cnt (integer) (required) — Free quota for measure sessions per application, per billing window.\n - session_measure.used_cnt (integer) (required) — Number of measure (performance) sessions used in the current billing window.\n - session_replay.free_cnt (integer) (required) — Free quota for session-replay sessions per application, per billing window.\n - session_replay.used_cnt (integer) (required) — Number of session-replay sessions used in the current billing window.\n - status (string) (required) — Status of the resource. A resource with status `deleted` or `destroyed` never reaches this field — the operation returns `ResourceNotFound` for those instead. [enabled, disabled]\n - updated_at (string) (required) — Unix timestamp in seconds when the resource was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) (required) — Plan version of this resource. [free, professional]\n - view.days (integer) (required) — Retention period in days for view (page/screen) data.\n - window_end_time (string) (required) — Unix timestamp in seconds for the end of the current 30-day billing window. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - window_start_time (string) (required) — Unix timestamp in seconds for the start of the current 30-day billing window. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "RolesPermissions.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) (required) — Unix epoch seconds the role was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Role description.\n - editable (boolean) (required) — False for built-in roles which cannot be modified.\n - permission_ids (array) (required) — IDs of permissions granted by this role.\n - role_id (integer) (required) — Unique role ID.\n - role_name (string) (required) — Role display name.\n - status (string) (required) — Role status. [enabled, disabled]\n - updated_at (string) (required) — Unix epoch seconds the role was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "RolesPermissions.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Unix epoch seconds the role was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) (required) — Role description.\n - editable (boolean) (required) — False for built-in roles which cannot be modified.\n - permission_ids (array) (required) — IDs of permissions granted by this role.\n - role_id (integer) (required) — Unique role ID.\n - role_name (string) (required) — Role display name.\n - status (string) (required) — Role status. [enabled, disabled]\n - updated_at (string) (required) — Unix epoch seconds the role was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "RolesPermissions.ReadListPermission": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - class (string) (required) — Permission class (e.g., 'On-call', 'Organization').\n - description (string) (required) — Human-readable permission description.\n - id (integer) (required) — Unique permission ID.\n - is_granted (boolean) — Present when with_all is true. Indicates whether this permission is granted to the requested roles.\n - permission_name (string) (required) — Permission display name.\n - permission_type (string) (required) — Whether this is a read or manage permission. [read, manage]\n - scope (string) (required) — Permission scope (e.g., 'on-call', 'organization').\n - status (string) (required) — Permission status. [enabled, disabled]\n", "RolesPermissions.ReadListPermissionFactor": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - factor_name (string) (required) — Factor identifier (e.g., 'template:read:info').\n - factor_type (string) (required) — Factor type. [api, button, visit, menu, url]\n", "RolesPermissions.WriteUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - role_id (integer) (required) — Created or updated role ID.\n - role_name (string) (required) — Role name echoed from the request.\n", - "RuleSets.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) (required) — Creation timestamp, Unix epoch seconds.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "RuleSets.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) (required) — Creation timestamp, Unix epoch seconds.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "RuleSets.List": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) (required) — Creation timestamp, Unix epoch seconds.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", - "RuleSets.Update": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (integer) (required) — Creation timestamp, Unix epoch seconds.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds.\n", + "RuleSets.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "RuleSets.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "RuleSets.List": "Response fields (`data` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "RuleSets.Update": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_account_id (integer) (required) — Account ID of the creator.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - id (integer) (required) — Ruleset ID.\n - note (string) (required) — Description or title of the ruleset.\n - open_flag (integer) (required) — Sharing scope. `0` = private (creator only), `1` = account-shared, `2` = public.\n - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses.\n - type_ident (string) (required) — Datasource type identifier this ruleset applies to.\n - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", "Schedules.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - schedule_id (integer) (required) — ID of the newly created schedule.\n", - "Schedules.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (integer) — Window end (Unix seconds).\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - alias (string) (required) — Channel alias.\n - chat_ids (array) (required) — Chat IDs.\n - data_source_id (integer) (required) — Data source ID.\n - sign_secret (string) (required) — Signature secret.\n - token (string) (required) — Webhook token.\n - verify_token (string) (required) — Verification token.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (integer) — Window start (Unix seconds).\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n", - "Schedules.Infos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (integer) — Window end (Unix seconds).\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (integer) — Window start (Unix seconds).\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n", - "Schedules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (integer) — Window end (Unix seconds).\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (integer) — Window start (Unix seconds).\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n", - "Schedules.Preview": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (integer) — Window end (Unix seconds).\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - alias (string) (required) — Channel alias.\n - chat_ids (array) (required) — Chat IDs.\n - data_source_id (integer) (required) — Data source ID.\n - sign_secret (string) (required) — Signature secret.\n - token (string) (required) — Webhook token.\n - verify_token (string) (required) — Verification token.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (integer) — Window start (Unix seconds).\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n", - "Schedules.Self": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (integer) — Window end (Unix seconds).\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - update_at (integer) (required) — Update timestamp (Unix seconds).\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (integer) (required) — Shift end timestamp (Unix seconds).\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (integer) (required) — Shift start timestamp (Unix seconds).\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (integer) — Window start (Unix seconds).\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n", - "ServiceMap.Fleet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Coverage of the candidate scan that produced this page.\n - failed (integer) (required) — Number of candidate hosts whose status could not be read.\n - matched (integer) (required) — Number of scanned hosts that passed all filters.\n - returned (integer) (required) — Number of matched hosts included in this page (`<= limit`).\n - scanned (integer) (required) — Number of distinct candidate hosts actually examined in this request.\n - states (object) (required) — Count of returned items per status value; always includes all seven status keys, zero-filled. Reflects only this page, not the account's full population.\n - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated.\n - items (array) (required) — Matching hosts for this page.\n - agent_version (string) (required) — Agent version reported by this host.\n - edge_cluster (string) (required) — Edge cluster name this host belongs to.\n - host_id (string) (required) — Stable ServiceMap host identifier.\n - servicemap (object) (required) — ServiceMap capability and current collection status for this host.\n - authoritative (boolean) (required) — True if the host has an authoritative current graph.\n - capability_status (string) — Agent-reported capability status, e.g. `running`, `disabled`, `starting`, `failed`, `unsupported`.\n - capture_mode (string) — Capture mode, e.g. `ebpf` or `polling`.\n - edge_count (integer) (required) — Number of edges in the host's current graph.\n - enabled (boolean) (required) — True if ServiceMap collection is enabled on this host.\n - error_code (string) — Set to `status_unavailable` when this host's live status could not be read; other fields fall back to inventory-derived defaults in that case.\n - freshness_status (string) — Freshness classification of the host's graph. [fresh, stale, unknown]\n - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now.\n - max_age_ms (integer) — Age in milliseconds of the host's graph data, relative to when this response was generated.\n - node_count (integer) (required) — Number of nodes in the host's current graph.\n - observed_at_ms (integer) — Unix timestamp in milliseconds the host's graph was observed by the agent.\n - reason_codes (array) — Machine-readable codes explaining the current status.\n - received_at_ms (integer) — Unix timestamp in milliseconds the host's current graph generation was received by the server.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - snapshot_ready (boolean) (required) — True if the agent has produced at least one full snapshot.\n - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - next_cursor (string) — Opaque cursor to fetch the next page. Absent when there are no more candidates to scan.\n - partial (boolean) (required) — True if any host in this page failed to read status, or the scan was truncated.\n - truncated (boolean) (required) — True if `scan_limit` was reached before finding `limit` matches; `next_cursor` may still find more.\n - truncation_reasons (array) — Machine-readable reasons the scan was truncated, when `truncated=true`.\n", - "ServiceMap.FleetSummary": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Aggregate status distribution across the scanned candidate hosts.\n - classified (integer) (required) — Number of matched hosts successfully classified into one of the seven statuses; equals the sum of `states`.\n - failed (integer) (required) — Number of hosts whose candidate/detail read raced or whose live status could not be read.\n - matched (integer) (required) — Number of scanned hosts that passed the agent version / edge cluster / capture mode filters and still have a current inventory row.\n - scanned (integer) (required) — Number of distinct candidate hosts actually examined.\n - states (object) (required) — Count of hosts per status value; always includes all seven keys, zero-filled.\n - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated.\n - partial (boolean) (required) — True if the scan was truncated or any host failed to classify.\n - scan_limit (integer) (required) — The normalized scan budget actually applied, echoing the default when the request omitted it.\n - truncated (boolean) (required) — True if `scan_limit` was reached before scanning every candidate host in the account.\n - truncation_reasons (array) — Machine-readable reasons the scan was truncated, when `truncated=true`.\n", - "ServiceMap.Status": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Summary of how many hosts were successfully covered.\n - failed (integer) (required) — Number of hosts whose status could not be read.\n - requested (integer) (required) — Number of hosts requested (explicit `host_id`/`host_ids`, or the fleet sample size actually scanned).\n - states (object) (required) — Count of items per status value; always includes all seven keys (`active`, `degraded`, `stale`, `initializing`, `disabled`, `unsupported`, `no_data`), zero-filled.\n - succeeded (integer) (required) — Number of hosts whose status was read successfully.\n - truncated (boolean) (required) — True if `fleet` mode found more candidates than `limit` allowed to return.\n - fleet (boolean) (required) — Echoes whether this response was produced from a fleet sample rather than explicit host IDs.\n - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated.\n - items (array) (required) — Per-host status, in the same order the hosts were resolved.\n - authoritative (boolean) (required) — True if the host has an authoritative current graph.\n - capability (object) (required) — The host's self-reported ServiceMap capability.\n - capture_mode (string) — Capture mode, e.g. `ebpf` or `polling`.\n - enabled (boolean) (required) — True if ServiceMap collection is enabled on this host.\n - host_id (string) — Host ID this capability describes.\n - present (boolean) (required) — True if the host has an inventory row with ServiceMap capability metadata at all.\n - reason_codes (array) — Machine-readable codes explaining the current capability status.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - snapshot_ready (boolean) (required) — True if the agent has produced at least one full snapshot.\n - status (string) — Agent-reported capability status, e.g. `running`, `disabled`, `starting`, `failed`, `unsupported`.\n - coverage (object) (required) — Coverage and enrichment status for this host's graph.\n - degraded (boolean) (required) — True if the host's graph was degraded at collection time.\n - kubernetes_enrichment_status (string) — Kubernetes enrichment status for this host, as self-reported by the agent.\n - network_inventory_status (string) — Network-inventory enrichment status for this host, e.g. `complete`, `partial`, `unavailable`, as self-reported by the agent.\n - reason_codes (array) — Machine-readable codes explaining the current coverage status.\n - truncated (boolean) (required) — True if the host's graph was truncated at collection time.\n - edge_count (integer) (required) — Number of edges in the host's current graph.\n - error_code (string) — Set to `status_unavailable` when this host's status could not be read; other fields fall back to inventory-derived defaults in that case.\n - freshness (object) (required) — How recent the host's graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered.\n - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now.\n - host_id (string) (required) — Host ID this status describes.\n - latest_health_at_ms (integer) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph.\n - network_scope_id (string) — Network scope resolved for this host, when known.\n - node_count (integer) (required) — Number of nodes in the host's current graph.\n - observed_at_ms (integer) — Unix timestamp in milliseconds the host's graph was observed by the agent.\n - reason_codes (array) — Machine-readable codes explaining the current status.\n - received_at_ms (integer) — Unix timestamp in milliseconds the host's current graph generation was received by the server.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - partial (boolean) (required) — True if any host failed or the fleet sample was truncated.\n", - "ServiceMap.Summary": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - anchor_entity_id (string) — Echo of the requested anchor entity ID, when one was given.\n - anchor_host_id (string) (required) — Echo of the requested anchor host ID.\n - authoritative (boolean) (required) — Always `true`; the summary is only ever built from an authoritative graph.\n - context_ref_detail (string) (required) — Pre-rendered natural-language evidence string summarizing this response, designed for LLM prompts. The structured fields above are the source of truth; this is a convenience rendering of them.\n - coverage (object) (required) — Aggregate coverage and enrichment status for the anchor host's graph.\n - capture_modes (array) — Distinct capture modes (e.g. `ebpf`) seen across loaded hosts.\n - degraded_hosts (integer) (required) — Number of loaded host graphs that were degraded at collection time.\n - direction (string) (required) — Always `outbound`; ServiceMap currently only models outbound relations. [outbound]\n - hosts_loaded (integer) (required) — Number of distinct host graphs loaded to answer the query.\n - ipv6_only_known_listener_count (integer) — Number of IPv6 wildcard listeners with a known IPV6_V6ONLY setting.\n - ipv6_only_unknown_listener_count (integer) — Number of IPv6 wildcard listeners whose IPV6_V6ONLY setting could not be determined.\n - ipv6_wildcard_listener_count (integer) — Number of IPv6 wildcard (unspecified-address) listeners observed.\n - kubernetes_enrichment_status (string) (required) — Aggregate Kubernetes enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - listener_address_family_status (string) (required) — Aggregate coverage of IPv4/IPv6 listener address-family resolution across loaded hosts. [unknown, complete, partial, unavailable]\n - network_inventory_status (string) (required) — Aggregate network-inventory enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - reasons (array) — Machine-readable reason codes explaining any degraded or truncated state among loaded hosts.\n - truncated_hosts (integer) (required) — Number of loaded host graphs that were truncated at collection time.\n - freshness (object) (required) — How recent the graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered.\n - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - graph_role (string) (required) — `current` if the summary reflects the live graph; `last_known_good` if the latest ingestion is unhealthy and this reflects the last authoritative graph instead. [current, last_known_good]\n - latest_collection_authoritative (boolean) (required) — False when `graph_role=last_known_good`, i.e. the most recent collection attempt was not authoritative.\n - latest_health_at_ms (integer) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph.\n - neighbors (array) (required) — Up to 12 outbound relations, most informative first.\n - active_connections (any) — Active connection count for this relation, when the underlying agent reports it.\n - destination_ip (string) — Destination IP address.\n - destination_port (integer) — Destination port.\n - destination_protocol (string) — Transport protocol of the destination. [tcp, udp]\n - edge_id (string) (required) — Edge ID.\n - last_seen (string) — Timestamp this relation was last observed.\n - resolution_status (string) (required) — Resolution outcome for this relation's destination. [resolved, ambiguous, unresolved]\n - source_display_name (string) — Display name of the source node, when known.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - target_display_name (string) — Display name of the resolved target, when known.\n - target_entity_id (string) — Entity ID of the resolved target, when `resolution_status=resolved` and unambiguous.\n - target_host_id (string) — Host ID of the resolved target, when `resolution_status=resolved` and unambiguous.\n - network_scope_id (string) (required) — Network scope the summary was resolved within.\n - observed_at_ms (integer) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent.\n - received_at_ms (integer) (required) — Unix timestamp in milliseconds the current graph generation was received by the server.\n - resolution_counts (object) (required) — Counts of the anchor host's outbound relations by resolution outcome.\n - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates.\n - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate.\n - unresolved (integer) (required) — Number of edges with no resolvable candidate.\n - status (string) (required) — ServiceMap collection status of the anchor host. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - truncated (boolean) (required) — True if the fixed-size summary omitted any neighbor or coverage detail to stay within its bounds.\n - truncation_reasons (array) — Machine-readable reasons the summary was truncated, when `truncated=true`.\n", - "ServiceMap.Topology": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - anchor_entity_id (string) — Echo of the requested anchor entity ID, when one was given.\n - anchor_host_id (string) (required) — Echo of the requested anchor host ID.\n - coverage (object) (required) — Aggregate coverage and enrichment status across loaded hosts.\n - capture_modes (array) — Distinct capture modes (e.g. `ebpf`) seen across loaded hosts.\n - degraded_hosts (integer) (required) — Number of loaded host graphs that were degraded at collection time.\n - direction (string) (required) — Always `outbound`; ServiceMap currently only models outbound relations. [outbound]\n - hosts_loaded (integer) (required) — Number of distinct host graphs loaded to answer the query.\n - ipv6_only_known_listener_count (integer) — Number of IPv6 wildcard listeners with a known IPV6_V6ONLY setting.\n - ipv6_only_unknown_listener_count (integer) — Number of IPv6 wildcard listeners whose IPV6_V6ONLY setting could not be determined.\n - ipv6_wildcard_listener_count (integer) — Number of IPv6 wildcard (unspecified-address) listeners observed.\n - kubernetes_enrichment_status (string) (required) — Aggregate Kubernetes enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - listener_address_family_status (string) (required) — Aggregate coverage of IPv4/IPv6 listener address-family resolution across loaded hosts. [unknown, complete, partial, unavailable]\n - network_inventory_status (string) (required) — Aggregate network-inventory enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - reasons (array) — Machine-readable reason codes explaining any degraded or truncated state among loaded hosts.\n - truncated_hosts (integer) (required) — Number of loaded host graphs that were truncated at collection time.\n - edges (array) (required) — Edges discovered during the traversal. Excludes unresolved edges when `unresolved_mode=summary`.\n - depth (integer) (required) — Traversal depth this edge was discovered at, relative to the anchor.\n - destination (object) (required) — Destination endpoint of the connection.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - endpoint_resolution (object) (required) — Resolution of the destination endpoint to candidate target nodes.\n - candidates (array) (required) — Candidate nodes found for this endpoint, ranked by confidence.\n - confidence (number) (required) — Match confidence in `[0, 1]`; capped at 0.6 whenever more than one candidate is returned.\n - effective_ip (string) (required) — Destination IP actually being resolved against this candidate.\n - entity_id (string) (required) — Entity/process ID of the candidate listener.\n - graph_sequence (integer) (required) — Sequence number of the graph generation this candidate was observed in.\n - host_id (string) (required) — Host ID of the candidate listener.\n - listener_id (string) (required) — Identifier of the matched listener.\n - listener_ip (string) (required) — IP address the listener is bound to (may be a wildcard address).\n - match_kind (string) (required) — How the listener matched the destination, e.g. `exact`, `wildcard`, `wildcard_dual_stack`, `wildcard_address_family_unknown`.\n - netns_id (string) (required) — Network namespace ID the candidate listener is in.\n - node_display_name (string) — Display name of the candidate's owning node, when known.\n - node_kind (string) — Kind of the candidate's owning node, when known.\n - observed_at_ms (integer) (required) — Unix timestamp in milliseconds when the candidate's graph generation was observed by the agent.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - candidates_truncated (boolean) — True if the candidate list was cut short by an internal query budget.\n - endpoint (object) (required) — The destination endpoint being resolved.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - reason (string) — Machine-readable reason code when `status` is not `resolved`, e.g. `no_current_listener`, `multiple_current_listeners`, `query_budget_exceeded`.\n - status (string) (required) — Resolution outcome. `resolved` = exactly one confident candidate; `ambiguous` = multiple or low-confidence candidates; `unresolved` = no candidate found. [resolved, ambiguous, unresolved]\n - evidence (string) (required) — How the edge was observed, e.g. `connect`.\n - first_seen (string) — Timestamp the edge was first observed.\n - host_id (string) (required) — Host the edge's source node lives on.\n - id (string) (required) — Edge ID, unique within its host.\n - last_seen (string) — Timestamp the edge was last observed.\n - metrics (any) — Opaque per-edge metrics payload, only present when `include_metrics=true` was requested.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - source_netns_id (string) (required) — Network namespace ID the connection originated from.\n - freshness (object) (required) — How recent the graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered.\n - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - network_scope_id (string) (required) — Network scope the graph was resolved within.\n - nodes (array) (required) — Nodes discovered during the traversal.\n - container_name (string) — Container name, when the node runs in a container.\n - display_name (string) (required) — Human-readable display name.\n - executable_name (string) — Executable file name.\n - first_seen (string) — Timestamp the node was first observed.\n - host_id (string) (required) — Host the node was observed on.\n - id (string) (required) — Entity ID of the node, unique within its host.\n - identity (any) — Opaque, kind-specific identity payload. Shape depends on `kind`.\n - image_repository (string) — Container image repository.\n - image_version (string) — Container image tag/version.\n - instance_count (integer) — Number of instances folded into this node, when the node represents a workload replica set.\n - kind (string) (required) — Node kind, e.g. `process`, `container`.\n - last_seen (string) — Timestamp the node was last observed.\n - namespace (string) — Kubernetes namespace, when known.\n - sample_instances (any) — Opaque sample of underlying instances folded into this node, when applicable.\n - systemd_unit (string) — systemd unit name, when the node is a systemd-managed process.\n - workload_name (string) — Kubernetes workload name, when known.\n - observed_at_ms (integer) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent (the most recent among loaded hosts).\n - resolution_counts (object) (required) — Counts of edges by resolution outcome.\n - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates.\n - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate.\n - unresolved (integer) (required) — Number of edges with no resolvable candidate.\n - truncated (boolean) (required) — True if any bound (`max_nodes`, `max_edges`, or an internal query budget) cut the traversal short.\n - truncation_reasons (array) — Machine-readable reasons the traversal was truncated, when `truncated=true`.\n - unresolved_endpoints (array) (required) — Sample or full set of edges whose destination could not be resolved, per `unresolved_projection`.\n - destination (object) (required) — Destination endpoint of the connection.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - edge_id (string) (required) — Edge ID, unique within its host.\n - host_id (string) (required) — Host the edge's source node lives on.\n - reason (string) (required) — Machine-readable reason the endpoint could not be resolved.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - source_netns_id (string) (required) — Network namespace ID the connection originated from.\n - unresolved_projection (object) (required) — How unresolved edges were projected into this response.\n - by_reason (array) (required) — Breakdown of `total` unresolved edges by reason code.\n - count (integer) (required) — Number of unresolved edges with this reason.\n - reason (string) (required) — Machine-readable unresolved reason code.\n - mode (string) (required) — The `unresolved_mode` that was applied. [summary, full]\n - omitted (integer) (required) — Number of unresolved edges found but not returned (`total - returned`).\n - returned (integer) (required) — Number of unresolved edges included in `unresolved_endpoints`.\n - total (integer) (required) — Total number of unresolved edges found, regardless of how many were returned.\n", - "SessionReplay.Metadata": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - application (object)\n - id (string) — RUM application ID the session belongs to.\n - device (object)\n - type (string) — Device type recorded for the session, e.g. `desktop`, `mobile`, `tablet`.\n - foreground_periods (array) — Foreground periods across the session (mobile sessions only; empty for web).\n - end (integer) — Unix timestamp in milliseconds when the foreground period ended.\n - start (integer) — Unix timestamp in milliseconds when the foreground period started.\n - view_id (string) — View ID active during this foreground period.\n - session (object)\n - end (integer) — Unix timestamp in milliseconds when the session ended (or was last updated, if still active).\n - is_active (boolean) — Whether the session was still active as of the last recorded event.\n - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction.\n - source (string) — SDK platform that recorded the session. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity]\n - start (integer) — Unix timestamp in milliseconds when the session started.\n - views (array) — Every view recorded during the session, in chronological order.\n - container_source (string) — SDK platform of the container app, when this view is embedded (e.g. a WebView inside a native app).\n - container_view_id (string) — View ID of the containing view, when this view is embedded.\n - end (integer) — Unix timestamp in milliseconds when the view ended.\n - is_active (boolean) — Whether the view was still active as of the last recorded event.\n - loading_type (string) — How the view was entered, e.g. `initial_load`, `route_change`.\n - name (string) — View name, typically the route or screen name.\n - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction.\n - source (string) — SDK platform that recorded the view. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity]\n - start (integer) — Unix timestamp in milliseconds when the view started.\n - url (string) — URL (web) or screen identifier (mobile) associated with the view.\n - view_id (string) — Unique ID of the view within the session.\n", + "Schedules.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - create_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (string) — Window end (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - alias (string) (required) — Channel alias.\n - chat_ids (array) (required) — Chat IDs.\n - data_source_id (integer) (required) — Data source ID.\n - sign_secret (string) (required) — Signature secret.\n - token (string) (required) — Webhook token.\n - verify_token (string) (required) — Verification token.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (string) — Window start (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_by (integer) (required) — Last updater person ID.\n", + "Schedules.Infos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (string) — Window end (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (string) — Window start (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_by (integer) (required) — Last updater person ID.\n", + "Schedules.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (string) — Window end (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (string) — Window start (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_by (integer) (required) — Last updater person ID.\n", + "Schedules.Preview": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Account ID.\n - create_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (string) — Window end (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - person_ids (array) (required) — Person IDs in this slot.\n - role_id (integer) (required) — Oncall role ID.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - alias (string) (required) — Channel alias.\n - chat_ids (array) (required) — Chat IDs.\n - data_source_id (integer) (required) — Data source ID.\n - sign_secret (string) (required) — Signature secret.\n - token (string) (required) — Webhook token.\n - verify_token (string) (required) — Verification token.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (string) — Window start (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_by (integer) (required) — Last updater person ID.\n", + "Schedules.Self": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Account ID.\n - create_at (string) (required) — Creation timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - create_by (integer) (required) — Creator person ID.\n - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - description (any) (required) — Schedule description. null when returned from /schedule/preview.\n - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview.\n - end (string) — Window end (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - field (string) — Field name used by the legacy update-field endpoint.\n - final_schedule (object) (required) — Collapsed final schedule across all layers.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview.\n - id (any) (required) — Schedule ID. null when returned from /schedule/preview.\n - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - layers (array) (required) — Rotation layers defined on the schedule.\n - account_id (integer) (required) — Account ID.\n - create_at (integer) (required) — Creation timestamp (Unix seconds).\n - create_by (integer) (required) — Creator person ID.\n - day_mask (object) (required) — Day-of-week mask.\n - repeat (array) — Weekday numbers (0 = Sunday) included in the rotation.\n - enable_time (integer) (required) — When the layer becomes effective (Unix seconds).\n - expire_time (integer) (required) — When the layer expires (Unix seconds, 0 means never).\n - fair_rotation (boolean) (required) — Whether fair rotation is enabled.\n - groups (array) (required) — Oncall groups participating in the rotation.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - handoff_time (integer) (required) — Handoff time inside the rotation cycle (seconds).\n - hidden (integer) (required) — Whether the layer is hidden in the UI (0 = no, 1 = yes).\n - layer_end (any) — Layer end timestamp (Unix seconds). null means open-ended.\n - layer_name (string) — User-facing layer name.\n - layer_start (integer) — Layer start timestamp (Unix seconds).\n - mask_continuous_enabled (boolean) (required) — Whether continuous masking is enabled.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - restrict_end (integer) (required) — Legacy end offset inside the restriction window (seconds).\n - restrict_mode (integer) (required) — Restriction mode: 0 = none, 1 = day, 2 = week.\n - restrict_periods (array) (required) — Restriction windows inside each rotation cycle.\n - restrict_end (integer) (required) — End offset inside the rotation cycle.\n - restrict_start (integer) (required) — Start offset inside the rotation cycle.\n - restrict_start (integer) (required) — Legacy start offset inside the restriction window (seconds).\n - rotation_duration (integer) (required) — Rotation duration in seconds.\n - rotation_unit (string) (required) — Rotation unit. [hour, day, week, month]\n - rotation_value (integer) (required) — Rotation quantity (number of rotation_unit per cycle).\n - schedule_id (integer) (required) — Parent schedule ID.\n - update_at (integer) (required) — Last update timestamp (Unix seconds).\n - update_by (integer) (required) — Last updater person ID.\n - weight (integer) (required) — Layer weight for ordering.\n - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview.\n - next_oncall (object) (required) — Next on-call group, or null when unknown.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - end (integer) (required) — Group end timestamp (Unix seconds).\n - group_name (string) (required) — Group display name.\n - members (array) (required) — Members of this group.\n - name (string) (required) — Legacy group name.\n - start (integer) (required) — Group start timestamp (Unix seconds).\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_at (string) (required) — Update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - weight (integer) (required) — Layer weight the shift comes from.\n - notify (object) (required) — Notification configuration attached to a schedule.\n - advance_in_time (integer) — Advance notification lead time (seconds).\n - by (object) (required) — Per-recipient notification preference.\n - follow_preference (boolean) (required) — Whether to follow each responder's personal notification preference.\n - personal_channels (array) (required) — Personal notification channel keys.\n - fixed_time (object) (required) — Fixed-time notification config.\n - cycle (string) (required) — Notification cycle.\n - start (string) (required) — Notification start time within the cycle.\n - im (object) — Legacy IM-type to token map.\n - webhooks (array) (required) — IM webhook notification channels.\n - settings (object) (required) — Settings for an IM webhook notification channel.\n - type (string) (required) — IM provider type (for example feishu_app, dingtalk_app, wecom_app, teams_app, slack_app).\n - schedule_id (integer) (required) — Schedule ID.\n - schedule_layers (array) (required) — Computed layers for the requested window.\n - layer_name (string) (required) — Layer display name.\n - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override.\n - name (string) (required) — Layer internal name.\n - schedules (array) (required) — Computed shifts.\n - end (string) (required) — Shift end timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - group (object) (required) — Oncall group definition within a rotation layer.\n - index (integer) (required) — Index inside the rotation.\n - start (string) (required) — Shift start timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview.\n - start (string) — Window start (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview.\n - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview.\n - update_at (string) (required) — Last update timestamp (Unix seconds). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - update_by (integer) (required) — Last updater person ID.\n", + "ServiceMap.Fleet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Coverage of the candidate scan that produced this page.\n - failed (integer) (required) — Number of candidate hosts whose status could not be read.\n - matched (integer) (required) — Number of scanned hosts that passed all filters.\n - returned (integer) (required) — Number of matched hosts included in this page (`<= limit`).\n - scanned (integer) (required) — Number of distinct candidate hosts actually examined in this request.\n - states (object) (required) — Count of returned items per status value; always includes all seven status keys, zero-filled. Reflects only this page, not the account's full population.\n - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - items (array) (required) — Matching hosts for this page.\n - agent_version (string) (required) — Agent version reported by this host.\n - edge_cluster (string) (required) — Edge cluster name this host belongs to.\n - host_id (string) (required) — Stable ServiceMap host identifier.\n - servicemap (object) (required) — ServiceMap capability and current collection status for this host.\n - authoritative (boolean) (required) — True if the host has an authoritative current graph.\n - capability_status (string) — Agent-reported capability status, e.g. `running`, `disabled`, `starting`, `failed`, `unsupported`.\n - capture_mode (string) — Capture mode, e.g. `ebpf` or `polling`.\n - edge_count (integer) (required) — Number of edges in the host's current graph.\n - enabled (boolean) (required) — True if ServiceMap collection is enabled on this host.\n - error_code (string) — Set to `status_unavailable` when this host's live status could not be read; other fields fall back to inventory-derived defaults in that case.\n - freshness_status (string) — Freshness classification of the host's graph. [fresh, stale, unknown]\n - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now.\n - max_age_ms (integer) — Age in milliseconds of the host's graph data, relative to when this response was generated.\n - node_count (integer) (required) — Number of nodes in the host's current graph.\n - observed_at_ms (string) — Unix timestamp in milliseconds the host's graph was observed by the agent. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - reason_codes (array) — Machine-readable codes explaining the current status.\n - received_at_ms (string) — Unix timestamp in milliseconds the host's current graph generation was received by the server. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - snapshot_ready (boolean) (required) — True if the agent has produced at least one full snapshot.\n - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - next_cursor (string) — Opaque cursor to fetch the next page. Absent when there are no more candidates to scan.\n - partial (boolean) (required) — True if any host in this page failed to read status, or the scan was truncated.\n - truncated (boolean) (required) — True if `scan_limit` was reached before finding `limit` matches; `next_cursor` may still find more.\n - truncation_reasons (array) — Machine-readable reasons the scan was truncated, when `truncated=true`.\n", + "ServiceMap.FleetSummary": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Aggregate status distribution across the scanned candidate hosts.\n - classified (integer) (required) — Number of matched hosts successfully classified into one of the seven statuses; equals the sum of `states`.\n - failed (integer) (required) — Number of hosts whose candidate/detail read raced or whose live status could not be read.\n - matched (integer) (required) — Number of scanned hosts that passed the agent version / edge cluster / capture mode filters and still have a current inventory row.\n - scanned (integer) (required) — Number of distinct candidate hosts actually examined.\n - states (object) (required) — Count of hosts per status value; always includes all seven keys, zero-filled.\n - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - partial (boolean) (required) — True if the scan was truncated or any host failed to classify.\n - scan_limit (integer) (required) — The normalized scan budget actually applied, echoing the default when the request omitted it.\n - truncated (boolean) (required) — True if `scan_limit` was reached before scanning every candidate host in the account.\n - truncation_reasons (array) — Machine-readable reasons the scan was truncated, when `truncated=true`.\n", + "ServiceMap.Status": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - coverage (object) (required) — Summary of how many hosts were successfully covered.\n - failed (integer) (required) — Number of hosts whose status could not be read.\n - requested (integer) (required) — Number of hosts requested (explicit `host_id`/`host_ids`, or the fleet sample size actually scanned).\n - states (object) (required) — Count of items per status value; always includes all seven keys (`active`, `degraded`, `stale`, `initializing`, `disabled`, `unsupported`, `no_data`), zero-filled.\n - succeeded (integer) (required) — Number of hosts whose status was read successfully.\n - truncated (boolean) (required) — True if `fleet` mode found more candidates than `limit` allowed to return.\n - fleet (boolean) (required) — Echoes whether this response was produced from a fleet sample rather than explicit host IDs.\n - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - items (array) (required) — Per-host status, in the same order the hosts were resolved.\n - authoritative (boolean) (required) — True if the host has an authoritative current graph.\n - capability (object) (required) — The host's self-reported ServiceMap capability.\n - capture_mode (string) — Capture mode, e.g. `ebpf` or `polling`.\n - enabled (boolean) (required) — True if ServiceMap collection is enabled on this host.\n - host_id (string) — Host ID this capability describes.\n - present (boolean) (required) — True if the host has an inventory row with ServiceMap capability metadata at all.\n - reason_codes (array) — Machine-readable codes explaining the current capability status.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - snapshot_ready (boolean) (required) — True if the agent has produced at least one full snapshot.\n - status (string) — Agent-reported capability status, e.g. `running`, `disabled`, `starting`, `failed`, `unsupported`.\n - coverage (object) (required) — Coverage and enrichment status for this host's graph.\n - degraded (boolean) (required) — True if the host's graph was degraded at collection time.\n - kubernetes_enrichment_status (string) — Kubernetes enrichment status for this host, as self-reported by the agent.\n - network_inventory_status (string) — Network-inventory enrichment status for this host, e.g. `complete`, `partial`, `unavailable`, as self-reported by the agent.\n - reason_codes (array) — Machine-readable codes explaining the current coverage status.\n - truncated (boolean) (required) — True if the host's graph was truncated at collection time.\n - edge_count (integer) (required) — Number of edges in the host's current graph.\n - error_code (string) — Set to `status_unavailable` when this host's status could not be read; other fields fall back to inventory-derived defaults in that case.\n - freshness (object) (required) — How recent the host's graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now.\n - host_id (string) (required) — Host ID this status describes.\n - latest_health_at_ms (string) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - network_scope_id (string) — Network scope resolved for this host, when known.\n - node_count (integer) (required) — Number of nodes in the host's current graph.\n - observed_at_ms (string) — Unix timestamp in milliseconds the host's graph was observed by the agent. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - reason_codes (array) — Machine-readable codes explaining the current status.\n - received_at_ms (string) — Unix timestamp in milliseconds the host's current graph generation was received by the server. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - report_interval_ms (integer) — Configured reporting interval in milliseconds.\n - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - partial (boolean) (required) — True if any host failed or the fleet sample was truncated.\n", + "ServiceMap.Summary": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - anchor_entity_id (string) — Echo of the requested anchor entity ID, when one was given.\n - anchor_host_id (string) (required) — Echo of the requested anchor host ID.\n - authoritative (boolean) (required) — Always `true`; the summary is only ever built from an authoritative graph.\n - context_ref_detail (string) (required) — Pre-rendered natural-language evidence string summarizing this response, designed for LLM prompts. The structured fields above are the source of truth; this is a convenience rendering of them.\n - coverage (object) (required) — Aggregate coverage and enrichment status for the anchor host's graph.\n - capture_modes (array) — Distinct capture modes (e.g. `ebpf`) seen across loaded hosts.\n - degraded_hosts (integer) (required) — Number of loaded host graphs that were degraded at collection time.\n - direction (string) (required) — Always `outbound`; ServiceMap currently only models outbound relations. [outbound]\n - hosts_loaded (integer) (required) — Number of distinct host graphs loaded to answer the query.\n - ipv6_only_known_listener_count (integer) — Number of IPv6 wildcard listeners with a known IPV6_V6ONLY setting.\n - ipv6_only_unknown_listener_count (integer) — Number of IPv6 wildcard listeners whose IPV6_V6ONLY setting could not be determined.\n - ipv6_wildcard_listener_count (integer) — Number of IPv6 wildcard (unspecified-address) listeners observed.\n - kubernetes_enrichment_status (string) (required) — Aggregate Kubernetes enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - listener_address_family_status (string) (required) — Aggregate coverage of IPv4/IPv6 listener address-family resolution across loaded hosts. [unknown, complete, partial, unavailable]\n - network_inventory_status (string) (required) — Aggregate network-inventory enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - reasons (array) — Machine-readable reason codes explaining any degraded or truncated state among loaded hosts.\n - truncated_hosts (integer) (required) — Number of loaded host graphs that were truncated at collection time.\n - freshness (object) (required) — How recent the graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - graph_role (string) (required) — `current` if the summary reflects the live graph; `last_known_good` if the latest ingestion is unhealthy and this reflects the last authoritative graph instead. [current, last_known_good]\n - latest_collection_authoritative (boolean) (required) — False when `graph_role=last_known_good`, i.e. the most recent collection attempt was not authoritative.\n - latest_health_at_ms (string) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - neighbors (array) (required) — Up to 12 outbound relations, most informative first.\n - active_connections (any) — Active connection count for this relation, when the underlying agent reports it.\n - destination_ip (string) — Destination IP address.\n - destination_port (integer) — Destination port.\n - destination_protocol (string) — Transport protocol of the destination. [tcp, udp]\n - edge_id (string) (required) — Edge ID.\n - last_seen (string) — Timestamp this relation was last observed.\n - resolution_status (string) (required) — Resolution outcome for this relation's destination. [resolved, ambiguous, unresolved]\n - source_display_name (string) — Display name of the source node, when known.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - target_display_name (string) — Display name of the resolved target, when known.\n - target_entity_id (string) — Entity ID of the resolved target, when `resolution_status=resolved` and unambiguous.\n - target_host_id (string) — Host ID of the resolved target, when `resolution_status=resolved` and unambiguous.\n - network_scope_id (string) (required) — Network scope the summary was resolved within.\n - observed_at_ms (string) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - received_at_ms (string) (required) — Unix timestamp in milliseconds the current graph generation was received by the server. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - resolution_counts (object) (required) — Counts of the anchor host's outbound relations by resolution outcome.\n - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates.\n - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate.\n - unresolved (integer) (required) — Number of edges with no resolvable candidate.\n - status (string) (required) — ServiceMap collection status of the anchor host. [active, degraded, stale, initializing, disabled, unsupported, no_data]\n - truncated (boolean) (required) — True if the fixed-size summary omitted any neighbor or coverage detail to stay within its bounds.\n - truncation_reasons (array) — Machine-readable reasons the summary was truncated, when `truncated=true`.\n", + "ServiceMap.Topology": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - anchor_entity_id (string) — Echo of the requested anchor entity ID, when one was given.\n - anchor_host_id (string) (required) — Echo of the requested anchor host ID.\n - coverage (object) (required) — Aggregate coverage and enrichment status across loaded hosts.\n - capture_modes (array) — Distinct capture modes (e.g. `ebpf`) seen across loaded hosts.\n - degraded_hosts (integer) (required) — Number of loaded host graphs that were degraded at collection time.\n - direction (string) (required) — Always `outbound`; ServiceMap currently only models outbound relations. [outbound]\n - hosts_loaded (integer) (required) — Number of distinct host graphs loaded to answer the query.\n - ipv6_only_known_listener_count (integer) — Number of IPv6 wildcard listeners with a known IPV6_V6ONLY setting.\n - ipv6_only_unknown_listener_count (integer) — Number of IPv6 wildcard listeners whose IPV6_V6ONLY setting could not be determined.\n - ipv6_wildcard_listener_count (integer) — Number of IPv6 wildcard (unspecified-address) listeners observed.\n - kubernetes_enrichment_status (string) (required) — Aggregate Kubernetes enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - listener_address_family_status (string) (required) — Aggregate coverage of IPv4/IPv6 listener address-family resolution across loaded hosts. [unknown, complete, partial, unavailable]\n - network_inventory_status (string) (required) — Aggregate network-inventory enrichment coverage across loaded hosts. [unknown, complete, partial, unavailable]\n - reasons (array) — Machine-readable reason codes explaining any degraded or truncated state among loaded hosts.\n - truncated_hosts (integer) (required) — Number of loaded host graphs that were truncated at collection time.\n - edges (array) (required) — Edges discovered during the traversal. Excludes unresolved edges when `unresolved_mode=summary`.\n - depth (integer) (required) — Traversal depth this edge was discovered at, relative to the anchor.\n - destination (object) (required) — Destination endpoint of the connection.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - endpoint_resolution (object) (required) — Resolution of the destination endpoint to candidate target nodes.\n - candidates (array) (required) — Candidate nodes found for this endpoint, ranked by confidence.\n - confidence (number) (required) — Match confidence in `[0, 1]`; capped at 0.6 whenever more than one candidate is returned.\n - effective_ip (string) (required) — Destination IP actually being resolved against this candidate.\n - entity_id (string) (required) — Entity/process ID of the candidate listener.\n - graph_sequence (integer) (required) — Sequence number of the graph generation this candidate was observed in.\n - host_id (string) (required) — Host ID of the candidate listener.\n - listener_id (string) (required) — Identifier of the matched listener.\n - listener_ip (string) (required) — IP address the listener is bound to (may be a wildcard address).\n - match_kind (string) (required) — How the listener matched the destination, e.g. `exact`, `wildcard`, `wildcard_dual_stack`, `wildcard_address_family_unknown`.\n - netns_id (string) (required) — Network namespace ID the candidate listener is in.\n - node_display_name (string) — Display name of the candidate's owning node, when known.\n - node_kind (string) — Kind of the candidate's owning node, when known.\n - observed_at_ms (string) (required) — Unix timestamp in milliseconds when the candidate's graph generation was observed by the agent. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - candidates_truncated (boolean) — True if the candidate list was cut short by an internal query budget.\n - endpoint (object) (required) — The destination endpoint being resolved.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - reason (string) — Machine-readable reason code when `status` is not `resolved`, e.g. `no_current_listener`, `multiple_current_listeners`, `query_budget_exceeded`.\n - status (string) (required) — Resolution outcome. `resolved` = exactly one confident candidate; `ambiguous` = multiple or low-confidence candidates; `unresolved` = no candidate found. [resolved, ambiguous, unresolved]\n - evidence (string) (required) — How the edge was observed, e.g. `connect`.\n - first_seen (string) — Timestamp the edge was first observed.\n - host_id (string) (required) — Host the edge's source node lives on.\n - id (string) (required) — Edge ID, unique within its host.\n - last_seen (string) — Timestamp the edge was last observed.\n - metrics (any) — Opaque per-edge metrics payload, only present when `include_metrics=true` was requested.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - source_netns_id (string) (required) — Network namespace ID the connection originated from.\n - freshness (object) (required) — How recent the graph data is.\n - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now.\n - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) (required) — Freshness classification. [fresh, stale, unknown]\n - network_scope_id (string) (required) — Network scope the graph was resolved within.\n - nodes (array) (required) — Nodes discovered during the traversal.\n - container_name (string) — Container name, when the node runs in a container.\n - display_name (string) (required) — Human-readable display name.\n - executable_name (string) — Executable file name.\n - first_seen (string) — Timestamp the node was first observed.\n - host_id (string) (required) — Host the node was observed on.\n - id (string) (required) — Entity ID of the node, unique within its host.\n - identity (any) — Opaque, kind-specific identity payload. Shape depends on `kind`.\n - image_repository (string) — Container image repository.\n - image_version (string) — Container image tag/version.\n - instance_count (integer) — Number of instances folded into this node, when the node represents a workload replica set.\n - kind (string) (required) — Node kind, e.g. `process`, `container`.\n - last_seen (string) — Timestamp the node was last observed.\n - namespace (string) — Kubernetes namespace, when known.\n - sample_instances (any) — Opaque sample of underlying instances folded into this node, when applicable.\n - systemd_unit (string) — systemd unit name, when the node is a systemd-managed process.\n - workload_name (string) — Kubernetes workload name, when known.\n - observed_at_ms (string) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent (the most recent among loaded hosts). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - resolution_counts (object) (required) — Counts of edges by resolution outcome.\n - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates.\n - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate.\n - unresolved (integer) (required) — Number of edges with no resolvable candidate.\n - truncated (boolean) (required) — True if any bound (`max_nodes`, `max_edges`, or an internal query budget) cut the traversal short.\n - truncation_reasons (array) — Machine-readable reasons the traversal was truncated, when `truncated=true`.\n - unresolved_endpoints (array) (required) — Sample or full set of edges whose destination could not be resolved, per `unresolved_projection`.\n - destination (object) (required) — Destination endpoint of the connection.\n - ip (string) (required) — Destination IP address.\n - port (integer) (required) — Destination port.\n - protocol (string) (required) — Transport protocol, `tcp` or `udp`. [tcp, udp]\n - edge_id (string) (required) — Edge ID, unique within its host.\n - host_id (string) (required) — Host the edge's source node lives on.\n - reason (string) (required) — Machine-readable reason the endpoint could not be resolved.\n - source_entity_id (string) (required) — Entity ID of the source node.\n - source_netns_id (string) (required) — Network namespace ID the connection originated from.\n - unresolved_projection (object) (required) — How unresolved edges were projected into this response.\n - by_reason (array) (required) — Breakdown of `total` unresolved edges by reason code.\n - count (integer) (required) — Number of unresolved edges with this reason.\n - reason (string) (required) — Machine-readable unresolved reason code.\n - mode (string) (required) — The `unresolved_mode` that was applied. [summary, full]\n - omitted (integer) (required) — Number of unresolved edges found but not returned (`total - returned`).\n - returned (integer) (required) — Number of unresolved edges included in `unresolved_endpoints`.\n - total (integer) (required) — Total number of unresolved edges found, regardless of how many were returned.\n", + "SessionReplay.Metadata": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - application (object)\n - id (string) — RUM application ID the session belongs to.\n - device (object)\n - type (string) — Device type recorded for the session, e.g. `desktop`, `mobile`, `tablet`.\n - foreground_periods (array) — Foreground periods across the session (mobile sessions only; empty for web).\n - end (string) — Unix timestamp in milliseconds when the foreground period ended. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - start (string) — Unix timestamp in milliseconds when the foreground period started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - view_id (string) — View ID active during this foreground period.\n - session (object)\n - end (string) — Unix timestamp in milliseconds when the session ended (or was last updated, if still active). CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - is_active (boolean) — Whether the session was still active as of the last recorded event.\n - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction.\n - source (string) — SDK platform that recorded the session. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity]\n - start (string) — Unix timestamp in milliseconds when the session started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - views (array) — Every view recorded during the session, in chronological order.\n - container_source (string) — SDK platform of the container app, when this view is embedded (e.g. a WebView inside a native app).\n - container_view_id (string) — View ID of the containing view, when this view is embedded.\n - end (string) — Unix timestamp in milliseconds when the view ended. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - is_active (boolean) — Whether the view was still active as of the last recorded event.\n - loading_type (string) — How the view was entered, e.g. `initial_load`, `route_change`.\n - name (string) — View name, typically the route or screen name.\n - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction.\n - source (string) — SDK platform that recorded the view. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity]\n - start (string) — Unix timestamp in milliseconds when the view started. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - url (string) — URL (web) or screen identifier (mobile) associated with the view.\n - view_id (string) — Unique ID of the view within the session.\n", "SessionReplay.Segments": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - items (array) — Presigned, time-limited URLs (valid 1 hour) for downloading each segment's raw compressed bytes.\n - search_after_ctx (string) — Pagination cursor to pass as `search_after_ctx` on the next call. Empty when this page was the last one.\n", - "Sessions.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - events (array) (required) — Recent events, ascending by (created_at, event_id).\n - actions (object) — ADK actions envelope (state deltas, transfers, escalation).\n - author (string) — Event author (e.g. user, the agent name).\n - branch (string) — ADK branch path for nested agents.\n - content (object) — ADK content envelope {role, parts:[...]}.\n - created_at (integer) (required) — Unix timestamp in milliseconds when the event was written.\n - error_code (string) — Error code when the event represents a failure.\n - error_message (string) — Human-readable error message, when present.\n - event_id (string) (required) — Event identifier.\n - invocation_id (string) — ADK invocation id grouping a turn.\n - partial (boolean) (required) — True for a streaming partial chunk.\n - session_id (string) (required) — Owning session id.\n - status (string) — Event status. [normal, compressed]\n - turn_complete (boolean) (required) — True on the terminal event of a turn.\n - usage_metadata (object) — Per-turn token usage metadata.\n - has_more_older (boolean) (required) — True when older events remain beyond this page.\n - search_after_ctx (string) — Opaque keyset cursor; pass back as search_after_ctx to fetch the next older page. Omitted when has_more_older is false.\n - session (object) (required) — One agent session row.\n - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link]\n - app_name (string) (required) — Agent app that owns the session.\n - archived_at (integer) (required) — Unix timestamp in milliseconds when archived; 0 means not archived.\n - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message.\n - id (string) (required) — Environment identifier: a cloud sandbox ID for `cloud` bindings, a runner/environment ID for `byoc` bindings.\n - kind (string) (required) — Environment kind bound to the session: `cloud` (managed sandbox) or `byoc` (self-hosted runner). [cloud, byoc]\n - name (string) — Human-readable environment name; empty for cloud bindings using the default allowlist.\n - status (string) — Live binding health, namespaced by kind: BYOC uses online/pending/offline/deleted; cloud uses available/rebuilding/expired. [online, pending, offline, deleted, available, rebuilding, expired]\n - can_continue (boolean) (required) — True when the caller can add a new turn to this session.\n - can_fork (boolean) (required) — True when the caller can fork this session.\n - can_manage (boolean) (required) — True when the caller may rename/archive/delete the session; personal sessions are creator-only, team sessions allow the creator, account admin, or team member.\n - can_view (boolean) (required) — True when the caller can view this session.\n - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session.\n - account_pack_id (string) — Resolved account-scoped pack id.\n - incident_id (string) — Bound incident id, when war-room originated.\n - resolved_at_ms (integer) (required) — Unix timestamp in milliseconds when the packs were resolved.\n - team_pack_id (string) — Resolved team-scoped pack id.\n - versions (object) — Per-pack resolved version map.\n - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown.\n - created_at (integer) (required) — Unix timestamp in milliseconds when the session was created.\n - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed.\n - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round.\n - current_turn_started_at (integer) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet.\n - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle.\n - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round.\n - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent]\n - has_unread (boolean) (required) — True when there is assistant output the caller has not yet viewed.\n - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions.\n - is_mine (boolean) (required) — True when the caller created this session.\n - is_running (boolean) (required) — True when an agent turn is currently in flight for this session.\n - last_event_at (integer) — Unix timestamp in milliseconds of the most recent assistant-side event.\n - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise.\n - person_id (string) (required) — Creator person id.\n - pinned_at (integer) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned.\n - session_id (string) (required) — Session identifier.\n - session_name (string) (required) — Session title; may be empty for untitled sessions.\n - share_enabled (boolean) (required) — True when the session's share link is active.\n - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked.\n - shared_at (integer) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared.\n - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared.\n - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty.\n - status (string) (required) — Lifecycle status. [enabled, deleted]\n - team_id (integer) (required) — Owning team id; 0 means no team is bound. Immutable after create.\n - team_name (string) — Resolved team name; empty for unbound rows or deleted teams.\n - template_staging_round_id (string) — Current save→validate round id (template-assistant only); empty otherwise.\n - token_usage (object) — Cumulative session-level token rollup across all turns. The account-billing source of truth.\n - cached_tokens (integer) (required) — Portion of input_tokens served from the prompt cache.\n - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion.\n - output_tokens (integer) (required) — Total generated (output) tokens.\n - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens.\n - updated_at (integer) (required) — Unix timestamp in milliseconds of the last session update.\n - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not specific to this session.\n", - "Sessions.ReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - sessions (array) (required) — The page of sessions.\n - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link]\n - app_name (string) (required) — Agent app that owns the session.\n - archived_at (integer) (required) — Unix timestamp in milliseconds when archived; 0 means not archived.\n - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message.\n - id (string) (required) — Environment identifier: a cloud sandbox ID for `cloud` bindings, a runner/environment ID for `byoc` bindings.\n - kind (string) (required) — Environment kind bound to the session: `cloud` (managed sandbox) or `byoc` (self-hosted runner). [cloud, byoc]\n - name (string) — Human-readable environment name; empty for cloud bindings using the default allowlist.\n - status (string) — Live binding health, namespaced by kind: BYOC uses online/pending/offline/deleted; cloud uses available/rebuilding/expired. [online, pending, offline, deleted, available, rebuilding, expired]\n - can_continue (boolean) (required) — True when the caller can add a new turn to this session.\n - can_fork (boolean) (required) — True when the caller can fork this session.\n - can_manage (boolean) (required) — True when the caller may rename/archive/delete the session; personal sessions are creator-only, team sessions allow the creator, account admin, or team member.\n - can_view (boolean) (required) — True when the caller can view this session.\n - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session.\n - account_pack_id (string) — Resolved account-scoped pack id.\n - incident_id (string) — Bound incident id, when war-room originated.\n - resolved_at_ms (integer) (required) — Unix timestamp in milliseconds when the packs were resolved.\n - team_pack_id (string) — Resolved team-scoped pack id.\n - versions (object) — Per-pack resolved version map.\n - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown.\n - created_at (integer) (required) — Unix timestamp in milliseconds when the session was created.\n - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed.\n - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round.\n - current_turn_started_at (integer) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet.\n - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle.\n - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round.\n - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent]\n - has_unread (boolean) (required) — True when there is assistant output the caller has not yet viewed.\n - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions.\n - is_mine (boolean) (required) — True when the caller created this session.\n - is_running (boolean) (required) — True when an agent turn is currently in flight for this session.\n - last_event_at (integer) — Unix timestamp in milliseconds of the most recent assistant-side event.\n - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise.\n - person_id (string) (required) — Creator person id.\n - pinned_at (integer) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned.\n - session_id (string) (required) — Session identifier.\n - session_name (string) (required) — Session title; may be empty for untitled sessions.\n - share_enabled (boolean) (required) — True when the session's share link is active.\n - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked.\n - shared_at (integer) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared.\n - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared.\n - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty.\n - status (string) (required) — Lifecycle status. [enabled, deleted]\n - team_id (integer) (required) — Owning team id; 0 means no team is bound. Immutable after create.\n - team_name (string) — Resolved team name; empty for unbound rows or deleted teams.\n - template_staging_round_id (string) — Current save→validate round id (template-assistant only); empty otherwise.\n - token_usage (object) — Cumulative session-level token rollup across all turns. The account-billing source of truth.\n - cached_tokens (integer) (required) — Portion of input_tokens served from the prompt cache.\n - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion.\n - output_tokens (integer) (required) — Total generated (output) tokens.\n - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens.\n - updated_at (integer) (required) — Unix timestamp in milliseconds of the last session update.\n - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not dependent on this call's filters.\n - total (integer) (required) — Total number of sessions matching the filter (ignoring pagination).\n", - "Skills.ReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - version (string) — Skill version from the frontmatter.\n", - "Skills.ReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - skills (array) (required) — Skills on this page.\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - version (string) — Skill version from the frontmatter.\n - total (integer) (required) — Total number of matching skills.\n", - "Skills.WriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - version (string) — Skill version from the frontmatter.\n", - "Skills.WriteUpload": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds.\n - version (string) — Skill version from the frontmatter.\n", - "Sourcemaps.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (integer) — Upload timestamp, Unix epoch seconds.\n - git_commit_sha (string) — Git commit SHA for this build.\n - git_repository_url (string) — Git repository URL associated with this build.\n - key (string) — Storage key uniquely identifying this sourcemap file.\n - metadata (object) — Free-form key-value metadata attached to the sourcemap. Shape depends on the upload client; common keys include `git_repository_url` and `git_commit_sha` (though those are also promoted to top-level fields).\n - service (string) — Application or service name.\n - size (integer) — File size in bytes.\n - type (string) — Platform type: `browser`, `android`, or `ios`. [browser, android, ios]\n - updated_at (integer) — Last update timestamp, Unix epoch seconds.\n - version (string) — Application version string.\n", + "Sessions.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - events (array) (required) — Recent events, ascending by (created_at, event_id).\n - actions (object) — ADK actions envelope (state deltas, transfers, escalation).\n - author (string) — Event author (e.g. user, the agent name).\n - branch (string) — ADK branch path for nested agents.\n - content (object) — ADK content envelope {role, parts:[...]}.\n - created_at (string) (required) — Unix timestamp in milliseconds when the event was written. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - error_code (string) — Error code when the event represents a failure.\n - error_message (string) — Human-readable error message, when present.\n - event_id (string) (required) — Event identifier.\n - invocation_id (string) — ADK invocation id grouping a turn.\n - partial (boolean) (required) — True for a streaming partial chunk.\n - session_id (string) (required) — Owning session id.\n - status (string) — Event status. [normal, compressed]\n - turn_complete (boolean) (required) — True on the terminal event of a turn.\n - usage_metadata (object) — Per-turn token usage metadata.\n - has_more_older (boolean) (required) — True when older events remain beyond this page.\n - search_after_ctx (string) — Opaque keyset cursor; pass back as search_after_ctx to fetch the next older page. Omitted when has_more_older is false.\n - session (object) (required) — One agent session row.\n - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link]\n - app_name (string) (required) — Agent app that owns the session.\n - archived_at (string) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message.\n - id (string) (required) — Environment identifier: a cloud sandbox ID for `cloud` bindings, a runner/environment ID for `byoc` bindings.\n - kind (string) (required) — Environment kind bound to the session: `cloud` (managed sandbox) or `byoc` (self-hosted runner). [cloud, byoc]\n - name (string) — Human-readable environment name; empty for cloud bindings using the default allowlist.\n - status (string) — Live binding health, namespaced by kind: BYOC uses online/pending/offline/deleted; cloud uses available/rebuilding/expired. [online, pending, offline, deleted, available, rebuilding, expired]\n - can_continue (boolean) (required) — True when the caller can add a new turn to this session.\n - can_fork (boolean) (required) — True when the caller can fork this session.\n - can_manage (boolean) (required) — True when the caller may rename/archive/delete the session; personal sessions are creator-only, team sessions allow the creator, account admin, or team member.\n - can_view (boolean) (required) — True when the caller can view this session.\n - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session.\n - account_pack_id (string) — Resolved account-scoped pack id.\n - incident_id (string) — Bound incident id, when war-room originated.\n - resolved_at_ms (string) (required) — Unix timestamp in milliseconds when the packs were resolved. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - team_pack_id (string) — Resolved team-scoped pack id.\n - versions (object) — Per-pack resolved version map.\n - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown.\n - created_at (string) (required) — Unix timestamp in milliseconds when the session was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed.\n - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round.\n - current_turn_started_at (string) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle.\n - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round.\n - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent]\n - has_unread (boolean) (required) — True when there is assistant output the caller has not yet viewed.\n - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions.\n - is_mine (boolean) (required) — True when the caller created this session.\n - is_running (boolean) (required) — True when an agent turn is currently in flight for this session.\n - last_event_at (string) — Unix timestamp in milliseconds of the most recent assistant-side event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise.\n - person_id (string) (required) — Creator person id.\n - pinned_at (string) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - session_id (string) (required) — Session identifier.\n - session_name (string) (required) — Session title; may be empty for untitled sessions.\n - share_enabled (boolean) (required) — True when the session's share link is active.\n - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked.\n - shared_at (string) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared.\n - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty.\n - status (string) (required) — Lifecycle status. [enabled, deleted]\n - team_id (integer) (required) — Owning team id; 0 means no team is bound. Immutable after create.\n - team_name (string) — Resolved team name; empty for unbound rows or deleted teams.\n - template_staging_round_id (string) — Current save→validate round id (template-assistant only); empty otherwise.\n - token_usage (object) — Cumulative session-level token rollup across all turns. The account-billing source of truth.\n - cached_tokens (integer) (required) — Portion of input_tokens served from the prompt cache.\n - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion.\n - output_tokens (integer) (required) — Total generated (output) tokens.\n - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens.\n - updated_at (string) (required) — Unix timestamp in milliseconds of the last session update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not specific to this session.\n", + "Sessions.ReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - sessions (array) (required) — The page of sessions.\n - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link]\n - app_name (string) (required) — Agent app that owns the session.\n - archived_at (string) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message.\n - id (string) (required) — Environment identifier: a cloud sandbox ID for `cloud` bindings, a runner/environment ID for `byoc` bindings.\n - kind (string) (required) — Environment kind bound to the session: `cloud` (managed sandbox) or `byoc` (self-hosted runner). [cloud, byoc]\n - name (string) — Human-readable environment name; empty for cloud bindings using the default allowlist.\n - status (string) — Live binding health, namespaced by kind: BYOC uses online/pending/offline/deleted; cloud uses available/rebuilding/expired. [online, pending, offline, deleted, available, rebuilding, expired]\n - can_continue (boolean) (required) — True when the caller can add a new turn to this session.\n - can_fork (boolean) (required) — True when the caller can fork this session.\n - can_manage (boolean) (required) — True when the caller may rename/archive/delete the session; personal sessions are creator-only, team sessions allow the creator, account admin, or team member.\n - can_view (boolean) (required) — True when the caller can view this session.\n - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session.\n - account_pack_id (string) — Resolved account-scoped pack id.\n - incident_id (string) — Bound incident id, when war-room originated.\n - resolved_at_ms (string) (required) — Unix timestamp in milliseconds when the packs were resolved. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - team_pack_id (string) — Resolved team-scoped pack id.\n - versions (object) — Per-pack resolved version map.\n - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown.\n - created_at (string) (required) — Unix timestamp in milliseconds when the session was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed.\n - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round.\n - current_turn_started_at (string) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle.\n - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round.\n - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent]\n - has_unread (boolean) (required) — True when there is assistant output the caller has not yet viewed.\n - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions.\n - is_mine (boolean) (required) — True when the caller created this session.\n - is_running (boolean) (required) — True when an agent turn is currently in flight for this session.\n - last_event_at (string) — Unix timestamp in milliseconds of the most recent assistant-side event. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise.\n - person_id (string) (required) — Creator person id.\n - pinned_at (string) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - session_id (string) (required) — Session identifier.\n - session_name (string) (required) — Session title; may be empty for untitled sessions.\n - share_enabled (boolean) (required) — True when the session's share link is active.\n - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked.\n - shared_at (string) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared.\n - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty.\n - status (string) (required) — Lifecycle status. [enabled, deleted]\n - team_id (integer) (required) — Owning team id; 0 means no team is bound. Immutable after create.\n - team_name (string) — Resolved team name; empty for unbound rows or deleted teams.\n - template_staging_round_id (string) — Current save→validate round id (template-assistant only); empty otherwise.\n - token_usage (object) — Cumulative session-level token rollup across all turns. The account-billing source of truth.\n - cached_tokens (integer) (required) — Portion of input_tokens served from the prompt cache.\n - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion.\n - output_tokens (integer) (required) — Total generated (output) tokens.\n - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens.\n - updated_at (string) (required) — Unix timestamp in milliseconds of the last session update. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not dependent on this call's filters.\n - total (integer) (required) — Total number of sessions matching the filter (ignoring pagination).\n", + "Skills.ReadGet": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) — Skill version from the frontmatter.\n", + "Skills.ReadList": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - skills (array) (required) — Skills on this page.\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) — Skill version from the frontmatter.\n - total (integer) (required) — Total number of matching skills.\n", + "Skills.WriteUpdate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) — Skill version from the frontmatter.\n", + "Skills.WriteUpload": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - author (string) — Skill author.\n - can_edit (boolean) (required) — Whether the caller may edit this skill.\n - checksum (string) — SHA-256 checksum of the skill zip.\n - content (string) — Full SKILL.md content. Omitted in list responses.\n - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update.\n - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - created_by (integer) (required) — Member ID that created the skill.\n - description (string) (required) — Human-readable description from the SKILL.md frontmatter.\n - description_en (string) — Optional English description. English-locale UI responses prefer this over `description`; the skill catalog also uses it as a stable selection signal when `description` is localized for display.\n - is_modified (boolean) (required) — True when a marketplace-sourced skill was edited locally (auto-update skips it).\n - license (string) — Skill license.\n - s3_key (string) — Object-storage key of the skill zip.\n - skill_id (string) (required) — Unique skill ID (prefix `skill_`).\n - skill_name (string) (required) — Skill name, unique within the account.\n - source_template_name (string) — Marketplace template this skill was installed from; empty for user-authored.\n - source_template_version (string) — Template version at install time.\n - status (string) (required) — Skill status. Deleted skills are excluded from every API response, so only these two values are ever returned. [enabled, disabled]\n - tags (array) — Tags parsed from the frontmatter.\n - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team.\n - tools (array) — Required tools (builtin or `mcp:server/tool`).\n - update_available (boolean) (required) — True when the marketplace has a newer template version.\n - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) — Skill version from the frontmatter.\n", + "Sourcemaps.List": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - created_at (string) — Upload timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - git_commit_sha (string) — Git commit SHA for this build.\n - git_repository_url (string) — Git repository URL associated with this build.\n - key (string) — Storage key uniquely identifying this sourcemap file.\n - metadata (object) — Free-form key-value metadata attached to the sourcemap. Shape depends on the upload client; common keys include `git_repository_url` and `git_commit_sha` (though those are also promoted to top-level fields).\n - service (string) — Application or service name.\n - size (integer) — File size in bytes.\n - type (string) — Platform type: `browser`, `android`, or `ios`. [browser, android, ios]\n - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - version (string) — Application version string.\n", "Sourcemaps.StackEnrich": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - frames (array) (required)\n - address (string) — iOS or native memory address.\n - class_name (string) — Android Java/Kotlin class name.\n - code_snippets (array) — Source-code snippets around this frame.\n - code (string) (required) — Source code on that line.\n - line (integer) (required) — Source line number.\n - column (integer) — Column number for JavaScript or Flutter frames.\n - converted (boolean) (required) — Whether the frame was successfully symbolicated or deobfuscated.\n - file (string) — Source file, URL, or module path.\n - function (string) — Function or method name.\n - line (integer) — Line number.\n - method_name (string) — Android Java/Kotlin method name without class prefix.\n - module (string) — iOS Swift/Objective-C module name.\n - native_address (string) — Unity IL native address.\n - offset (integer) — Symbol offset from function start.\n - original_frame (object) — Parsed stack frame fields shared across platforms.\n - address (string) — iOS or native memory address.\n - class_name (string) — Android Java/Kotlin class name.\n - column (integer) — Column number for JavaScript or Flutter frames.\n - file (string) — Source file, URL, or module path.\n - function (string) — Function or method name.\n - line (integer) — Line number.\n - method_name (string) — Android Java/Kotlin method name without class prefix.\n - module (string) — iOS Swift/Objective-C module name.\n - native_address (string) — Unity IL native address.\n - offset (integer) — Symbol offset from function start.\n - third_party (boolean) — Whether the frame is from third-party or system libraries.\n", - "StatusPages.ChangeActiveList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (integer) — Event start time in unix seconds.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (integer) (required) — Update timestamp in unix seconds.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", + "StatusPages.ChangeActiveList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (string) — Event start time in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (string) (required) — Update timestamp in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", "StatusPages.ChangeCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - change_id (integer) (required) — Newly created event ID.\n - change_name (string) (required) — Event title (echoed from the request).\n", - "StatusPages.ChangeInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (integer) — Event start time in unix seconds.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (integer) (required) — Update timestamp in unix seconds.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", - "StatusPages.ChangeList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (integer) — Event start time in unix seconds.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (integer) (required) — Update timestamp in unix seconds.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", + "StatusPages.ChangeInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (string) — Event start time in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (string) (required) — Update timestamp in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", + "StatusPages.ChangeList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - affected_components (array) — Components currently affected by this event, with their resulting status.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window.\n - change_id (integer) (required) — Event ID.\n - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - description (string) — Event description (Markdown).\n - is_retrospective (boolean) — Whether this event is a retrospective (historical) one.\n - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.).\n - notify_subscribers (boolean) — Whether subscribers were notified about this event.\n - page_id (integer) — Parent status page ID.\n - responder_ids (array) — Member IDs responsible for this event.\n - start_at_seconds (string) — Event start time in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - status (string) — Current event status. Incident statuses: `investigating`/`identified`/`monitoring`/`resolved`. Maintenance statuses: `scheduled`/`ongoing`/`completed`. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - title (string) (required) — Event title.\n - type (string) (required) — Event type. [incident, maintenance]\n - updates (array) — Timeline updates attached to this event, ordered by time.\n - at_seconds (string) (required) — Update timestamp in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_changes (array) — Component status transitions applied by this update.\n - component_id (string) (required) — Component ID.\n - component_name (string) — Component display name. Populated by the backend on read; ignored on write.\n - status (string) (required) — New component status. Incidents support `operational`/`degraded`/`partial_outage`/`full_outage`; maintenances support `operational`/`under_maintenance`. [operational, degraded, partial_outage, full_outage, under_maintenance]\n - description (string) — Update description (Markdown).\n - status (string) — Event status after this update. Omitted when the update does not change the overall status. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed]\n - update_id (string) (required) — Update ID.\n", "StatusPages.ChangeTimelineCreate": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - update_id (string) (required) — Newly created update ID.\n", "StatusPages.ComponentUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - component_ids (array) (required) — IDs of the created or updated components, in the same order as the request.\n", "StatusPages.Create": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - page_id (integer) (required) — Created status page ID.\n - page_name (string) (required) — Created status page name.\n - page_url_name (string) (required) — Final URL-safe slug assigned to the status page.\n", - "StatusPages.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - components (array) — Components tracked on the status page.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - contact_info (string) — Get-in-touch contact, a mailto or website URL.\n - custom_domain (string) — Custom domain pointing to the status page.\n - custom_links (array) — Custom navigation links shown on the status page.\n - dark_logo (string) — Dark-mode logo image of the status page.\n - date_view (string) — How the timeline is displayed. [calendar, list]\n - display_uptime_mode (string) — How uptime is displayed. [chart_and_percentage, chart, none]\n - favicon (string) — Favicon of the status page.\n - logo (string) — Logo image of the status page.\n - logo_url (string) — URL opened when the logo is clicked.\n - name (string) — Display name of the status page.\n - page_footer (string) — Footer content of the status page.\n - page_header (string) — Header content of the status page.\n - page_id (integer) — Status page ID.\n - sections (array) — Sections grouping the components.\n - description (string) — Section description.\n - hide_all (boolean) — Whether the section and its components are hidden from summary endpoints.\n - hide_uptime (boolean) — Whether uptime data is hidden from summary responses.\n - name (string) — Section name.\n - order_id (integer) — Display order of the section.\n - section_id (string) — Section ID.\n - subscription (object)\n - email (boolean) — Whether email subscription is enabled.\n - im (boolean) — Whether IM subscription is enabled.\n - template_preference (string) — Preferred change-event template type.\n - type (string) — Visibility type of the status page. [public, internal]\n - url_name (string) — URL-safe slug, unique per account.\n", + "StatusPages.Info": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - components (array) — Components tracked on the status page.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - contact_info (string) — Get-in-touch contact, a mailto or website URL.\n - custom_domain (string) — Custom domain pointing to the status page.\n - custom_links (array) — Custom navigation links shown on the status page.\n - dark_logo (string) — Dark-mode logo image of the status page.\n - date_view (string) — How the timeline is displayed. [calendar, list]\n - display_uptime_mode (string) — How uptime is displayed. [chart_and_percentage, chart, none]\n - favicon (string) — Favicon of the status page.\n - logo (string) — Logo image of the status page.\n - logo_url (string) — URL opened when the logo is clicked.\n - name (string) — Display name of the status page.\n - page_footer (string) — Footer content of the status page.\n - page_header (string) — Header content of the status page.\n - page_id (integer) — Status page ID.\n - sections (array) — Sections grouping the components.\n - description (string) — Section description.\n - hide_all (boolean) — Whether the section and its components are hidden from summary endpoints.\n - hide_uptime (boolean) — Whether uptime data is hidden from summary responses.\n - name (string) — Section name.\n - order_id (integer) — Display order of the section.\n - section_id (string) — Section ID.\n - subscription (object)\n - email (boolean) — Whether email subscription is enabled.\n - im (boolean) — Whether IM subscription is enabled.\n - template_preference (string) — Preferred change-event template type.\n - type (string) — Visibility type of the status page. [public, internal]\n - url_name (string) — URL-safe slug, unique per account.\n", "StatusPages.MigrateEmailSubscribers": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - job_id (string) (required) — Migration job ID. Use this to poll status or request cancellation.\n", "StatusPages.MigrateStructure": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - job_id (string) (required) — Migration job ID. Use this to poll status or request cancellation.\n", - "StatusPages.MigrationStatus": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owner account ID.\n - created_at (integer) (required) — Job creation time, unix seconds.\n - error (string) — Terminal error message when `status` is `failed`.\n - job_id (string) (required) — Migration job ID.\n - phase (string) (required) — Current migration phase. [structure, history, subscribers]\n - progress (object) (required) — Per-entity progress counters.\n - completed_steps (integer) (required) — Steps completed so far.\n - components_imported (integer) (required)\n - incidents_imported (integer) (required)\n - maintenances_imported (integer) (required)\n - sections_imported (integer) (required)\n - subscribers_imported (integer) (required)\n - subscribers_skipped (integer) (required) — Number of subscribers skipped (e.g. because they would create duplicates).\n - templates_imported (integer) (required)\n - total_steps (integer) (required) — Total steps this job will perform.\n - warnings (array) — Non-fatal warnings recorded during the job.\n - source_page_id (string) (required) — Atlassian Statuspage source page ID.\n - status (string) (required) — Current job status. [pending, running, completed, failed, cancelled]\n - target_page_id (integer) (required) — Flashduty target status page ID. Set once the job produces one, or supplied up front for subscriber migration.\n - updated_at (integer) (required) — Last status update time, unix seconds.\n", - "StatusPages.ReadPageList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - components (array) — Components tracked on the status page.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - contact_info (string) — Get-in-touch contact, a mailto or website URL.\n - custom_domain (string) — Custom domain pointing to the status page.\n - custom_links (array) — Custom navigation links shown on the status page.\n - dark_logo (string) — Dark-mode logo image of the status page.\n - date_view (string) — How the timeline is displayed. [calendar, list]\n - display_uptime_mode (string) — How uptime is displayed. [chart_and_percentage, chart, none]\n - favicon (string) — Favicon of the status page.\n - logo (string) — Logo image of the status page.\n - logo_url (string) — URL opened when the logo is clicked.\n - name (string) — Display name of the status page.\n - page_footer (string) — Footer content of the status page.\n - page_header (string) — Header content of the status page.\n - page_id (integer) — Status page ID.\n - sections (array) — Sections grouping the components.\n - description (string) — Section description.\n - hide_all (boolean) — Whether the section and its components are hidden from summary endpoints.\n - hide_uptime (boolean) — Whether uptime data is hidden from summary responses.\n - name (string) — Section name.\n - order_id (integer) — Display order of the section.\n - section_id (string) — Section ID.\n - subscription (object)\n - email (boolean) — Whether email subscription is enabled.\n - im (boolean) — Whether IM subscription is enabled.\n - template_preference (string) — Preferred change-event template type.\n - type (string) — Visibility type of the status page. [public, internal]\n - url_name (string) — URL-safe slug, unique per account.\n", + "StatusPages.MigrationStatus": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owner account ID.\n - created_at (string) (required) — Job creation time, unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - error (string) — Terminal error message when `status` is `failed`.\n - job_id (string) (required) — Migration job ID.\n - phase (string) (required) — Current migration phase. [structure, history, subscribers]\n - progress (object) (required) — Per-entity progress counters.\n - completed_steps (integer) (required) — Steps completed so far.\n - components_imported (integer) (required)\n - incidents_imported (integer) (required)\n - maintenances_imported (integer) (required)\n - sections_imported (integer) (required)\n - subscribers_imported (integer) (required)\n - subscribers_skipped (integer) (required) — Number of subscribers skipped (e.g. because they would create duplicates).\n - templates_imported (integer) (required)\n - total_steps (integer) (required) — Total steps this job will perform.\n - warnings (array) — Non-fatal warnings recorded during the job.\n - source_page_id (string) (required) — Atlassian Statuspage source page ID.\n - status (string) (required) — Current job status. [pending, running, completed, failed, cancelled]\n - target_page_id (integer) (required) — Flashduty target status page ID. Set once the job produces one, or supplied up front for subscriber migration.\n - updated_at (string) (required) — Last status update time, unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n", + "StatusPages.ReadPageList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - components (array) — Components tracked on the status page.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - contact_info (string) — Get-in-touch contact, a mailto or website URL.\n - custom_domain (string) — Custom domain pointing to the status page.\n - custom_links (array) — Custom navigation links shown on the status page.\n - dark_logo (string) — Dark-mode logo image of the status page.\n - date_view (string) — How the timeline is displayed. [calendar, list]\n - display_uptime_mode (string) — How uptime is displayed. [chart_and_percentage, chart, none]\n - favicon (string) — Favicon of the status page.\n - logo (string) — Logo image of the status page.\n - logo_url (string) — URL opened when the logo is clicked.\n - name (string) — Display name of the status page.\n - page_footer (string) — Footer content of the status page.\n - page_header (string) — Header content of the status page.\n - page_id (integer) — Status page ID.\n - sections (array) — Sections grouping the components.\n - description (string) — Section description.\n - hide_all (boolean) — Whether the section and its components are hidden from summary endpoints.\n - hide_uptime (boolean) — Whether uptime data is hidden from summary responses.\n - name (string) — Section name.\n - order_id (integer) — Display order of the section.\n - section_id (string) — Section ID.\n - subscription (object)\n - email (boolean) — Whether email subscription is enabled.\n - im (boolean) — Whether IM subscription is enabled.\n - template_preference (string) — Preferred change-event template type.\n - type (string) — Visibility type of the status page. [public, internal]\n - url_name (string) — URL-safe slug, unique per account.\n", "StatusPages.SectionUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - section_ids (array) (required) — IDs of the created or updated sections, in the same order as the request.\n", - "StatusPages.SubscriberList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - all (boolean) (required) — Whether the subscriber is subscribed to all components.\n - components (array) (required) — Components this subscriber has subscribed to.\n - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - locale (string) — Preferred locale for notifications.\n - method (string) (required) — Subscription delivery method. [email, im]\n - recipient (string) (required) — Subscriber recipient: email address for public pages, user ID for internal pages.\n", + "StatusPages.SubscriberList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - all (boolean) (required) — Whether the subscriber is subscribed to all components.\n - components (array) (required) — Components this subscriber has subscribed to.\n - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - component_id (string) — Component ID.\n - description (string) — Component description.\n - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints.\n - hide_uptime (boolean) — When true, uptime data is hidden from summary responses.\n - name (string) (required) — Component display name.\n - order_id (integer) — Display order within its section.\n - section_id (string) — Parent section ID.\n - locale (string) — Preferred locale for notifications.\n - method (string) (required) — Subscription delivery method. [email, im]\n - recipient (string) (required) — Subscriber recipient: email address for public pages, user ID for internal pages.\n", "StatusPages.TemplateUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - template_id (string) (required) — ID of the created or updated template.\n", - "Teams.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - created_at (integer) (required) — Unix epoch seconds the team was created.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - description (string) (required) — Free-form description.\n - person_ids (array) (required) — Member IDs of team members.\n - ref_id (string) (required) — External reference ID for third-party HR system integration.\n - status (string) (required) — Team status. [enabled, disabled]\n - team_id (integer) (required) — Unique team ID.\n - team_name (string) (required) — Team display name. 1–39 characters, unique per account.\n - updated_at (integer) (required) — Unix epoch seconds the team was last updated.\n - updated_by (integer) (required) — Member ID of the last editor.\n - updated_by_name (string) (required) — Display name of the last editor.\n", + "Teams.ReadInfo": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - account_id (integer) (required) — Owning account ID.\n - created_at (string) (required) — Unix epoch seconds the team was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - description (string) (required) — Free-form description.\n - person_ids (array) (required) — Member IDs of team members.\n - ref_id (string) (required) — External reference ID for third-party HR system integration.\n - status (string) (required) — Team status. [enabled, disabled]\n - team_id (integer) (required) — Unique team ID.\n - team_name (string) (required) — Team display name. 1–39 characters, unique per account.\n - updated_at (string) (required) — Unix epoch seconds the team was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last editor.\n - updated_by_name (string) (required) — Display name of the last editor.\n", "Teams.ReadInfos": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - person_ids (array)\n - team_id (integer)\n - team_name (string)\n", - "Teams.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - created_at (integer) (required) — Unix epoch seconds the team was created.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - description (string) (required) — Free-form description.\n - person_ids (array) (required) — Member IDs of team members.\n - ref_id (string) (required) — External reference ID for third-party HR system integration.\n - status (string) (required) — Team status. [enabled, disabled]\n - team_id (integer) (required) — Unique team ID.\n - team_name (string) (required) — Team display name. 1–39 characters, unique per account.\n - updated_at (integer) (required) — Unix epoch seconds the team was last updated.\n - updated_by (integer) (required) — Member ID of the last editor.\n - updated_by_name (string) (required) — Display name of the last editor.\n", + "Teams.ReadList": "Response fields (this command's `--json` is a TOP-LEVEL array of these row objects — pipe `jq '.[]'`, NOT `.items[]`):\n - account_id (integer) (required) — Owning account ID.\n - created_at (string) (required) — Unix epoch seconds the team was created. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - creator_id (integer) (required) — Member ID of the creator.\n - creator_name (string) (required) — Display name of the creator.\n - description (string) (required) — Free-form description.\n - person_ids (array) (required) — Member IDs of team members.\n - ref_id (string) (required) — External reference ID for third-party HR system integration.\n - status (string) (required) — Team status. [enabled, disabled]\n - team_id (integer) (required) — Unique team ID.\n - team_name (string) (required) — Team display name. 1–39 characters, unique per account.\n - updated_at (string) (required) — Unix epoch seconds the team was last updated. CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0.\n - updated_by (integer) (required) — Member ID of the last editor.\n - updated_by_name (string) (required) — Display name of the last editor.\n", "Teams.WriteUpsert": "Response fields (`data` envelope is unwrapped — these fields are at the top level):\n - team_id (integer) (required) — Created or updated team ID.\n - team_name (string) (required) — Team name echoed from the request.\n", } diff --git a/internal/cli/zz_generated_roles_permissions.go b/internal/cli/zz_generated_roles_permissions.go index e202645..d7e70fe 100644 --- a/internal/cli/zz_generated_roles_permissions.go +++ b/internal/cli/zz_generated_roles_permissions.go @@ -24,14 +24,14 @@ Request fields: --role-id int (required) — Role ID to query. Get IDs from 'POST /role/list' (built-in roles: 2=Admin, 6=Responder, 8=Viewer). Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) (required) — Unix epoch seconds the role was created. + - created_at (string) (required) — Unix epoch seconds the role was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Role description. - editable (boolean) (required) — False for built-in roles which cannot be modified. - permission_ids (array) (required) — IDs of permissions granted by this role. - role_id (integer) (required) — Unique role ID. - role_name (string) (required) — Role display name. - status (string) (required) — Role status. [enabled, disabled] - - updated_at (integer) (required) — Unix epoch seconds the role was last updated. + - updated_at (string) (required) — Unix epoch seconds the role was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("role_id", "role-id"), Example: ` flashduty role info --data '{"role_id":2}'`, @@ -85,14 +85,14 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) - - created_at (integer) (required) — Unix epoch seconds the role was created. + - created_at (string) (required) — Unix epoch seconds the role was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) (required) — Role description. - editable (boolean) (required) — False for built-in roles which cannot be modified. - permission_ids (array) (required) — IDs of permissions granted by this role. - role_id (integer) (required) — Unique role ID. - role_name (string) (required) — Role display name. - status (string) (required) — Role status. [enabled, disabled] - - updated_at (integer) (required) — Unix epoch seconds the role was last updated. + - updated_at (string) (required) — Unix epoch seconds the role was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - total (integer) (required) — Total role count. `, Example: ` flashduty role list --data '{"asc":false,"orderby":"created_at"}'`, diff --git a/internal/cli/zz_generated_rule_sets.go b/internal/cli/zz_generated_rule_sets.go index 9988cf3..2a28985 100644 --- a/internal/cli/zz_generated_rule_sets.go +++ b/internal/cli/zz_generated_rule_sets.go @@ -30,7 +30,7 @@ Request fields: --type-ident string (required) — Datasource type identifier this ruleset applies to, e.g. 'prometheus'. Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) (required) — Creation timestamp, Unix epoch seconds. + - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_account_id (integer) (required) — Account ID of the creator. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. @@ -39,7 +39,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - open_flag (integer) (required) — Sharing scope. '0' = private (creator only), '1' = account-shared, '2' = public. - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses. - type_ident (string) (required) — Datasource type identifier this ruleset applies to. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit store-ruleset-create --data '{"note":"CPU usage alerts","open_flag":1,"payload":"[{\"prom_ql\":\"rate(cpu_usage[5m]) \u003e 0.8\"}]","type_ident":"prometheus"}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -146,7 +146,7 @@ Request fields: --id int (required) — Numeric ID of the target resource; the exact meaning depends on the API being called (e.g. datasource ID, ruleset ID). Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) (required) — Creation timestamp, Unix epoch seconds. + - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_account_id (integer) (required) — Account ID of the creator. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. @@ -155,7 +155,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - open_flag (integer) (required) — Sharing scope. '0' = private (creator only), '1' = account-shared, '2' = public. - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses. - type_ident (string) (required) — Datasource type identifier this ruleset applies to. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit store-ruleset-info --data '{"id":1}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -202,7 +202,7 @@ Request fields: --type-ident string (required) — Datasource type identifier to filter by, e.g. 'prometheus'. Response fields ('data' is a TOP-LEVEL array of these row objects — pipe 'jq '.[]'', NOT '.items[]'): - - created_at (integer) (required) — Creation timestamp, Unix epoch seconds. + - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_account_id (integer) (required) — Account ID of the creator. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. @@ -211,7 +211,7 @@ Response fields ('data' is a TOP-LEVEL array of these row objects — pipe 'jq ' - open_flag (integer) (required) — Sharing scope. '0' = private (creator only), '1' = account-shared, '2' = public. - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses. - type_ident (string) (required) — Datasource type identifier this ruleset applies to. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit store-ruleset-list --data '{"type_ident":"prometheus"}'`, RunE: func(cmd *cobra.Command, args []string) error { @@ -264,7 +264,7 @@ Request fields: --payload string (required) — New JSON string of alert rule definitions. Response fields ('data' envelope is unwrapped — these fields are at the top level): - - created_at (integer) (required) — Creation timestamp, Unix epoch seconds. + - created_at (string) (required) — Creation timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_account_id (integer) (required) — Account ID of the creator. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. @@ -273,7 +273,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - open_flag (integer) (required) — Sharing scope. '0' = private (creator only), '1' = account-shared, '2' = public. - payload (string) — JSON string containing the alert rule definitions. Omitted in list responses. - type_ident (string) (required) — Datasource type identifier this ruleset applies to. - - updated_at (integer) (required) — Last update timestamp, Unix epoch seconds. + - updated_at (string) (required) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Example: ` flashduty monit store-ruleset-update --data '{"id":1,"note":"Updated CPU alerts","open_flag":2,"payload":"[{\"prom_ql\":\"rate(cpu_usage[5m]) \u003e 0.9\"}]"}'`, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/internal/cli/zz_generated_schedules.go b/internal/cli/zz_generated_schedules.go index adb905d..f80d4a5 100644 --- a/internal/cli/zz_generated_schedules.go +++ b/internal/cli/zz_generated_schedules.go @@ -228,10 +228,10 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID. - - create_at (integer) (required) — Creation timestamp (Unix seconds). + - create_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - create_by (integer) (required) — Creator person ID. - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -241,19 +241,19 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - description (any) (required) — Schedule description. null when returned from /schedule/preview. - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview. - - end (integer) — Window end (Unix seconds). + - end (string) — Window end (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - field (string) — Field name used by the legacy update-field endpoint. - final_schedule (object) (required) — Collapsed final schedule across all layers. - layer_name (string) (required) — Layer display name. - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -261,7 +261,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview. - id (any) (required) — Schedule ID. null when returned from /schedule/preview. - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility. @@ -269,7 +269,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -277,7 +277,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - layers (array) (required) — Rotation layers defined on the schedule. - account_id (integer) (required) — Account ID. - create_at (integer) (required) — Creation timestamp (Unix seconds). @@ -318,7 +318,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - weight (integer) (required) — Layer weight for ordering. - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview. - next_oncall (object) (required) — Next on-call group, or null when unknown. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -328,8 +328,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - notify (object) (required) — Notification configuration attached to a schedule. - advance_in_time (integer) — Advance notification lead time (seconds). @@ -355,7 +355,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -363,12 +363,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview. - - start (integer) — Window start (Unix seconds). + - start (string) — Window start (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview. - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview. - - update_at (integer) (required) — Last update timestamp (Unix seconds). + - update_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - update_by (integer) (required) — Last updater person ID. `, Args: requireBodyFieldOrExactArg("schedule_id", "schedule-id"), @@ -438,10 +438,10 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Schedules assigned to the current user (or matching the requested IDs). - account_id (integer) (required) — Account ID. - - create_at (integer) (required) — Creation timestamp (Unix seconds). + - create_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - create_by (integer) (required) — Creator person ID. - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -449,22 +449,22 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - description (any) (required) — Schedule description. null when returned from /schedule/preview. - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview. - - end (integer) — Window end (Unix seconds). + - end (string) — Window end (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - field (string) — Field name used by the legacy update-field endpoint. - final_schedule (object) (required) — Collapsed final schedule across all layers. - layer_name (string) (required) — Layer display name. - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview. - id (any) (required) — Schedule ID. null when returned from /schedule/preview. - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility. @@ -472,10 +472,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - layers (array) (required) — Rotation layers defined on the schedule. - account_id (integer) (required) — Account ID. - create_at (integer) (required) — Creation timestamp (Unix seconds). @@ -514,7 +514,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - weight (integer) (required) — Layer weight for ordering. - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview. - next_oncall (object) (required) — Next on-call group, or null when unknown. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -522,8 +522,8 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - notify (object) (required) — Notification configuration attached to a schedule. - advance_in_time (integer) — Advance notification lead time (seconds). @@ -543,15 +543,15 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview. - - start (integer) — Window start (Unix seconds). + - start (string) — Window start (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview. - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview. - - update_at (integer) (required) — Last update timestamp (Unix seconds). + - update_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - update_by (integer) (required) — Last updater person ID. `, Args: requireBodyFieldOrArgs("schedule_ids", "schedule-ids"), @@ -621,10 +621,10 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Schedules on this page. - account_id (integer) (required) — Account ID. - - create_at (integer) (required) — Creation timestamp (Unix seconds). + - create_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - create_by (integer) (required) — Creator person ID. - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -632,22 +632,22 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - description (any) (required) — Schedule description. null when returned from /schedule/preview. - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview. - - end (integer) — Window end (Unix seconds). + - end (string) — Window end (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - field (string) — Field name used by the legacy update-field endpoint. - final_schedule (object) (required) — Collapsed final schedule across all layers. - layer_name (string) (required) — Layer display name. - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview. - id (any) (required) — Schedule ID. null when returned from /schedule/preview. - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility. @@ -655,10 +655,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - layers (array) (required) — Rotation layers defined on the schedule. - account_id (integer) (required) — Account ID. - create_at (integer) (required) — Creation timestamp (Unix seconds). @@ -697,7 +697,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - weight (integer) (required) — Layer weight for ordering. - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview. - next_oncall (object) (required) — Next on-call group, or null when unknown. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -705,8 +705,8 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - notify (object) (required) — Notification configuration attached to a schedule. - advance_in_time (integer) — Advance notification lead time (seconds). @@ -726,15 +726,15 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview. - - start (integer) — Window start (Unix seconds). + - start (string) — Window start (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview. - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview. - - update_at (integer) (required) — Last update timestamp (Unix seconds). + - update_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - update_by (integer) (required) — Last updater person ID. - total (integer) (required) — Total number of schedules matching the filters. `, @@ -892,10 +892,10 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Account ID. - - create_at (integer) (required) — Creation timestamp (Unix seconds). + - create_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - create_by (integer) (required) — Creator person ID. - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -905,19 +905,19 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - description (any) (required) — Schedule description. null when returned from /schedule/preview. - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview. - - end (integer) — Window end (Unix seconds). + - end (string) — Window end (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - field (string) — Field name used by the legacy update-field endpoint. - final_schedule (object) (required) — Collapsed final schedule across all layers. - layer_name (string) (required) — Layer display name. - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -925,7 +925,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview. - id (any) (required) — Schedule ID. null when returned from /schedule/preview. - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility. @@ -933,7 +933,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -941,7 +941,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - layers (array) (required) — Rotation layers defined on the schedule. - account_id (integer) (required) — Account ID. - create_at (integer) (required) — Creation timestamp (Unix seconds). @@ -982,7 +982,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - weight (integer) (required) — Layer weight for ordering. - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview. - next_oncall (object) (required) — Next on-call group, or null when unknown. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -992,8 +992,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - notify (object) (required) — Notification configuration attached to a schedule. - advance_in_time (integer) — Advance notification lead time (seconds). @@ -1019,7 +1019,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -1027,12 +1027,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview. - - start (integer) — Window start (Unix seconds). + - start (string) — Window start (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview. - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview. - - update_at (integer) (required) — Last update timestamp (Unix seconds). + - update_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - update_by (integer) (required) — Last updater person ID. `, Example: ` flashduty schedule preview --data '{"end":1712086400,"layers":[{"day_mask":{"repeat":[1,2,3,4,5]},"enable_time":1712000000,"expire_time":0,"fair_rotation":false,"groups":[{"end":0,"group_name":"A","members":[{"person_ids":[2451002751131],"role_id":0}],"name":"A","start":0}],"handoff_time":0,"hidden":0,"layer_name":"Layer 1","mask_continuous_enabled":false,"mode":0,"name":"Layer 1","restrict_end":0,"restrict_mode":0,"restrict_periods":[],"restrict_start":0,"rotation_duration":86400,"rotation_unit":"day","rotation_value":1,"weight":0}],"schedule_name":"Preview Schedule","start":1712000000}'`, @@ -1116,10 +1116,10 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) — Schedules assigned to the current user (or matching the requested IDs). - account_id (integer) (required) — Account ID. - - create_at (integer) (required) — Creation timestamp (Unix seconds). + - create_at (string) (required) — Creation timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - create_by (integer) (required) — Creator person ID. - cur_oncall (object) (required) — Current on-call group, or null when nobody is on-call. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -1127,22 +1127,22 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - description (any) (required) — Schedule description. null when returned from /schedule/preview. - disabled (any) (required) — Disabled flag (0 = enabled, 1 = disabled). Deprecated. null when returned from /schedule/preview. - - end (integer) — Window end (Unix seconds). + - end (string) — Window end (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - field (string) — Field name used by the legacy update-field endpoint. - final_schedule (object) (required) — Collapsed final schedule across all layers. - layer_name (string) (required) — Layer display name. - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group_id (any) (required) — Legacy team/group ID. null when returned from /schedule/preview. - id (any) (required) — Schedule ID. null when returned from /schedule/preview. - layer_schedules (array) (required) — Alias of schedule_layers returned for compatibility. @@ -1150,10 +1150,10 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - layers (array) (required) — Rotation layers defined on the schedule. - account_id (integer) (required) — Account ID. - create_at (integer) (required) — Creation timestamp (Unix seconds). @@ -1192,7 +1192,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - weight (integer) (required) — Layer weight for ordering. - name (any) (required) — Schedule name (legacy field; mirrors schedule_name). null when returned from /schedule/preview. - next_oncall (object) (required) — Next on-call group, or null when unknown. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - end (integer) (required) — Group end timestamp (Unix seconds). - group_name (string) (required) — Group display name. @@ -1200,8 +1200,8 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - name (string) (required) — Legacy group name. - start (integer) (required) — Group start timestamp (Unix seconds). - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). - - update_at (integer) (required) — Update timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - update_at (string) (required) — Update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - weight (integer) (required) — Layer weight the shift comes from. - notify (object) (required) — Notification configuration attached to a schedule. - advance_in_time (integer) — Advance notification lead time (seconds). @@ -1221,15 +1221,15 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - mode (integer) (required) — Layer mode: 0 = common rotation, 1 = override. - name (string) (required) — Layer internal name. - schedules (array) (required) — Computed shifts. - - end (integer) (required) — Shift end timestamp (Unix seconds). + - end (string) (required) — Shift end timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - group (object) (required) — Oncall group definition within a rotation layer. - index (integer) (required) — Index inside the rotation. - - start (integer) (required) — Shift start timestamp (Unix seconds). + - start (string) (required) — Shift start timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - schedule_name (any) (required) — Schedule display name. null when returned from /schedule/preview. - - start (integer) — Window start (Unix seconds). + - start (string) — Window start (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (any) (required) — Legacy status flag. Deprecated. null when returned from /schedule/preview. - team_id (any) (required) — Owning team ID. null when returned from /schedule/preview. - - update_at (integer) (required) — Last update timestamp (Unix seconds). + - update_at (string) (required) — Last update timestamp (Unix seconds). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - update_by (integer) (required) — Last updater person ID. `, Example: ` flashduty schedule self --data '{"end":1712086400,"start":1712000000}'`, diff --git a/internal/cli/zz_generated_service_map.go b/internal/cli/zz_generated_service_map.go index bd73050..c16b8cf 100644 --- a/internal/cli/zz_generated_service_map.go +++ b/internal/cli/zz_generated_service_map.go @@ -42,7 +42,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - returned (integer) (required) — Number of matched hosts included in this page ('<= limit'). - scanned (integer) (required) — Number of distinct candidate hosts actually examined in this request. - states (object) (required) — Count of returned items per status value; always includes all seven status keys, zero-filled. Reflects only this page, not the account's full population. - - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated. + - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - items (array) (required) — Matching hosts for this page. - agent_version (string) (required) — Agent version reported by this host. - edge_cluster (string) (required) — Edge cluster name this host belongs to. @@ -58,9 +58,9 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now. - max_age_ms (integer) — Age in milliseconds of the host's graph data, relative to when this response was generated. - node_count (integer) (required) — Number of nodes in the host's current graph. - - observed_at_ms (integer) — Unix timestamp in milliseconds the host's graph was observed by the agent. + - observed_at_ms (string) — Unix timestamp in milliseconds the host's graph was observed by the agent. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - reason_codes (array) — Machine-readable codes explaining the current status. - - received_at_ms (integer) — Unix timestamp in milliseconds the host's current graph generation was received by the server. + - received_at_ms (string) — Unix timestamp in milliseconds the host's current graph generation was received by the server. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - report_interval_ms (integer) — Configured reporting interval in milliseconds. - snapshot_ready (boolean) (required) — True if the agent has produced at least one full snapshot. - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data] @@ -150,7 +150,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - matched (integer) (required) — Number of scanned hosts that passed the agent version / edge cluster / capture mode filters and still have a current inventory row. - scanned (integer) (required) — Number of distinct candidate hosts actually examined. - states (object) (required) — Count of hosts per status value; always includes all seven keys, zero-filled. - - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated. + - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - partial (boolean) (required) — True if the scan was truncated or any host failed to classify. - scan_limit (integer) (required) — The normalized scan budget actually applied, echoing the default when the request omitted it. - truncated (boolean) (required) — True if 'scan_limit' was reached before scanning every candidate host in the account. @@ -226,7 +226,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - succeeded (integer) (required) — Number of hosts whose status was read successfully. - truncated (boolean) (required) — True if 'fleet' mode found more candidates than 'limit' allowed to return. - fleet (boolean) (required) — Echoes whether this response was produced from a fleet sample rather than explicit host IDs. - - generated_at_ms (integer) (required) — Unix timestamp in milliseconds this response was generated. + - generated_at_ms (string) (required) — Unix timestamp in milliseconds this response was generated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - items (array) (required) — Per-host status, in the same order the hosts were resolved. - authoritative (boolean) (required) — True if the host has an authoritative current graph. - capability (object) (required) — The host's self-reported ServiceMap capability. @@ -248,17 +248,17 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - error_code (string) — Set to 'status_unavailable' when this host's status could not be read; other fields fall back to inventory-derived defaults in that case. - freshness (object) (required) — How recent the host's graph data is. - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now. - - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. - - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. + - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) (required) — Freshness classification. [fresh, stale, unknown] - graph_available (boolean) (required) — True if a current graph can be fetched for this host right now. - host_id (string) (required) — Host ID this status describes. - - latest_health_at_ms (integer) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. + - latest_health_at_ms (string) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - network_scope_id (string) — Network scope resolved for this host, when known. - node_count (integer) (required) — Number of nodes in the host's current graph. - - observed_at_ms (integer) — Unix timestamp in milliseconds the host's graph was observed by the agent. + - observed_at_ms (string) — Unix timestamp in milliseconds the host's graph was observed by the agent. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - reason_codes (array) — Machine-readable codes explaining the current status. - - received_at_ms (integer) — Unix timestamp in milliseconds the host's current graph generation was received by the server. + - received_at_ms (string) — Unix timestamp in milliseconds the host's current graph generation was received by the server. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - report_interval_ms (integer) — Configured reporting interval in milliseconds. - status (string) (required) — Overall ServiceMap collection status. [active, degraded, stale, initializing, disabled, unsupported, no_data] - partial (boolean) (required) — True if any host failed or the fleet sample was truncated. @@ -342,12 +342,12 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - truncated_hosts (integer) (required) — Number of loaded host graphs that were truncated at collection time. - freshness (object) (required) — How recent the graph data is. - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now. - - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. - - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. + - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) (required) — Freshness classification. [fresh, stale, unknown] - graph_role (string) (required) — 'current' if the summary reflects the live graph; 'last_known_good' if the latest ingestion is unhealthy and this reflects the last authoritative graph instead. [current, last_known_good] - latest_collection_authoritative (boolean) (required) — False when 'graph_role=last_known_good', i.e. the most recent collection attempt was not authoritative. - - latest_health_at_ms (integer) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. + - latest_health_at_ms (string) — Unix timestamp in milliseconds of the most recent non-authoritative health signal, when more recent than the current graph. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - neighbors (array) (required) — Up to 12 outbound relations, most informative first. - active_connections (any) — Active connection count for this relation, when the underlying agent reports it. - destination_ip (string) — Destination IP address. @@ -362,8 +362,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - target_entity_id (string) — Entity ID of the resolved target, when 'resolution_status=resolved' and unambiguous. - target_host_id (string) — Host ID of the resolved target, when 'resolution_status=resolved' and unambiguous. - network_scope_id (string) (required) — Network scope the summary was resolved within. - - observed_at_ms (integer) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent. - - received_at_ms (integer) (required) — Unix timestamp in milliseconds the current graph generation was received by the server. + - observed_at_ms (string) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - received_at_ms (string) (required) — Unix timestamp in milliseconds the current graph generation was received by the server. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - resolution_counts (object) (required) — Counts of the anchor host's outbound relations by resolution outcome. - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates. - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate. @@ -468,7 +468,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - netns_id (string) (required) — Network namespace ID the candidate listener is in. - node_display_name (string) — Display name of the candidate's owning node, when known. - node_kind (string) — Kind of the candidate's owning node, when known. - - observed_at_ms (integer) (required) — Unix timestamp in milliseconds when the candidate's graph generation was observed by the agent. + - observed_at_ms (string) (required) — Unix timestamp in milliseconds when the candidate's graph generation was observed by the agent. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - port (integer) (required) — Destination port. - protocol (string) (required) — Transport protocol, 'tcp' or 'udp'. [tcp, udp] - candidates_truncated (boolean) — True if the candidate list was cut short by an internal query budget. @@ -488,8 +488,8 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_netns_id (string) (required) — Network namespace ID the connection originated from. - freshness (object) (required) — How recent the graph data is. - max_age_ms (integer) (required) — Age in milliseconds of the staleest graph covered, relative to now. - - newest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. - - oldest_received_at_ms (integer) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. + - newest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the most recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - oldest_received_at_ms (string) (required) — Unix timestamp in milliseconds of the least recently received graph among the hosts covered. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) (required) — Freshness classification. [fresh, stale, unknown] - network_scope_id (string) (required) — Network scope the graph was resolved within. - nodes (array) (required) — Nodes discovered during the traversal. @@ -509,7 +509,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - sample_instances (any) — Opaque sample of underlying instances folded into this node, when applicable. - systemd_unit (string) — systemd unit name, when the node is a systemd-managed process. - workload_name (string) — Kubernetes workload name, when known. - - observed_at_ms (integer) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent (the most recent among loaded hosts). + - observed_at_ms (string) (required) — Unix timestamp in milliseconds the underlying data was observed by the agent (the most recent among loaded hosts). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - resolution_counts (object) (required) — Counts of edges by resolution outcome. - ambiguous (integer) (required) — Number of edges resolved to multiple or low-confidence candidates. - resolved (integer) (required) — Number of edges resolved to exactly one confident candidate. diff --git a/internal/cli/zz_generated_session_replay.go b/internal/cli/zz_generated_session_replay.go index ab95983..0084c07 100644 --- a/internal/cli/zz_generated_session_replay.go +++ b/internal/cli/zz_generated_session_replay.go @@ -31,25 +31,25 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - device (object) - type (string) — Device type recorded for the session, e.g. 'desktop', 'mobile', 'tablet'. - foreground_periods (array) — Foreground periods across the session (mobile sessions only; empty for web). - - end (integer) — Unix timestamp in milliseconds when the foreground period ended. - - start (integer) — Unix timestamp in milliseconds when the foreground period started. + - end (string) — Unix timestamp in milliseconds when the foreground period ended. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. + - start (string) — Unix timestamp in milliseconds when the foreground period started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - view_id (string) — View ID active during this foreground period. - session (object) - - end (integer) — Unix timestamp in milliseconds when the session ended (or was last updated, if still active). + - end (string) — Unix timestamp in milliseconds when the session ended (or was last updated, if still active). CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - is_active (boolean) — Whether the session was still active as of the last recorded event. - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction. - source (string) — SDK platform that recorded the session. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity] - - start (integer) — Unix timestamp in milliseconds when the session started. + - start (string) — Unix timestamp in milliseconds when the session started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - views (array) — Every view recorded during the session, in chronological order. - container_source (string) — SDK platform of the container app, when this view is embedded (e.g. a WebView inside a native app). - container_view_id (string) — View ID of the containing view, when this view is embedded. - - end (integer) — Unix timestamp in milliseconds when the view ended. + - end (string) — Unix timestamp in milliseconds when the view ended. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - is_active (boolean) — Whether the view was still active as of the last recorded event. - loading_type (string) — How the view was entered, e.g. 'initial_load', 'route_change'. - name (string) — View name, typically the route or screen name. - server_time_delta (integer) — Clock skew in milliseconds between the client and Flashduty's servers, added to client timestamps for correction. - source (string) — SDK platform that recorded the view. [browser, android, ios, miniprogram, react-native, flutter, kotlin-multiplatform, roku, unity] - - start (integer) — Unix timestamp in milliseconds when the view started. + - start (string) — Unix timestamp in milliseconds when the view started. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - url (string) — URL (web) or screen identifier (mobile) associated with the view. - view_id (string) — Unique ID of the view within the session. `, diff --git a/internal/cli/zz_generated_sessions.go b/internal/cli/zz_generated_sessions.go index ddd4667..2e5df65 100644 --- a/internal/cli/zz_generated_sessions.go +++ b/internal/cli/zz_generated_sessions.go @@ -37,7 +37,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - author (string) — Event author (e.g. user, the agent name). - branch (string) — ADK branch path for nested agents. - content (object) — ADK content envelope {role, parts:[...]}. - - created_at (integer) (required) — Unix timestamp in milliseconds when the event was written. + - created_at (string) (required) — Unix timestamp in milliseconds when the event was written. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - error_code (string) — Error code when the event represents a failure. - error_message (string) — Human-readable error message, when present. - event_id (string) (required) — Event identifier. @@ -52,7 +52,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - session (object) (required) — One agent session row. - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link] - app_name (string) (required) — Agent app that owns the session. - - archived_at (integer) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. + - archived_at (string) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message. - id (string) (required) — Environment identifier: a cloud sandbox ID for 'cloud' bindings, a runner/environment ID for 'byoc' bindings. - kind (string) (required) — Environment kind bound to the session: 'cloud' (managed sandbox) or 'byoc' (self-hosted runner). [cloud, byoc] @@ -65,14 +65,14 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session. - account_pack_id (string) — Resolved account-scoped pack id. - incident_id (string) — Bound incident id, when war-room originated. - - resolved_at_ms (integer) (required) — Unix timestamp in milliseconds when the packs were resolved. + - resolved_at_ms (string) (required) — Unix timestamp in milliseconds when the packs were resolved. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - team_pack_id (string) — Resolved team-scoped pack id. - versions (object) — Per-pack resolved version map. - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown. - - created_at (integer) (required) — Unix timestamp in milliseconds when the session was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the session was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed. - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round. - - current_turn_started_at (integer) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. + - current_turn_started_at (string) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle. - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round. - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent] @@ -80,15 +80,15 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions. - is_mine (boolean) (required) — True when the caller created this session. - is_running (boolean) (required) — True when an agent turn is currently in flight for this session. - - last_event_at (integer) — Unix timestamp in milliseconds of the most recent assistant-side event. + - last_event_at (string) — Unix timestamp in milliseconds of the most recent assistant-side event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise. - person_id (string) (required) — Creator person id. - - pinned_at (integer) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. + - pinned_at (string) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - session_id (string) (required) — Session identifier. - session_name (string) (required) — Session title; may be empty for untitled sessions. - share_enabled (boolean) (required) — True when the session's share link is active. - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked. - - shared_at (integer) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. + - shared_at (string) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared. - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty. - status (string) (required) — Lifecycle status. [enabled, deleted] @@ -100,7 +100,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion. - output_tokens (integer) (required) — Total generated (output) tokens. - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens. - - updated_at (integer) (required) — Unix timestamp in milliseconds of the last session update. + - updated_at (string) (required) — Unix timestamp in milliseconds of the last session update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not specific to this session. `, Args: requireBodyFieldOrExactArg("session_id", "session-id"), @@ -193,7 +193,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - sessions (array) (required) — The page of sessions. - access_source (string) — How the caller received access to this session. Omitted when no access source is resolved. [owner, team_member, manager, share_link] - app_name (string) (required) — Agent app that owns the session. - - archived_at (integer) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. + - archived_at (string) (required) — Unix timestamp in milliseconds when archived; 0 means not archived. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - bound_environment (object) — The runner or cloud sandbox the session is bound to. Null until the first message. - id (string) (required) — Environment identifier: a cloud sandbox ID for 'cloud' bindings, a runner/environment ID for 'byoc' bindings. - kind (string) (required) — Environment kind bound to the session: 'cloud' (managed sandbox) or 'byoc' (self-hosted runner). [cloud, byoc] @@ -206,14 +206,14 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - context_resolved (object) — Snapshot of the three-tier knowledge-pack resolution for this session. - account_pack_id (string) — Resolved account-scoped pack id. - incident_id (string) — Bound incident id, when war-room originated. - - resolved_at_ms (integer) (required) — Unix timestamp in milliseconds when the packs were resolved. + - resolved_at_ms (string) (required) — Unix timestamp in milliseconds when the packs were resolved. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - team_pack_id (string) — Resolved team-scoped pack id. - versions (object) — Per-pack resolved version map. - context_window (integer) (required) — The bound model's max context size in tokens. 0 means unknown. - - created_at (integer) (required) — Unix timestamp in milliseconds when the session was created. + - created_at (string) (required) — Unix timestamp in milliseconds when the session was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - current_context_tokens (integer) (required) — Size in tokens of the LLM context window as of the most recent turn. 0 means no turn has completed. - current_turn_active_ms (integer) (required) — Active working duration in milliseconds for the current or most recent round, excluding time spent waiting on ask_user; resets to 0 at the start of each new round. - - current_turn_started_at (integer) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. + - current_turn_started_at (string) (required) — Unix timestamp in milliseconds when the current or most recent round started; 0 if no round has started yet. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - current_turn_tokens (integer) (required) — Total tokens (input+output+reasoning) for the in-flight round across the parent and its subagents; only computed by session/get while the session is running, always 0 in session/list responses and when idle. - current_turn_wait_ms (integer) (required) — Accumulated ask_user human-wait duration in milliseconds for the current round; resets to 0 at the start of each new round. - entry_kind (string) — Surface that created the session. [web, im, api, automation, subagent] @@ -221,15 +221,15 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - incognito (boolean) (required) — True for incognito (non-persisted-memory) sessions. - is_mine (boolean) (required) — True when the caller created this session. - is_running (boolean) (required) — True when an agent turn is currently in flight for this session. - - last_event_at (integer) — Unix timestamp in milliseconds of the most recent assistant-side event. + - last_event_at (string) — Unix timestamp in milliseconds of the most recent assistant-side event. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - parent_session_id (string) — Parent session id for subagent (child) sessions; empty otherwise. - person_id (string) (required) — Creator person id. - - pinned_at (integer) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. + - pinned_at (string) (required) — Caller's per-user pin timestamp in milliseconds; 0 means not pinned. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - session_id (string) (required) — Session identifier. - session_name (string) (required) — Session title; may be empty for untitled sessions. - share_enabled (boolean) (required) — True when the session's share link is active. - share_version (integer) (required) — Revision of the share link; it increases when sharing is revoked. - - shared_at (integer) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. + - shared_at (string) (required) — Unix timestamp in milliseconds when sharing was last enabled; 0 if never shared. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - shared_by (integer) (required) — Person ID that most recently enabled sharing; 0 if never shared. - state (object) — Raw session-state bag (session-scoped keys). Omitted when empty. - status (string) (required) — Lifecycle status. [enabled, deleted] @@ -241,7 +241,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - input_tokens (integer) (required) — Total prompt (input) tokens, including the cached portion. - output_tokens (integer) (required) — Total generated (output) tokens. - reasoning_tokens (integer) (required) — Total reasoning/thinking tokens. - - updated_at (integer) (required) — Unix timestamp in milliseconds of the last session update. + - updated_at (string) (required) — Unix timestamp in milliseconds of the last session update. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - suggest_init (boolean) (required) — Account-wide onboarding flag: true when the account has zero knowledge packs in any scope; not dependent on this call's filters. - total (integer) (required) — Total number of sessions matching the filter (ignoring pagination). `, diff --git a/internal/cli/zz_generated_skills.go b/internal/cli/zz_generated_skills.go index 2321af4..7dc7dd4 100644 --- a/internal/cli/zz_generated_skills.go +++ b/internal/cli/zz_generated_skills.go @@ -78,7 +78,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - checksum (string) — SHA-256 checksum of the skill zip. - content (string) — Full SKILL.md content. Omitted in list responses. - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the skill. - description (string) (required) — Human-readable description from the SKILL.md frontmatter. - description_en (string) — Optional English description. English-locale UI responses prefer this over 'description'; the skill catalog also uses it as a stable selection signal when 'description' is localized for display. @@ -94,7 +94,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - tools (array) — Required tools (builtin or 'mcp:server/tool'). - update_available (boolean) (required) — True when the marketplace has a newer template version. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) — Skill version from the frontmatter. `, Args: requireBodyFieldOrExactArg("skill_id", "skill-id"), @@ -165,7 +165,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - checksum (string) — SHA-256 checksum of the skill zip. - content (string) — Full SKILL.md content. Omitted in list responses. - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the skill. - description (string) (required) — Human-readable description from the SKILL.md frontmatter. - description_en (string) — Optional English description. English-locale UI responses prefer this over 'description'; the skill catalog also uses it as a stable selection signal when 'description' is localized for display. @@ -181,7 +181,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - tools (array) — Required tools (builtin or 'mcp:server/tool'). - update_available (boolean) (required) — True when the marketplace has a newer template version. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) — Skill version from the frontmatter. - total (integer) (required) — Total number of matching skills. `, @@ -362,7 +362,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - checksum (string) — SHA-256 checksum of the skill zip. - content (string) — Full SKILL.md content. Omitted in list responses. - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the skill. - description (string) (required) — Human-readable description from the SKILL.md frontmatter. - description_en (string) — Optional English description. English-locale UI responses prefer this over 'description'; the skill catalog also uses it as a stable selection signal when 'description' is localized for display. @@ -378,7 +378,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - tools (array) — Required tools (builtin or 'mcp:server/tool'). - update_available (boolean) (required) — True when the marketplace has a newer template version. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) — Skill version from the frontmatter. `, Args: requireBodyFieldOrExactArg("skill_id", "skill-id"), @@ -444,7 +444,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - checksum (string) — SHA-256 checksum of the skill zip. - content (string) — Full SKILL.md content. Omitted in list responses. - created (boolean) — Set only on install-from-session responses: true = fresh install, false = in-place update. - - created_at (integer) (required) — Creation time. Unix timestamp in milliseconds. + - created_at (string) (required) — Creation time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - created_by (integer) (required) — Member ID that created the skill. - description (string) (required) — Human-readable description from the SKILL.md frontmatter. - description_en (string) — Optional English description. English-locale UI responses prefer this over 'description'; the skill catalog also uses it as a stable selection signal when 'description' is localized for display. @@ -460,7 +460,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - team_id (integer) (required) — Team scope: 0 = account-wide; >0 = the owning team. - tools (array) — Required tools (builtin or 'mcp:server/tool'). - update_available (boolean) (required) — True when the marketplace has a newer template version. - - updated_at (integer) (required) — Last update time. Unix timestamp in milliseconds. + - updated_at (string) (required) — Last update time. Unix timestamp in milliseconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) — Skill version from the frontmatter. `, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/internal/cli/zz_generated_sourcemaps.go b/internal/cli/zz_generated_sourcemaps.go index dd7794c..f4296cd 100644 --- a/internal/cli/zz_generated_sourcemaps.go +++ b/internal/cli/zz_generated_sourcemaps.go @@ -49,7 +49,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) - - created_at (integer) — Upload timestamp, Unix epoch seconds. + - created_at (string) — Upload timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - git_commit_sha (string) — Git commit SHA for this build. - git_repository_url (string) — Git repository URL associated with this build. - key (string) — Storage key uniquely identifying this sourcemap file. @@ -57,7 +57,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - service (string) — Application or service name. - size (integer) — File size in bytes. - type (string) — Platform type: 'browser', 'android', or 'ios'. [browser, android, ios] - - updated_at (integer) — Last update timestamp, Unix epoch seconds. + - updated_at (string) — Last update timestamp, Unix epoch seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - version (string) — Application version string. - total (integer) (required) — Total number of matching records. `, diff --git a/internal/cli/zz_generated_status_pages.go b/internal/cli/zz_generated_status_pages.go index 21dbcce..0d8bb9c 100644 --- a/internal/cli/zz_generated_status_pages.go +++ b/internal/cli/zz_generated_status_pages.go @@ -22,7 +22,7 @@ API: GET /status-page/list (status-page-read-page-list) Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) — Status pages owned by the account. - components (array) — Components tracked on the status page. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. @@ -98,7 +98,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) - affected_components (array) — Components currently affected by this event, with their resulting status. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. @@ -109,19 +109,19 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance] - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window. - change_id (integer) (required) — Event ID. - - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. + - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description (Markdown). - is_retrospective (boolean) — Whether this event is a retrospective (historical) one. - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.). - notify_subscribers (boolean) — Whether subscribers were notified about this event. - page_id (integer) — Parent status page ID. - responder_ids (array) — Member IDs responsible for this event. - - start_at_seconds (integer) — Event start time in unix seconds. + - start_at_seconds (string) — Event start time in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) — Current event status. Incident statuses: 'investigating'/'identified'/'monitoring'/'resolved'. Maintenance statuses: 'scheduled'/'ongoing'/'completed'. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed] - title (string) (required) — Event title. - type (string) (required) — Event type. [incident, maintenance] - updates (array) — Timeline updates attached to this event, ordered by time. - - at_seconds (integer) (required) — Update timestamp in unix seconds. + - at_seconds (string) (required) — Update timestamp in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_changes (array) — Component status transitions applied by this update. - component_id (string) (required) — Component ID. - component_name (string) — Component display name. Populated by the backend on read; ignored on write. @@ -373,7 +373,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - affected_components (array) — Components currently affected by this event, with their resulting status. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. @@ -384,19 +384,19 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance] - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window. - change_id (integer) (required) — Event ID. - - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. + - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description (Markdown). - is_retrospective (boolean) — Whether this event is a retrospective (historical) one. - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.). - notify_subscribers (boolean) — Whether subscribers were notified about this event. - page_id (integer) — Parent status page ID. - responder_ids (array) — Member IDs responsible for this event. - - start_at_seconds (integer) — Event start time in unix seconds. + - start_at_seconds (string) — Event start time in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) — Current event status. Incident statuses: 'investigating'/'identified'/'monitoring'/'resolved'. Maintenance statuses: 'scheduled'/'ongoing'/'completed'. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed] - title (string) (required) — Event title. - type (string) (required) — Event type. [incident, maintenance] - updates (array) — Timeline updates attached to this event, ordered by time. - - at_seconds (integer) (required) — Update timestamp in unix seconds. + - at_seconds (string) (required) — Update timestamp in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_changes (array) — Component status transitions applied by this update. - component_id (string) (required) — Component ID. - component_name (string) — Component display name. Populated by the backend on read; ignored on write. @@ -463,7 +463,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) - affected_components (array) — Components currently affected by this event, with their resulting status. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. @@ -474,19 +474,19 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) (required) — Current component status resulting from the event. [operational, degraded, partial_outage, full_outage, under_maintenance] - auto_update_by_schedule (boolean) — Maintenance only: whether the status advances automatically based on the scheduled window. - change_id (integer) (required) — Event ID. - - close_at_seconds (integer) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. + - close_at_seconds (string) — Scheduled close time in unix seconds. Set for retrospective and maintenance events. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - description (string) — Event description (Markdown). - is_retrospective (boolean) — Whether this event is a retrospective (historical) one. - linked_change_ids (array) — Linked event IDs (related incidents, deployments, etc.). - notify_subscribers (boolean) — Whether subscribers were notified about this event. - page_id (integer) — Parent status page ID. - responder_ids (array) — Member IDs responsible for this event. - - start_at_seconds (integer) — Event start time in unix seconds. + - start_at_seconds (string) — Event start time in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - status (string) — Current event status. Incident statuses: 'investigating'/'identified'/'monitoring'/'resolved'. Maintenance statuses: 'scheduled'/'ongoing'/'completed'. [investigating, identified, monitoring, resolved, scheduled, ongoing, completed] - title (string) (required) — Event title. - type (string) (required) — Event type. [incident, maintenance] - updates (array) — Timeline updates attached to this event, ordered by time. - - at_seconds (integer) (required) — Update timestamp in unix seconds. + - at_seconds (string) (required) — Update timestamp in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_changes (array) — Component status transitions applied by this update. - component_id (string) (required) — Component ID. - component_name (string) — Component display name. Populated by the backend on read; ignored on write. @@ -1130,7 +1130,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - components (array) — Components tracked on the status page. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. @@ -1388,7 +1388,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Owner account ID. - - created_at (integer) (required) — Job creation time, unix seconds. + - created_at (string) (required) — Job creation time, unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - error (string) — Terminal error message when 'status' is 'failed'. - job_id (string) (required) — Migration job ID. - phase (string) (required) — Current migration phase. [structure, history, subscribers] @@ -1406,7 +1406,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - source_page_id (string) (required) — Atlassian Statuspage source page ID. - status (string) (required) — Current job status. [pending, running, completed, failed, cancelled] - target_page_id (integer) (required) — Flashduty target status page ID. Set once the job produces one, or supplied up front for subscriber migration. - - updated_at (integer) (required) — Last status update time, unix seconds. + - updated_at (string) (required) — Last status update time, unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. `, Args: requireBodyFieldOrExactArg("job_id", "job-id"), RunE: func(cmd *cobra.Command, args []string) error { @@ -1700,7 +1700,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - items (array) (required) - all (boolean) (required) — Whether the subscriber is subscribed to all components. - components (array) (required) — Components this subscriber has subscribed to. - - available_since_seconds (integer) — Timestamp when the component was first available, in unix seconds. + - available_since_seconds (string) — Timestamp when the component was first available, in unix seconds. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - component_id (string) — Component ID. - description (string) — Component description. - hide_all (boolean) — When true, the component is hidden entirely from summary endpoints. diff --git a/internal/cli/zz_generated_teams.go b/internal/cli/zz_generated_teams.go index 633bf0f..bc60799 100644 --- a/internal/cli/zz_generated_teams.go +++ b/internal/cli/zz_generated_teams.go @@ -29,7 +29,7 @@ Request fields: Response fields ('data' envelope is unwrapped — these fields are at the top level): - account_id (integer) (required) — Owning account ID. - - created_at (integer) (required) — Unix epoch seconds the team was created. + - created_at (string) (required) — Unix epoch seconds the team was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. - description (string) (required) — Free-form description. @@ -38,7 +38,7 @@ Response fields ('data' envelope is unwrapped — these fields are at the top le - status (string) (required) — Team status. [enabled, disabled] - team_id (integer) (required) — Unique team ID. - team_name (string) (required) — Team display name. 1–39 characters, unique per account. - - updated_at (integer) (required) — Unix epoch seconds the team was last updated. + - updated_at (string) (required) — Unix epoch seconds the team was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last editor. - updated_by_name (string) (required) — Display name of the last editor. `, @@ -163,7 +163,7 @@ Request fields: Response fields ('data' envelope is unwrapped — rows are nested under items[]; pipe 'jq '.items[]'', NOT '.data.items[]'): - items (array) (required) - account_id (integer) (required) — Owning account ID. - - created_at (integer) (required) — Unix epoch seconds the team was created. + - created_at (string) (required) — Unix epoch seconds the team was created. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - creator_id (integer) (required) — Member ID of the creator. - creator_name (string) (required) — Display name of the creator. - description (string) (required) — Free-form description. @@ -172,7 +172,7 @@ Response fields ('data' envelope is unwrapped — rows are nested under items[]; - status (string) (required) — Team status. [enabled, disabled] - team_id (integer) (required) — Unique team ID. - team_name (string) (required) — Team display name. 1–39 characters, unique per account. - - updated_at (integer) (required) — Unix epoch seconds the team was last updated. + - updated_at (string) (required) — Unix epoch seconds the team was last updated. CLI '--json' renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0. - updated_by (integer) (required) — Member ID of the last editor. - updated_by_name (string) (required) — Display name of the last editor. - limit (integer) (required) — Page size used. diff --git a/internal/cmd/cligen/main.go b/internal/cmd/cligen/main.go index 6713b8d..7915994 100644 --- a/internal/cmd/cligen/main.go +++ b/internal/cmd/cligen/main.go @@ -69,7 +69,7 @@ func run(only string) error { // a curated command is harmlessly dropped while the curated one keeps the // path-name; curated commands at a different (ergonomic) name coexist as // extras. This guarantees every API path has a command at its path-name. - services := collectServices(asMap(spec["paths"]), asMap(asMap(spec["components"])["schemas"])) + services := collectServices(asMap(spec["paths"]), asMap(asMap(spec["components"])["schemas"]), sdk) groupShorts := computeGroupShorts(services) var registered []string @@ -171,7 +171,7 @@ type specField struct { Constraint string // compact bound, e.g. "max 100", "1-39 chars" } -func collectServices(paths, schemas map[string]any) []service { +func collectServices(paths, schemas map[string]any, sdk map[string]map[string]methodInfo) []service { walker := &specWalker{schemas: schemas} byTag := map[string][]struct { path, http string @@ -233,10 +233,20 @@ func collectServices(paths, schemas map[string]any) []service { svc := service{Name: serviceName(tag), Tag: tag} for _, e := range entries { opID := str(e.op, "operationId") - respTree, respArray := walker.responseTree(e.op) + method := names[opID] + // The Go type the SDK actually decodes this operation's response into + // (Out(0) of the reflected method), so responseTree can tell a field + // whose Go type customizes JSON marshaling (e.g. Timestamp/ + // TimestampMilli, see wireTypeOverride) from the OpenAPI wire type the + // spec describes. + var respType reflect.Type + if mi, ok := sdk[svc.Name][method]; ok { + respType = mi.RespType + } + respTree, respArray := walker.responseTree(e.op, respType) svc.Ops = append(svc.Ops, specOp{ OpID: opID, - Method: names[opID], + Method: method, HTTP: e.http, Path: e.path, Summary: str(e.op, "summary"), @@ -565,7 +575,14 @@ func (w *specWalker) arrayLeafSchema(s map[string]any) map[string]any { // tree walks an object schema (resolving $ref/allOf) into a sorted field tree, // recursing into nested objects and array-element objects (through any depth // of nested arrays, see arrayLeafSchema) up to maxSchemaDepth. -func (w *specWalker) tree(schema map[string]any, depth int) []schemaField { +// +// goType, when non-nil, is the Go struct type the SDK actually decodes this +// schema level into (nil for the request side, where the spec's wire type is +// also what the CLI flag accepts). It is used ONLY to detect fields whose Go +// type customizes JSON marshaling (see wireTypeOverride) — matched by field, +// so a same-named field with a plain type (e.g. AlertRuleAudit.CreatedAt, +// which really is a bare int64 on the wire) is left untouched. +func (w *specWalker) tree(schema map[string]any, depth int, goType reflect.Type) []schemaField { if depth > maxSchemaDepth { return nil } @@ -582,14 +599,16 @@ func (w *specWalker) tree(schema map[string]any, depth int) []schemaField { Type: schemaType(pv), Constraint: constraintOf(pv), } + fieldGoType := goFieldType(goType, wire) + applyWireTypeOverride(&f, fieldGoType) switch { case w.isObjectSchema(pv): f.Type = "object" - f.Children = w.tree(pv, depth+1) + f.Children = w.tree(pv, depth+1, goElemType(fieldGoType)) case str(pv, "type") == "array": it := w.arrayLeafSchema(pv) if w.isObjectSchema(it) { - f.Children = w.tree(it, depth+1) + f.Children = w.tree(it, depth+1, goElemType(fieldGoType)) } else if len(f.Enum) == 0 { f.Enum = enumStrings(it) // array (possibly nested) of constrained scalars } @@ -601,6 +620,8 @@ func (w *specWalker) tree(schema map[string]any, depth int) []schemaField { } // requestTree returns the full nested field tree of an operation's JSON body. +// goType is nil: the request-side wire type IS what the CLI flag/--data value +// accepts, so no override is needed there (see tree's goType doc). func (w *specWalker) requestTree(op map[string]any) []schemaField { rb := asMap(op["requestBody"]) if rb == nil { @@ -610,7 +631,7 @@ func (w *specWalker) requestTree(op map[string]any) []schemaField { if sch == nil { return nil } - return w.tree(sch, 0) + return w.tree(sch, 0, nil) } // responseTree returns the field tree of an operation's 200 response `data` @@ -622,7 +643,13 @@ func (w *specWalker) requestTree(op map[string]any) []schemaField { // would otherwise yield nothing — leaving every such list endpoint (e.g. // rule-list-basic) with an empty Response-fields block that forced agents to // guess jq keys. Callers document this shape as a TOP-LEVEL array (`jq '.[]'`). -func (w *specWalker) responseTree(op map[string]any) ([]schemaField, bool) { +// +// respType is the Go type the SDK method actually decodes `data` into (Out(0) +// of the reflected method, nil if unknown), threaded down through tree() so a +// field described as a wire integer in the spec but decoded through a +// type with a custom MarshalJSON (e.g. Timestamp/TimestampMilli) is documented +// by what --json actually prints, not the wire type. +func (w *specWalker) responseTree(op map[string]any, respType reflect.Type) ([]schemaField, bool) { r200 := asMap(asMap(op["responses"])["200"]) sch := asMap(asMap(asMap(r200["content"])["application/json"])["schema"]) if sch == nil { @@ -636,18 +663,19 @@ func (w *specWalker) responseTree(op map[string]any) ([]schemaField, bool) { if str(data, "type") == "array" { it := w.deref(asMap(data["items"])) if it["properties"] != nil || it["allOf"] != nil { - return w.tree(it, 0), true + return w.tree(it, 0, goElemType(respType)), true } return nil, false // array of bare scalars — no row field tree to document } - return w.tree(data, 0), false + return w.tree(data, 0, respType), false } // ---- reflection over the compiled SDK ------------------------------------- type methodInfo struct { - ReqType string // request struct name ("" => no body param) - HasData bool // method returns (*Data, *Response, error) + ReqType string // request struct name ("" => no body param) + HasData bool // method returns (*Data, *Response, error) + RespType reflect.Type // Out(0), dereferenced (nil if HasData is false) } // eachServiceField walks a Client value, descending into its embedded @@ -695,6 +723,9 @@ func reflectSDK() map[string]map[string]methodInfo { } info.ReqType = rt.Name() } + if info.HasData { + info.RespType = deref(mt.Out(0)) + } methods[meth.Name] = info } out[name] = methods @@ -786,6 +817,84 @@ func deref(t reflect.Type) reflect.Type { return t } +// goFieldType returns the reflect.Type of the JSON-tagged struct field named +// wire on t (descending into anonymous embedded structs, mirroring the +// json-tag matching reqFields does on the request side), or nil when t isn't +// a struct or has no such field. +func goFieldType(t reflect.Type, wire string) reflect.Type { + if t == nil { + return nil + } + dt := deref(t) + if dt.Kind() != reflect.Struct { + return nil + } + for i := 0; i < dt.NumField(); i++ { + f := dt.Field(i) + if f.Anonymous && deref(f.Type).Kind() == reflect.Struct { + if got := goFieldType(f.Type, wire); got != nil { + return got + } + continue + } + if strings.Split(f.Tag.Get("json"), ",")[0] == wire { + return f.Type + } + } + return nil +} + +// goElemType descends from a field's Go type to the struct type its schema +// children should be matched against: itself if already a struct, or its +// element type through any depth of nested slices (mirroring arrayLeafSchema's +// schema-side descent). Returns nil for anything else (scalars, maps). +func goElemType(t reflect.Type) reflect.Type { + if t == nil { + return nil + } + dt := deref(t) + for dt.Kind() == reflect.Slice { + dt = deref(dt.Elem()) + } + if dt.Kind() != reflect.Struct { + return nil + } + return dt +} + +// wireTypeOverride maps a go-flashduty SDK type to the note appended to a +// response field's help when the field decodes into that type. Both Timestamp +// and TimestampMilli marshal to a quoted RFC3339 string in the process's local +// timezone (see go-flashduty's timestamp.go) instead of the plain wire integer +// the OpenAPI spec — cligen's only source for response help text — describes, +// so a field of either type needs its generated type/description corrected to +// match what the CLI's --json actually prints. +var wireTypeOverride = map[reflect.Type]string{ + reflect.TypeOf(flashduty.Timestamp(0)): timestampOverrideNote, + reflect.TypeOf(flashduty.TimestampMilli(0)): timestampOverrideNote, +} + +const timestampOverrideNote = "CLI `--json` renders this as an RFC3339 string in the process's local timezone (NOT UTC, and NOT the wire integer); an unset value stays the bare integer 0." + +// applyWireTypeOverride corrects f's Type/Desc in place when fieldGoType is a +// type in wireTypeOverride, appending the note to any existing spec +// description rather than discarding it. +func applyWireTypeOverride(f *schemaField, fieldGoType reflect.Type) { + if fieldGoType == nil { + return + } + note, ok := wireTypeOverride[deref(fieldGoType)] + if !ok { + return + } + f.Type = "string" + if f.Desc == "" { + f.Desc = note + return + } + f.Desc = strings.TrimRight(f.Desc, " ") + " " + note +} + func scalarKind(t reflect.Type) (string, bool) { t = deref(t) switch t.Kind() { diff --git a/internal/cmd/cligen/nested_array_test.go b/internal/cmd/cligen/nested_array_test.go index c43aeb0..13b332f 100644 --- a/internal/cmd/cligen/nested_array_test.go +++ b/internal/cmd/cligen/nested_array_test.go @@ -27,7 +27,7 @@ func TestTreeExpandsNestedArrayOfObject(t *testing.T) { "items": map[string]any{"$ref": "#/components/schemas/FilterCondition"}, }, }, - }}, 0) + }}, 0, nil) if len(fields) != 1 || fields[0].Wire != "filters" { t.Fatalf("fields = %#v, want single 'filters' field", fields) @@ -62,7 +62,7 @@ func TestTreeLeavesNestedArrayOfScalarWithoutChildren(t *testing.T) { "type": "array", "items": map[string]any{"type": "array", "items": map[string]any{"type": "string"}}, }, - }}, 0) + }}, 0, nil) if len(fields) != 1 || fields[0].Wire != "equals" { t.Fatalf("fields = %#v, want single 'equals' field", fields) @@ -106,7 +106,7 @@ func TestTreeExpandsPlainArrayOfObjectUnchanged(t *testing.T) { "type": "array", "items": map[string]any{"type": "object", "properties": map[string]any{"target": map[string]any{"type": "string"}}}, }, - }}, 0) + }}, 0, nil) if len(fields) != 1 || len(fields[0].Children) != 1 || fields[0].Children[0].Wire != "target" { t.Fatalf("layers field = %#v, want single child 'target'", fields[0]) diff --git a/internal/cmd/cligen/oneof_test.go b/internal/cmd/cligen/oneof_test.go index 127e6c0..25e157c 100644 --- a/internal/cmd/cligen/oneof_test.go +++ b/internal/cmd/cligen/oneof_test.go @@ -79,7 +79,7 @@ func TestTreePreservesPropertyDescriptionOverRef(t *testing.T) { "$ref": "#/components/schemas/Window", "description": "Baseline analysis window.", }, - }}, 0) + }}, 0, nil) if len(fields) != 1 || fields[0].Desc != "Baseline analysis window." { t.Fatalf("field descriptions = %#v", fields) } diff --git a/skills/flashduty/reference/alert.md b/skills/flashduty/reference/alert.md index 59bf756..7feef9f 100644 --- a/skills/flashduty/reference/alert.md +++ b/skills/flashduty/reference/alert.md @@ -60,11 +60,11 @@ List events for an alert - `--limit` int64 — Page size. Defaults to 20 and cannot exceed 100. (0-100) - `--page` int64 — Page number starting at 1. Used when 'search_after_ctx' is omitted. (min 0) - `--search-after-ctx` string — Cursor returned by the previous page. When supplied, cursor pagination is used instead of page-number pagination. -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); channel_id (integer); created_at (integer); data_source_id (integer); deleted_at (integer); description (string); event_id (string); event_severity (string); event_status (string); event_time (integer); images (array); integration_id (integer); integration_type (string); labels (object); title (string); title_rule (string); updated_at (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); channel_id (integer); created_at (string); data_source_id (integer); deleted_at (string); description (string); event_id (string); event_severity (string); event_status (string); event_time (string); images (array); integration_id (integer); integration_type (string); labels (object); title (string); title_rule (string); updated_at (string) ### events List alert events -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); channel_id (integer); created_at (integer); data_source_id (integer); deleted_at (integer); description (string); event_id (string); event_severity (string); event_status (string); event_time (integer); images (array); integration_id (integer); integration_type (string); labels (object); title (string); title_rule (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); channel_id (integer); created_at (string); data_source_id (integer); deleted_at (string); description (string); event_id (string); event_severity (string); event_status (string); event_time (string); images (array); integration_id (integer); integration_type (string); labels (object); title (string); title_rule (string); updated_at (string) ### feed List alert activity feed @@ -74,11 +74,11 @@ List alert activity feed - `--page` int64 — Page number, starting at 1. - `--search-after-ctx` string - `--types` stringSlice — Filter by feed type codes (e.g. 'a_new', 'a_close', 'a_ack'). -- response: `{items: [...], has_next_page}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); created_at (integer); creator_id (integer); detail (object); ref_id (string); type (string); updated_at (integer) +- response: `{items: [...], has_next_page}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); created_at (string); creator_id (integer); detail (object); ref_id (string); type (string); updated_at (string) ### get Get alert detail -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (integer); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (integer); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (integer); responder_email (string); responder_name (string); start_time (integer); title (string); title_rule (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (string); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (string); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (string); responder_email (string); responder_name (string); start_time (string); title (string); title_rule (string); updated_at (string) ### info Get alert detail @@ -98,12 +98,12 @@ List alerts - `--severity` string - `--since` string - `--until` string -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (integer); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (integer); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (integer); responder_email (string); responder_name (string); start_time (integer); title (string); title_rule (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (string); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (string); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (string); responder_email (string); responder_name (string); start_time (string); title (string); title_rule (string); updated_at (string) ### list-by-ids [...] List alerts by IDs - `` (positional, required) stringSlice — List of alert IDs (ObjectID hex strings). -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (integer); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (integer); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (integer); responder_email (string); responder_name (string); start_time (integer); title (string); title_rule (string); updated_at (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (string); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); description (string); end_time (string); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (string); responder_email (string); responder_name (string); start_time (string); title (string); title_rule (string); updated_at (string) ### merge [...] Merge alerts into an incident @@ -116,12 +116,12 @@ Merge alerts into an incident ### pipeline-info Get alert pipeline - `` (positional, required) int64 — Integration ID. -- response: single object (`data` unwrapped to the top level) — fields: created_at (integer); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (integer); updated_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: created_at (string); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (string); updated_by (integer) ### pipeline-list [...] List alert pipelines - `` (positional, required) intSlice — Integration IDs. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (integer); updated_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (string); updated_by (integer) ### pipeline-upsert Create or update alert pipeline @@ -132,7 +132,7 @@ Create or update alert pipeline View alert timeline - `--limit` int - `--page` int -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (integer); creator_id (integer); detail (object); ref_id (string); type (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (string); creator_id (integer); detail (object); ref_id (string); type (string); updated_at (string) diff --git a/skills/flashduty/reference/automation.md b/skills/flashduty/reference/automation.md index 1e203ad..747636e 100644 --- a/skills/flashduty/reference/automation.md +++ b/skills/flashduty/reference/automation.md @@ -120,7 +120,7 @@ Create an Automation - `--schedule-enabled` bool - `--team-id` int64 - `--weekday` string -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at (integer); cron_expr (string); enabled (boolean); environment_id (string); environment_kind (string); http_post_token (string); http_post_trigger_enabled (boolean); http_post_trigger_id (string); http_post_trigger_url (string); name (string); oncall_incident_channel_ids (array); oncall_incident_severities (array); oncall_incident_trigger_enabled (boolean); oncall_incident_trigger_id (string); owner_id (integer); prompt (string); rule_id (string); run_scope (string); schedule_next_fire_at_ms (integer); schedule_trigger_enabled (boolean); schedule_trigger_id (string); team_id (integer); timezone (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at (string); cron_expr (string); enabled (boolean); environment_id (string); environment_kind (string); http_post_token (string); http_post_trigger_enabled (boolean); http_post_trigger_id (string); http_post_trigger_url (string); name (string); oncall_incident_channel_ids (array); oncall_incident_severities (array); oncall_incident_trigger_enabled (boolean); oncall_incident_trigger_id (string); owner_id (integer); prompt (string); rule_id (string); run_scope (string); schedule_next_fire_at_ms (string); schedule_trigger_enabled (boolean); schedule_trigger_id (string); team_id (integer); timezone (string); updated_at (string) ### delete Delete an Automation diff --git a/skills/flashduty/reference/calendar.md b/skills/flashduty/reference/calendar.md index 2d88697..33fcbf6 100644 --- a/skills/flashduty/reference/calendar.md +++ b/skills/flashduty/reference/calendar.md @@ -83,7 +83,7 @@ List calendar events - `--day` int64 — Day (1-31). 0 means no day filter. (0-31) - `--month` int64 — Month (1-12). 0 means no month filter. (0-12) - `--year` int64 — Year. Defaults to the current year when omitted. (min 2023) -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); cal_id (string); created_at (integer); creator_id (integer); description (string); end_at (string); event_id (string); is_off (boolean); start_at (string); summary (string); updated_at (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); cal_id (string); created_at (string); creator_id (integer); description (string); end_at (string); event_id (string); is_off (boolean); start_at (string); summary (string); updated_at (string) ### event-upsert Upsert calendar event @@ -99,13 +99,13 @@ Upsert calendar event ### info Get calendar info - `` (positional, required) string — Calendar ID; obtain it from 'POST /calendar/list'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); cal_id (string); cal_name (string); created_at (integer); creator_id (integer); description (string); extra_cal_ids (array); kind (string); status (string); team_id (integer); timezone (string); updated_at (integer); updated_by (integer); workdays (array) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); cal_id (string); cal_name (string); created_at (string); creator_id (integer); description (string); extra_cal_ids (array); kind (string); status (string); team_id (integer); timezone (string); updated_at (string); updated_by (integer); workdays (array) ### list List calendars - `--kind` string — Calendar kind filter. Defaults to personal when empty. · enum: region.official.holiday | personal - `--no-locale` bool — Disable locale filtering when listing public-holiday calendars. -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); cal_id (string); cal_name (string); created_at (integer); creator_id (integer); description (string); extra_cal_ids (array); kind (string); status (string); team_id (integer); timezone (string); updated_at (integer); updated_by (integer); workdays (array) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); cal_id (string); cal_name (string); created_at (string); creator_id (integer); description (string); extra_cal_ids (array); kind (string); status (string); team_id (integer); timezone (string); updated_at (string); updated_by (integer); workdays (array) ### update Update calendar diff --git a/skills/flashduty/reference/change.md b/skills/flashduty/reference/change.md index 29be0a9..cad5043 100644 --- a/skills/flashduty/reference/change.md +++ b/skills/flashduty/reference/change.md @@ -33,7 +33,7 @@ List changes - `--query` string - `--since` string - `--until` string -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); change_id (string); change_key (string); change_status (string); channel_id (integer); channel_name (string); channel_status (string); description (string); end_time (integer); events (array); integration_id (integer); integration_name (string); labels (object); last_time (integer); link (string); start_time (integer); title (string) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); change_id (string); change_key (string); change_status (string); channel_id (integer); channel_name (string); channel_status (string); description (string); end_time (string); events (array); integration_id (integer); integration_name (string); labels (object); last_time (string); link (string); start_time (string); title (string) diff --git a/skills/flashduty/reference/channel.md b/skills/flashduty/reference/channel.md index f2cf17b..bde1775 100644 --- a/skills/flashduty/reference/channel.md +++ b/skills/flashduty/reference/channel.md @@ -69,7 +69,7 @@ Enable channel ### info Get channel detail - `` (positional, required) int64 — ID of the channel to query; obtain it from 'POST /channel/list'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); active_incident_highest_severity (string); auto_resolve_mode (string); auto_resolve_timeout (integer); channel_id (integer); channel_name (string); created_at (integer); creator_id (integer); creator_name (string); deleted_at (integer); description (string); disable_auto_close (boolean); disable_outlier_detection (boolean); external_report_token (string); flapping (object); group (object); is_external_report_enabled (boolean); is_private (boolean); is_starred (boolean); last_incident_at (integer); managing_team_ids (array); progress_to_incident_cnts (object); status (string); team_id (integer); team_name (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); active_incident_highest_severity (string); auto_resolve_mode (string); auto_resolve_timeout (integer); channel_id (integer); channel_name (string); created_at (string); creator_id (integer); creator_name (string); deleted_at (string); description (string); disable_auto_close (boolean); disable_outlier_detection (boolean); external_report_token (string); flapping (object); group (object); is_external_report_enabled (boolean); is_private (boolean); is_starred (boolean); last_incident_at (string); managing_team_ids (array); progress_to_incident_cnts (object); status (string); team_id (integer); team_name (string); updated_at (string) ### infos [...] Batch get channels @@ -80,7 +80,7 @@ Batch get channels List channels - `--name` string - `--team-ids` int64Slice -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); active_incident_highest_severity (string); auto_resolve_mode (string); auto_resolve_timeout (integer); channel_id (integer); channel_name (string); created_at (integer); creator_id (integer); creator_name (string); deleted_at (integer); description (string); disable_auto_close (boolean); disable_outlier_detection (boolean); external_report_token (string); flapping (object); group (object); is_external_report_enabled (boolean); is_private (boolean); is_starred (boolean); last_incident_at (integer); managing_team_ids (array); progress_to_incident_cnts (object); status (string); team_id (integer); team_name (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); active_incident_highest_severity (string); auto_resolve_mode (string); auto_resolve_timeout (integer); channel_id (integer); channel_name (string); created_at (string); creator_id (integer); creator_name (string); deleted_at (string); description (string); disable_auto_close (boolean); disable_outlier_detection (boolean); external_report_token (string); flapping (object); group (object); is_external_report_enabled (boolean); is_private (boolean); is_starred (boolean); last_incident_at (string); managing_team_ids (array); progress_to_incident_cnts (object); status (string); team_id (integer); team_name (string); updated_at (string) ### update Update channel diff --git a/skills/flashduty/reference/enrichment.md b/skills/flashduty/reference/enrichment.md index 7a3bf35..04d942a 100644 --- a/skills/flashduty/reference/enrichment.md +++ b/skills/flashduty/reference/enrichment.md @@ -75,12 +75,12 @@ fduty enrichment info --output-format toon ### info Get enrichment rules - `` (positional, required) int64 — Integration ID to query enrichment rules for. Must be greater than 0. (min 1) -- response: single object (`data` unwrapped to the top level) — fields: created_at (integer); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (integer); updated_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: created_at (string); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (string); updated_by (integer) ### list [...] List enrichment rules - `` (positional, required) intSlice — List of integration IDs to query. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (integer); updated_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); creator_id (integer); integration_id (integer); rules (array); status (string); updated_at (string); updated_by (integer) ### mapping-api-create Create mapping API @@ -101,11 +101,11 @@ Delete mapping API ### mapping-api-info Get mapping API detail - `` (positional, required) string — Mapping API ID (MongoDB ObjectID hex). -- response: single object (`data` unwrapped to the top level) — fields: api_id (string); api_name (string); created_at (integer); creator_id (integer); description (string); headers (object); insecure_skip_verify (boolean); retry_count (integer); status (string); team_id (integer); timeout (integer); updated_at (integer); updated_by (integer); url (string) +- response: single object (`data` unwrapped to the top level) — fields: api_id (string); api_name (string); created_at (string); creator_id (integer); description (string); headers (object); insecure_skip_verify (boolean); retry_count (integer); status (string); team_id (integer); timeout (integer); updated_at (string); updated_by (integer); url (string) ### mapping-api-list List mapping APIs -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: api_id (string); api_name (string); created_at (integer); creator_id (integer); description (string); headers (object); insecure_skip_verify (boolean); retry_count (integer); status (string); team_id (integer); timeout (integer); updated_at (integer); updated_by (integer); url (string) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: api_id (string); api_name (string); created_at (string); creator_id (integer); description (string); headers (object); insecure_skip_verify (boolean); retry_count (integer); status (string); team_id (integer); timeout (integer); updated_at (string); updated_by (integer); url (string) ### mapping-api-update Update mapping API @@ -137,7 +137,7 @@ List mapping data - `` (positional, required) string — Mapping schema ID (MongoDB ObjectID hex). - `--search-after-ctx` string — Opaque cursor token for cursor-based pagination. - body-only (`--data`): query (object) -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); fields (object); key (string); updated_at (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); fields (object); key (string); updated_at (string) ### mapping-data-truncate Truncate mapping data @@ -170,11 +170,11 @@ Delete mapping schema ### mapping-schema-info Get mapping schema detail - `` (positional, required) string — Mapping schema ID (MongoDB ObjectID hex). -- response: single object (`data` unwrapped to the top level) — fields: created_at (integer); creator_id (integer); description (string); result_labels (array); schema_id (string); schema_name (string); source_labels (array); status (string); team_id (integer); updated_at (integer); updated_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: created_at (string); creator_id (integer); description (string); result_labels (array); schema_id (string); schema_name (string); source_labels (array); status (string); team_id (integer); updated_at (string); updated_by (integer) ### mapping-schema-list List mapping schemas -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); creator_id (integer); description (string); result_labels (array); schema_id (string); schema_name (string); source_labels (array); status (string); team_id (integer); updated_at (integer); updated_by (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); creator_id (integer); description (string); result_labels (array); schema_id (string); schema_name (string); source_labels (array); status (string); team_id (integer); updated_at (string); updated_by (integer) ### mapping-schema-update Update mapping schema diff --git a/skills/flashduty/reference/escalation.md b/skills/flashduty/reference/escalation.md index 06cfcff..99ffcb6 100644 --- a/skills/flashduty/reference/escalation.md +++ b/skills/flashduty/reference/escalation.md @@ -70,12 +70,12 @@ Enable escalation rule Get escalation rule detail - `--channel-id` int64 (required) — Owning channel ID; obtain it from 'POST /channel/list'. - `--rule-id` string (required) — Rule ID (MongoDB ObjectID). -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); aggr_window (integer); channel_id (integer); channel_name (string); created_at (integer); deleted_at (integer); description (string); filters (object); layers (array); priority (integer); rule_id (string); rule_name (string); status (string); template_id (string); time_filters (array); updated_at (integer); updated_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); aggr_window (integer); channel_id (integer); channel_name (string); created_at (string); deleted_at (string); description (string); filters (object); layers (array); priority (integer); rule_id (string); rule_name (string); status (string); template_id (string); time_filters (array); updated_at (string); updated_by (integer) ### escalate-rule-list List escalation rules - `` (positional, required) int64 — Channel to list rules for. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); aggr_window (integer); channel_id (integer); channel_name (string); created_at (integer); deleted_at (integer); description (string); filters (object); layers (array); priority (integer); rule_id (string); rule_name (string); status (string); template_id (string); time_filters (array); updated_at (integer); updated_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); aggr_window (integer); channel_id (integer); channel_name (string); created_at (string); deleted_at (string); description (string); filters (object); layers (array); priority (integer); rule_id (string); rule_name (string); status (string); template_id (string); time_filters (array); updated_at (string); updated_by (integer) ### escalate-rule-update Update escalation rule diff --git a/skills/flashduty/reference/field.md b/skills/flashduty/reference/field.md index 4d90fa8..a0d64c1 100644 --- a/skills/flashduty/reference/field.md +++ b/skills/flashduty/reference/field.md @@ -59,12 +59,12 @@ Delete field ### info Get field detail - `` (positional, required) string — Field ID — 24-character hex ObjectID. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (integer); creator_id (integer); default_value (any); deleted_at (integer); description (string); display_name (string); field_id (string); field_name (string); field_type (string); options (any); status (string); updated_at (integer); updated_by (integer); value_type (string) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (string); creator_id (integer); default_value (any); deleted_at (string); description (string); display_name (string); field_id (string); field_name (string); field_type (string); options (any); status (string); updated_at (string); updated_by (integer); value_type (string) ### list List custom fields - `--name` string -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (integer); creator_id (integer); default_value (any); deleted_at (integer); description (string); display_name (string); field_id (string); field_name (string); field_type (string); options (any); status (string); updated_at (integer); updated_by (integer); value_type (string) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (string); creator_id (integer); default_value (any); deleted_at (string); description (string); display_name (string); field_id (string); field_name (string); field_type (string); options (any); status (string); updated_at (string); updated_by (integer); value_type (string) ### update Update field diff --git a/skills/flashduty/reference/incident.md b/skills/flashduty/reference/incident.md index 6cfe730..deabacc 100644 --- a/skills/flashduty/reference/incident.md +++ b/skills/flashduty/reference/incident.md @@ -143,12 +143,12 @@ List alerts of incident - `--limit` int64 — Page size, at most 1000. (0-1000) - `--page` int64 — Page number starting at 1. (min 0) - `--search-after-ctx` string -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (integer); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); deleted_at (integer); description (string); end_time (integer); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (integer); responder_email (string); responder_name (string); start_time (integer); title (string); title_rule (string); updated_at (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (string); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); deleted_at (string); description (string); end_time (string); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (string); responder_email (string); responder_name (string); start_time (string); title (string); title_rule (string); updated_at (string) ### alerts View incident alerts - `--limit` int -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (integer); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); deleted_at (integer); description (string); end_time (integer); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (integer); responder_email (string); responder_name (string); start_time (integer); title (string); title_rule (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); alert_id (string); alert_key (string); alert_severity (string); alert_status (string); channel_id (integer); channel_name (string); channel_status (string); created_at (string); data_source_id (integer); data_source_name (string); data_source_ref_id (string); data_source_type (string); deleted_at (string); description (string); end_time (string); event_cnt (integer); events (array); ever_muted (boolean); images (array); incident (object); integration_id (integer); integration_name (string); integration_ref_id (string); integration_type (string); labels (object); last_time (string); responder_email (string); responder_name (string); start_time (string); title (string); title_rule (string); updated_at (string) ### assign Assign incident @@ -176,7 +176,7 @@ Delete a comment type ### comment-type-list List comment types -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); color (string); comment_type_id (string); created_at (integer); creator_id (integer); name (string); position (integer); updated_at (integer); updated_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); color (string); comment_type_id (string); created_at (string); creator_id (integer); name (string); position (integer); updated_at (string); updated_by (integer) ### comment-type-reorder [...] Reorder comment types @@ -205,7 +205,7 @@ Execute custom action ### detail View full incident detail with AI summary - `--fields` string -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (integer); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (integer); closer (object); closer_id (integer); created_at (integer); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (integer); description (string); detail_url (string); end_time (integer); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (integer); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (integer); start_time (integer); title (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (string); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (string); closer (object); closer_id (integer); created_at (string); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (string); description (string); detail_url (string); end_time (string); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (string); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (string); start_time (string); title (string); updated_at (string) ### disable-merge [...] Disable incident merge @@ -215,7 +215,7 @@ Disable incident merge View incident feed (paginated timeline) - `--limit` int - `--page` int -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (integer); creator_id (integer); deleted_at (integer); detail (object); ref_id (string); type (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (string); creator_id (integer); deleted_at (string); detail (object); ref_id (string); type (string); updated_at (string) ### field-reset Update incident custom field @@ -225,7 +225,7 @@ Update incident custom field ### get [ ...] Get incident details -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (integer); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (integer); closer (object); closer_id (integer); created_at (integer); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (integer); description (string); detail_url (string); end_time (integer); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (integer); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (integer); start_time (integer); title (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (string); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (string); closer (object); closer_id (integer); created_at (string); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (string); description (string); detail_url (string); end_time (string); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (string); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (string); start_time (string); title (string); updated_at (string) ### info [] Get incident detail @@ -250,7 +250,7 @@ List incidents ### list-by-ids [...] List incidents by IDs - `` (positional, required) stringSlice — Incident IDs to query; obtain them from 'POST /incident/list'. -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (integer); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (integer); closer (object); closer_id (integer); created_at (integer); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (integer); description (string); detail_url (string); end_time (integer); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (integer); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (integer); start_time (integer); title (string); updated_at (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (string); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (string); closer (object); closer_id (integer); created_at (string); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (string); description (string); detail_url (string); end_time (string); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (string); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); silence_url (string); snoozed_before (string); start_time (string); title (string); updated_at (string) ### merge Merge incidents into a target incident @@ -260,7 +260,7 @@ Merge incidents into a target incident List past incidents - `` (positional, required) string — Reference incident ID (MongoDB ObjectID). - `--limit` int64 — Maximum number of similar incidents to return. (0-100) -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (integer); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (integer); closer (object); closer_id (integer); created_at (integer); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (integer); description (string); detail_url (string); end_time (integer); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (integer); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); score (number); silence_url (string); snoozed_before (integer); start_time (integer); title (string); updated_at (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (string); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (string); closer (object); closer_id (integer); created_at (string); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (string); description (string); detail_url (string); end_time (string); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (string); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); score (number); silence_url (string); snoozed_before (string); start_time (string); title (string); updated_at (string) ### reassign Reassign an incident to new responders @@ -315,13 +315,13 @@ Get ServiceDeskPlus linked incidents - `--start-time` string — Window start, Unix seconds. Optional when 'incident_id' is provided. (min 0) Accepts a duration (7d, 24h), '+7d' for the future, 'now', a date, or Unix seconds. - `--status` string — Filter by sync status: 'success' or 'failed'. · enum: success | failed - `--until` string -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: channel_id (integer); channel_name (string); created_at (integer); error_message (string); incident_id (string); incident_title (string); integration_id (integer); request_id (string); request_link (string); status (string) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: channel_id (integer); channel_name (string); created_at (string); error_message (string); incident_id (string); incident_title (string); integration_id (integer); request_id (string); request_link (string); status (string) ### similar Find similar incidents - `--fields` string - `--limit` int -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (integer); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (integer); closer (object); closer_id (integer); created_at (integer); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (integer); description (string); detail_url (string); end_time (integer); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (integer); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); score (number); silence_url (string); snoozed_before (integer); start_time (integer); title (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); account_locale (string); account_name (string); account_time_zone (string); ack_time (string); active_alert_cnt (integer); ai_summary (string); alert_cnt (integer); alert_event_cnt (integer); alerts (array); assigned_to (object); channel_id (integer); channel_name (string); channel_status (string); close_time (string); closer (object); closer_id (integer); created_at (string); creator (object); creator_id (integer); data_source_id (integer); data_source_ids (array); data_source_type (string); data_source_types (array); dedup_key (string); deleted_at (string); description (string); detail_url (string); end_time (string); equals_md5 (string); ever_muted (boolean); fields (object); frequency (string); group_method (string); images (array); impact (string); incident_id (string); incident_severity (string); incident_status (string); integration_id (integer); integration_ids (array); integration_type (string); integration_types (array); labels (object); last_time (string); links (array); manual_overrides (array); num (string); owner (object); owner_id (integer); post_mortem_id (string); progress (string); reporter_email (string); resolution (string); responders (array); root_cause (string); score (number); silence_url (string); snoozed_before (string); start_time (string); title (string); updated_at (string) ### snooze [ ...] Snooze incidents @@ -374,7 +374,7 @@ Get incident war room details ### list List incident war rooms - `--integration` int64 -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); chat_id (string); created_at (integer); created_by (integer); incident_id (string); integration_id (integer); plugin_type (string); status (string) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); chat_id (string); created_at (string); created_by (integer); incident_id (string); integration_id (integer); plugin_type (string); status (string) ### war-room-add-member Add war-room member @@ -410,7 +410,7 @@ Get war room detail List war rooms - `` (positional, required) string — Incident ID (MongoDB ObjectID). - `--integration-id` int64 — Optional filter: only return war rooms for this IM integration. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); chat_id (string); created_at (integer); created_by (integer); incident_id (string); integration_id (integer); plugin_type (string); status (string) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); chat_id (string); created_at (string); created_by (integer); incident_id (string); integration_id (integer); plugin_type (string); status (string) ### work-item-assignees-reset Reset work item assignees @@ -461,7 +461,7 @@ List work items - `--item-type` string — Filter by work item type: 'action' action item, 'follow_up' post-mortem follow-up. · enum: action | follow_up - `--limit` int64 — Page size, at most 200. Defaults to 50. (1-200) - `--post-mortem-id` string — Post-mortem ID (32-character hex string). Returns follow-ups bound to this post-mortem. -- response: `{items: [...], has_more, idempotent_replay, next_cursor}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: assignee_ids (array); converted_at_seconds (integer); converted_by (integer); created_at_seconds (integer); created_by (integer); description (string); incident_id (string); item_type (string); legacy_source_id (string); post_mortem_id (string); priority (string); source_kind (string); status (string); title (string); updated_at_seconds (integer); updated_by (integer); version (integer); work_item_id (string) +- response: `{items: [...], has_more, idempotent_replay, next_cursor}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: assignee_ids (array); converted_at_seconds (string); converted_by (integer); created_at_seconds (string); created_by (integer); description (string); incident_id (string); item_type (string); legacy_source_id (string); post_mortem_id (string); priority (string); source_kind (string); status (string); title (string); updated_at_seconds (string); updated_by (integer); version (integer); work_item_id (string) ### work-item-post-mortem-bind Bind work items to a post-mortem diff --git a/skills/flashduty/reference/insight.md b/skills/flashduty/reference/insight.md index 906ddb3..6a4db54 100644 --- a/skills/flashduty/reference/insight.md +++ b/skills/flashduty/reference/insight.md @@ -86,7 +86,7 @@ Get account-level insight - `--time-zone` string — IANA time zone name used to interpret the time range (e.g. 'Asia/Shanghai'). Defaults to the account time zone. - `--until` string - body-only (`--data`): fields (object); labels (object) -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); acknowledgement_pct (number); channel_id (integer); channel_name (string); hours (string); mean_seconds_to_ack (number); mean_seconds_to_close (number); noise_reduction_pct (number); responder_id (integer); responder_name (string); team_id (integer); team_name (string); total_alert_cnt (integer); total_alert_event_cnt (integer); total_engaged_seconds (integer); total_incident_cnt (integer); total_incidents_acknowledged (integer); total_incidents_auto_closed (integer); total_incidents_closed (integer); total_incidents_escalated (integer); total_incidents_manually_closed (integer); total_incidents_manually_escalated (integer); total_incidents_reassigned (integer); total_incidents_timeout_closed (integer); total_incidents_timeout_escalated (integer); total_interruptions (integer); total_notifications (integer); total_seconds_to_ack (integer); total_seconds_to_close (integer); ts (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); acknowledgement_pct (number); channel_id (integer); channel_name (string); hours (string); mean_seconds_to_ack (number); mean_seconds_to_close (number); noise_reduction_pct (number); responder_id (integer); responder_name (string); team_id (integer); team_name (string); total_alert_cnt (integer); total_alert_event_cnt (integer); total_engaged_seconds (integer); total_incident_cnt (integer); total_incidents_acknowledged (integer); total_incidents_auto_closed (integer); total_incidents_closed (integer); total_incidents_escalated (integer); total_incidents_manually_closed (integer); total_incidents_manually_escalated (integer); total_incidents_reassigned (integer); total_incidents_timeout_closed (integer); total_incidents_timeout_escalated (integer); total_interruptions (integer); total_notifications (integer); total_seconds_to_ack (integer); total_seconds_to_close (integer); ts (string) ### alert-topk-by-label Get top-K alerts grouped by check or resource @@ -223,7 +223,7 @@ List insight incidents - `--time-zone` string — IANA time zone name used to interpret the time range (e.g. 'Asia/Shanghai'). Defaults to the account time zone. - `--until` string - body-only (`--data`): fields (object); labels (object) -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: acknowledgements (integer); assigned_to (object); assignments (integer); channel_id (integer); channel_name (string); closed_by (string); closer_id (integer); closer_name (string); created_at (integer); creator_id (integer); creator_name (string); description (string); engaged_seconds (integer); escalations (integer); ever_muted (boolean); fields (object); frequency (string); hours (string); incident_id (string); interruptions (integer); labels (object); manual_escalations (integer); notifications (integer); owner_id (integer); owner_name (string); progress (string); reassignments (integer); responders (array); seconds_to_ack (integer); seconds_to_close (integer); severity (string); snoozed_before (integer); team_id (integer); team_name (string); timeout_escalations (integer); title (string) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: acknowledgements (integer); assigned_to (object); assignments (integer); channel_id (integer); channel_name (string); closed_by (string); closer_id (integer); closer_name (string); created_at (integer); creator_id (integer); creator_name (string); description (string); engaged_seconds (integer); escalations (integer); ever_muted (boolean); fields (object); frequency (string); hours (string); incident_id (string); interruptions (integer); labels (object); manual_escalations (integer); notifications (integer); owner_id (integer); owner_name (string); progress (string); reassignments (integer); responders (array); seconds_to_ack (integer); seconds_to_close (integer); severity (string); snoozed_before (string); team_id (integer); team_name (string); timeout_escalations (integer); title (string) ### incidents Query incidents with performance metrics @@ -231,7 +231,7 @@ Query incidents with performance metrics - `--page` int - `--since` string - `--until` string -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: acknowledgements (integer); assigned_to (object); assignments (integer); channel_id (integer); channel_name (string); closed_by (string); closer_id (integer); closer_name (string); created_at (integer); creator_id (integer); creator_name (string); description (string); engaged_seconds (integer); escalations (integer); ever_muted (boolean); fields (object); frequency (string); hours (string); incident_id (string); interruptions (integer); labels (object); manual_escalations (integer); notifications (integer); owner_id (integer); owner_name (string); progress (string); reassignments (integer); responders (array); seconds_to_ack (integer); seconds_to_close (integer); severity (string); snoozed_before (integer); team_id (integer); team_name (string); timeout_escalations (integer); title (string) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: acknowledgements (integer); assigned_to (object); assignments (integer); channel_id (integer); channel_name (string); closed_by (string); closer_id (integer); closer_name (string); created_at (integer); creator_id (integer); creator_name (string); description (string); engaged_seconds (integer); escalations (integer); ever_muted (boolean); fields (object); frequency (string); hours (string); incident_id (string); interruptions (integer); labels (object); manual_escalations (integer); notifications (integer); owner_id (integer); owner_name (string); progress (string); reassignments (integer); responders (array); seconds_to_ack (integer); seconds_to_close (integer); severity (string); snoozed_before (string); team_id (integer); team_name (string); timeout_escalations (integer); title (string) ### responder Get responder insight @@ -259,7 +259,7 @@ Get responder insight - `--time-zone` string — IANA time zone name used to interpret the time range (e.g. 'Asia/Shanghai'). Defaults to the account time zone. - `--until` string - body-only (`--data`): fields (object); labels (object) -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); acknowledgement_pct (number); channel_id (integer); channel_name (string); hours (string); mean_seconds_to_ack (number); responder_id (integer); responder_name (string); team_id (integer); team_name (string); total_engaged_seconds (integer); total_incident_cnt (integer); total_incidents_acknowledged (integer); total_incidents_escalated (integer); total_incidents_manually_escalated (integer); total_incidents_reassigned (integer); total_incidents_timeout_escalated (integer); total_interruptions (integer); total_notifications (integer); total_seconds_to_ack (integer); ts (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); acknowledgement_pct (number); channel_id (integer); channel_name (string); hours (string); mean_seconds_to_ack (number); responder_id (integer); responder_name (string); team_id (integer); team_name (string); total_engaged_seconds (integer); total_incident_cnt (integer); total_incidents_acknowledged (integer); total_incidents_escalated (integer); total_incidents_manually_escalated (integer); total_incidents_reassigned (integer); total_incidents_timeout_escalated (integer); total_interruptions (integer); total_notifications (integer); total_seconds_to_ack (integer); ts (string) ### responder-export Export responder insight diff --git a/skills/flashduty/reference/member.md b/skills/flashduty/reference/member.md index b7c783f..66c70a0 100644 --- a/skills/flashduty/reference/member.md +++ b/skills/flashduty/reference/member.md @@ -93,7 +93,7 @@ List members - `--query` string — Substring match on member name or email; if the keyword parses as a phone number, an exact phone match is also applied - `--role-id` int64 — Filter by role ID. Get role IDs from 'POST /role/list' (built-in roles: 2=Admin, 6=Responder, 8=Viewer) - `--search-after-ctx` string -- response: `{items: [...], limit, p, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_role_ids (array); avatar (string); country_code (string); created_at (integer); email (string); email_verified (boolean); is_external (boolean); locale (string); member_id (integer); member_name (string); phone (string); phone_verified (boolean); ref_id (string); status (string); time_zone (string); updated_at (integer) +- response: `{items: [...], limit, p, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); account_role_ids (array); avatar (string); country_code (string); created_at (string); email (string); email_verified (boolean); is_external (boolean); locale (string); member_id (integer); member_name (string); phone (string); phone_verified (boolean); ref_id (string); status (string); time_zone (string); updated_at (string) ### role-grant [...] Grant role to member diff --git a/skills/flashduty/reference/monit.md b/skills/flashduty/reference/monit.md index f554480..9b5108b 100644 --- a/skills/flashduty/reference/monit.md +++ b/skills/flashduty/reference/monit.md @@ -98,7 +98,7 @@ Create datasource - `--note` string — Optional description. - `--type-ident` string (required) — Datasource type identifier. Allowed: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. - body-only (`--data`): payload (object) (required) -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); address (string); edge_cluster_name (string); enabled (boolean); id (integer); name (string); note (string); payload (object); type_ident (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); address (string); edge_cluster_name (string); enabled (boolean); id (integer); name (string); note (string); payload (object); type_ident (string); updated_at (string) ### datasource-delete Delete datasource @@ -112,7 +112,7 @@ Get datasource detail ### datasource-list List datasources - `--type` string — Filter by datasource type identifier. Omit to return all types. Allowed values: 'prometheus', 'loki', 'mysql', 'oracle', 'postgres', 'clickhouse', 'elasticsearch', 'sls', 'victorialogs'. -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); address (string); edge_cluster_name (string); enabled (boolean); id (integer); name (string); note (string); payload (object); type_ident (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); address (string); edge_cluster_name (string); enabled (boolean); id (integer); name (string); note (string); payload (object); type_ident (string); updated_at (string) ### datasource-sls-logstores List SLS logstores @@ -188,7 +188,7 @@ Get rule status counters for top-level folders ### rule-counter-total Get rule counter time series -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); clock (integer); id (integer); num (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); clock (string); id (integer); num (integer) ### rule-create Create alert rule @@ -242,7 +242,7 @@ Import alert rules ### rule-info Get alert rule detail - `--id` int64 (required) — Alert rule ID. Obtainable per folder via 'POST /monit/rule/list/basic'. -- response: same shape as `rule-create` above +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); annotations (object); channel_ids (array); created_at (string); creator_id (integer); creator_name (string); cron_pattern (string); debug_log_enabled (boolean); delay_seconds (integer); description (string); description_type (string); ds_ids (array); ds_list (array); ds_type (string); enabled (boolean); enabled_times (array); folder_id (integer); id (integer); labels (object); name (string); repeat_interval (integer); repeat_total (integer); rule_configs (object); timezone (string); updated_at (string); updater_id (integer); updater_name (string) ### rule-list-basic List alert rules @@ -316,7 +316,7 @@ Browse service map fleet hosts - `--limit` int64 — Maximum number of matching hosts to return in this page. Default 50, range 1-100. (1-100) - `--scan-limit` int64 — Maximum number of candidate hosts to examine while filling this page. Default 1000, range 'limit'-2000. (max 2000) - `--statuses` stringSlice — Filter to hosts currently in any of these statuses. Up to 20 values. · enum: active | degraded | stale | initializing | disabled | unsupported | no_data -- response: single object (`data` unwrapped to the top level) — fields: coverage (object); generated_at_ms (integer); items (array); next_cursor (string); partial (boolean); truncated (boolean); truncation_reasons (array) +- response: single object (`data` unwrapped to the top level) — fields: coverage (object); generated_at_ms (string); items (array); next_cursor (string); partial (boolean); truncated (boolean); truncation_reasons (array) ### servicemap-fleet-summary Get service map fleet summary @@ -324,7 +324,7 @@ Get service map fleet summary - `--capture-modes` stringSlice — Filter to hosts using any of these capture modes. 'unknown' matches hosts that have not reported a capture mode yet. · enum: ebpf | polling | unknown - `--edge-clusters` stringSlice — Filter to hosts in any of these exact edge cluster names. Up to 20 values. - `--scan-limit` int64 — Maximum number of candidate hosts to scan. Default 2000, range 1-5000. (1-5000) -- response: single object (`data` unwrapped to the top level) — fields: coverage (object); generated_at_ms (integer); partial (boolean); scan_limit (integer); truncated (boolean); truncation_reasons (array) +- response: single object (`data` unwrapped to the top level) — fields: coverage (object); generated_at_ms (string); partial (boolean); scan_limit (integer); truncated (boolean); truncation_reasons (array) ### servicemap-status Get service map status @@ -332,13 +332,13 @@ Get service map status - `--host-id` string — A single host ID to check. Combine with 'host_ids' to check several; mutually exclusive with 'fleet=true'. (≤128 chars) - `--host-ids` stringSlice — Multiple host IDs to check in one call, up to 200 combined with 'host_id'. Mutually exclusive with 'fleet=true'. - `--limit` int64 — In 'fleet' mode, the number of candidate hosts to sample. Ignored otherwise. Default 100, range 1-200. (1-200) -- response: single object (`data` unwrapped to the top level) — fields: coverage (object); fleet (boolean); generated_at_ms (integer); items (array); partial (boolean) +- response: single object (`data` unwrapped to the top level) — fields: coverage (object); fleet (boolean); generated_at_ms (string); items (array); partial (boolean) ### servicemap-summary Get service map summary - `--network-scope-id` string — Optional integrity check: if set, must match the network scope already associated with 'anchor.host_id', or the request is rejected with 'InvalidParameter'. - body-only (`--data`): anchor (object) (required) -- response: single object (`data` unwrapped to the top level) — fields: anchor_entity_id (string); anchor_host_id (string); authoritative (boolean); context_ref_detail (string); coverage (object); freshness (object); graph_role (string); latest_collection_authoritative (boolean); latest_health_at_ms (integer); neighbors (array); network_scope_id (string); observed_at_ms (integer); received_at_ms (integer); resolution_counts (object); status (string); truncated (boolean); truncation_reasons (array) +- response: single object (`data` unwrapped to the top level) — fields: anchor_entity_id (string); anchor_host_id (string); authoritative (boolean); context_ref_detail (string); coverage (object); freshness (object); graph_role (string); latest_collection_authoritative (boolean); latest_health_at_ms (string); neighbors (array); network_scope_id (string); observed_at_ms (string); received_at_ms (string); resolution_counts (object); status (string); truncated (boolean); truncation_reasons (array) ### servicemap-topology Get service map topology @@ -351,7 +351,7 @@ Get service map topology - `--network-scope-id` string — Optional integrity check: if set, must match the network scope already associated with 'anchor.host_id', or the request is rejected with 'InvalidParameter'. - `--unresolved-mode` string — How unresolved edges are projected. 'full' (default) includes them in 'edges' and 'unresolved_endpoints'; 'summary' omits them from 'edges' and returns only a bounded sample in 'unresolved_endpoints'. · enum: summary | full - body-only (`--data`): anchor (object) (required) -- response: single object (`data` unwrapped to the top level) — fields: anchor_entity_id (string); anchor_host_id (string); coverage (object); edges (array); freshness (object); network_scope_id (string); nodes (array); observed_at_ms (integer); resolution_counts (object); truncated (boolean); truncation_reasons (array); unresolved_endpoints (array); unresolved_projection (object) +- response: single object (`data` unwrapped to the top level) — fields: anchor_entity_id (string); anchor_host_id (string); coverage (object); edges (array); freshness (object); network_scope_id (string); nodes (array); observed_at_ms (string); resolution_counts (object); truncated (boolean); truncation_reasons (array); unresolved_endpoints (array); unresolved_projection (object) ### store-ruleset-create Create ruleset @@ -359,7 +359,7 @@ Create ruleset - `--open-flag` int64 — Sharing scope. '0' = private (creator only), '1' = account-shared, '2' = public. Defaults to '0' if omitted. - `--payload` string (required) — JSON string containing the alert rule definitions. - `--type-ident` string (required) — Datasource type identifier this ruleset applies to, e.g. 'prometheus'. -- response: single object (`data` unwrapped to the top level) — fields: created_at (integer); creator_account_id (integer); creator_id (integer); creator_name (string); id (integer); note (string); open_flag (integer); payload (string); type_ident (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: created_at (string); creator_account_id (integer); creator_id (integer); creator_name (string); id (integer); note (string); open_flag (integer); payload (string); type_ident (string); updated_at (string) ### store-ruleset-delete Delete ruleset @@ -373,7 +373,7 @@ Get ruleset detail ### store-ruleset-list List rulesets - `--type-ident` string (required) — Datasource type identifier to filter by, e.g. 'prometheus'. -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: created_at (integer); creator_account_id (integer); creator_id (integer); creator_name (string); id (integer); note (string); open_flag (integer); payload (string); type_ident (string); updated_at (integer) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: created_at (string); creator_account_id (integer); creator_id (integer); creator_name (string); id (integer); note (string); open_flag (integer); payload (string); type_ident (string); updated_at (string) ### store-ruleset-update Update ruleset @@ -389,7 +389,7 @@ List monitored targets - `--cursor` string — Opaque pagination cursor from the previous response's 'next_cursor'. Omit / pass empty string for the first page. Reset whenever 'keyword', 'limit', or tenant changes. - `--keyword` string — Prefix match against 'target_locator'. ASCII only, no whitespace, no '|', max 256 bytes. Substring search is not supported. - `--limit` int64 — Page size. Default 50, max 200. (max 200) -- response: `{items: [...], next_cursor, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: agent_version (string); cluster_name (string); edge_ipport (string); target_kind (string); target_locator (string); updated_at (integer) +- response: `{items: [...], next_cursor, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: agent_version (string); cluster_name (string); edge_ipport (string); target_kind (string); target_locator (string); updated_at (string) ### tools-catalog List target tool catalog diff --git a/skills/flashduty/reference/postmortem.md b/skills/flashduty/reference/postmortem.md index 51b0ad0..d2454fb 100644 --- a/skills/flashduty/reference/postmortem.md +++ b/skills/flashduty/reference/postmortem.md @@ -102,7 +102,7 @@ List post-mortems - `--search-after-ctx` string — Cursor from a previous response for forward pagination. - `--status` string — Report status. Defaults to 'published' on the server when omitted. · enum: drafting | published - `--team-ids` intSlice — Team IDs to restrict the query to. -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); author_ids (array); channel_id (integer); channel_name (string); created_at_seconds (integer); generation (integer); incident_ids (array); is_private (boolean); media_count (integer); post_mortem_id (string); revision (integer); status (string); team_id (integer); template_id (string); title (string); updated_at_seconds (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); author_ids (array); channel_id (integer); channel_name (string); created_at_seconds (string); generation (integer); incident_ids (array); is_private (boolean); media_count (integer); post_mortem_id (string); revision (integer); status (string); team_id (integer); template_id (string); title (string); updated_at_seconds (string) ### post-mortem-status-reset Update post-mortem status @@ -116,7 +116,7 @@ Delete post-mortem template ### post-mortem-template-info Get post-mortem template detail - `` (positional, required) string — Template ID. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); content (string); content_markdown (string); created_at_seconds (integer); description (string); name (string); team_id (integer); template_id (string); updated_at_seconds (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); content (string); content_markdown (string); created_at_seconds (string); description (string); name (string); team_id (integer); template_id (string); updated_at_seconds (string) ### post-mortem-template-list List post-mortem templates @@ -125,7 +125,7 @@ List post-mortem templates - `--order-by` string — Field used to order results. · enum: created_at_seconds - `--page` int64 — Page number starting at 1. (min 0) - `--search-after-ctx` string — Cursor from a previous response for forward pagination. -- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); content (string); content_markdown (string); created_at_seconds (integer); description (string); name (string); team_id (integer); template_id (string); updated_at_seconds (integer) +- response: `{items: [...], has_next_page, search_after_ctx, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); content (string); content_markdown (string); created_at_seconds (string); description (string); name (string); team_id (integer); template_id (string); updated_at_seconds (string) ### post-mortem-template-upsert Create or update post-mortem template diff --git a/skills/flashduty/reference/role.md b/skills/flashduty/reference/role.md index 5418ed4..6cca225 100644 --- a/skills/flashduty/reference/role.md +++ b/skills/flashduty/reference/role.md @@ -75,13 +75,13 @@ Enable a role ### info Get role detail - `` (positional, required) int64 — Role ID to query. Get IDs from 'POST /role/list' (built-in roles: 2=Admin, 6=Responder, 8=Viewer). -- response: single object (`data` unwrapped to the top level) — fields: created_at (integer); description (string); editable (boolean); permission_ids (array); role_id (integer); role_name (string); status (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: created_at (string); description (string); editable (boolean); permission_ids (array); role_id (integer); role_name (string); status (string); updated_at (string) ### list List roles - `--asc` bool — Ascending sort order. Default: false (descending). - `--orderby` string — Sort field. Default: 'updated_at'. · enum: created_at | updated_at -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); description (string); editable (boolean); permission_ids (array); role_id (integer); role_name (string); status (string); updated_at (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); description (string); editable (boolean); permission_ids (array); role_id (integer); role_name (string); status (string); updated_at (string) ### member-grant [...] Grant role to members diff --git a/skills/flashduty/reference/route.md b/skills/flashduty/reference/route.md index 243925f..2ead7df 100644 --- a/skills/flashduty/reference/route.md +++ b/skills/flashduty/reference/route.md @@ -52,12 +52,12 @@ fduty route list --output-format toon ### info Get routing rule detail - `` (positional, required) int64 — Integration ID. Must be greater than 0. -- response: single object (`data` unwrapped to the top level) — fields: cases (array); created_at (integer); creator_id (integer); default (object); deleted_at (integer); integration_id (integer); sections (array); status (string); updated_at (integer); updated_by (integer); version (integer) +- response: single object (`data` unwrapped to the top level) — fields: cases (array); created_at (string); creator_id (integer); default (object); deleted_at (string); integration_id (integer); sections (array); status (string); updated_at (string); updated_by (integer); version (integer) ### list [...] List routing rules - `` (positional, required) intSlice — Integration IDs to fetch routing rules for. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: cases (array); created_at (integer); creator_id (integer); default (object); deleted_at (integer); integration_id (integer); sections (array); status (string); updated_at (integer); updated_by (integer); version (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: cases (array); created_at (string); creator_id (integer); default (object); deleted_at (string); integration_id (integer); sections (array); status (string); updated_at (string); updated_by (integer); version (integer) ### upsert Upsert routing rule diff --git a/skills/flashduty/reference/rum.md b/skills/flashduty/reference/rum.md index f985a15..6c9a854 100644 --- a/skills/flashduty/reference/rum.md +++ b/skills/flashduty/reference/rum.md @@ -79,12 +79,12 @@ Delete application ### application-info Get application detail - `` (positional, required) string — RUM application ID. Get application IDs via 'POST /rum/application/list'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (integer); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (integer); updated_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (string); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (string); updated_by (integer) ### application-infos [...] Batch get applications - `` (positional, required) stringSlice — Up to 200 application IDs. Get IDs via 'POST /rum/application/list'. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (integer); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (integer); updated_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (string); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (string); updated_by (integer) ### application-list List applications @@ -96,7 +96,7 @@ List applications - `--query` string — Substring match on the application name. - `--search-after-ctx` string - `--team-id` int64 — Filter by team ID. Get team IDs via 'POST /team/list'. -- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (integer); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (integer); updated_by (integer) +- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); alerting (object); application_id (string); application_name (string); client_token (string); created_at (string); created_by (integer); is_private (boolean); links (object); no_geo (boolean); no_ip (boolean); status (string); team_id (integer); tracing (object); type (string); updated_at (string); updated_by (integer) ### application-update Update application @@ -152,7 +152,7 @@ List error ingestion rule history - `--orderby` string — Sort column: 'updated_at' or 'version'. Unrecognized values fall back to 'updated_at'. - `--page` int64 — Zero-based page number. Default 0. (min 0) - `--search-after-ctx` string -- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: rules (array); updated_at (integer); updated_by (integer); updated_by_name (string); version (integer) +- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: rules (array); updated_at (string); updated_by (integer); updated_by_name (string); version (integer) ### error-ingestion-rules-history-revert Revert error ingestion rules to a history version @@ -162,7 +162,7 @@ Revert error ingestion rules to a history version ### error-ingestion-rules-list List error ingestion rules - `` (positional, required) string — RUM application ID. Get application IDs via 'POST /rum/application/list'. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); description (string); filters (array>); rule_id (string); rule_name (string); status (string); updated_at (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); description (string); filters (array>); rule_id (string); rule_name (string); status (string); updated_at (string) ### error-ingestion-rules-update Update an error ingestion rule @@ -256,7 +256,7 @@ Revert preset severity rules to a history snapshot ### issue-preset-severity-rules-list List preset severity rules - `` (positional, required) string — RUM application ID. Get application IDs via 'POST /rum/application/list'. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); description (string); filters (array>); priority (integer); rule_id (string); rule_name (string); severity (string); status (string); updated_at (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); description (string); filters (array>); priority (integer); rule_id (string); rule_name (string); severity (string); status (string); updated_at (string) ### issue-preset-severity-rules-reorder Reorder preset severity rule @@ -282,7 +282,7 @@ Update issue ### resource-info Get RUM resource info - `--no-cache` bool — Bypass the short-lived cache of the resource record (plan version, quotas, status) and read it from source. Does not refresh the usage counts. Default 'false'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); action.days (integer); created_at (integer); error.days (integer); expired_at (integer); long_task.days (integer); offering_id (integer); order_id (string); product (string); resource.days (integer); resource_id (string); resource_name (string); session.days (integer); session_investigate.free_cnt (integer); session_investigate.used_cnt (integer); session_limit_reached (boolean); session_measure.free_cnt (integer); session_measure.used_cnt (integer); session_replay.free_cnt (integer); session_replay.used_cnt (integer); status (string); updated_at (integer); version (string); view.days (integer); window_end_time (integer); window_start_time (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); action.days (integer); created_at (string); error.days (integer); expired_at (string); long_task.days (integer); offering_id (integer); order_id (string); product (string); resource.days (integer); resource_id (string); resource_name (string); session.days (integer); session_investigate.free_cnt (integer); session_investigate.used_cnt (integer); session_limit_reached (boolean); session_measure.free_cnt (integer); session_measure.used_cnt (integer); session_replay.free_cnt (integer); session_replay.used_cnt (integer); status (string); updated_at (string); version (string); view.days (integer); window_end_time (string); window_start_time (string) ### session-replay-metadata Get session replay metadata diff --git a/skills/flashduty/reference/safari.md b/skills/flashduty/reference/safari.md index 2a40bcd..c79d6c9 100644 --- a/skills/flashduty/reference/safari.md +++ b/skills/flashduty/reference/safari.md @@ -77,7 +77,7 @@ Enable A2A agent ### a2a-agent-get Get A2A agent detail - `` (positional, required) string — Target agent ID, from the list returned by 'POST /safari/a2a-agent/list'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); agent_card_name (string); agent_card_skills (array); agent_id (string); agent_name (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); auth_config (object); auth_mode (string); auth_type (string); can_edit (boolean); card_resolve_timeout (integer); card_url (string); created_at (integer); created_by (integer); environment_id (string); environment_kind (string); instructions (string); oauth_metadata (string); secret_schema (string); status (string); streaming (boolean); task_timeout (integer); team_id (integer); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); agent_card_name (string); agent_card_skills (array); agent_id (string); agent_name (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); auth_config (object); auth_mode (string); auth_type (string); can_edit (boolean); card_resolve_timeout (integer); card_url (string); created_at (string); created_by (integer); environment_id (string); environment_kind (string); instructions (string); oauth_metadata (string); secret_schema (string); status (string); streaming (boolean); task_timeout (integer); team_id (integer); updated_at (string) ### a2a-agent-list List A2A agents @@ -87,7 +87,7 @@ List A2A agents - `--query` string — Case-insensitive substring search across agent name, instructions, card URL, agent ID, and the resolved card name. (≤128 chars) - `--scope` string — Visibility scope: 'all' (account-scope plus the caller's visible teams), 'account' (account-scope only), or 'team' (team-scoped rows across the caller's visible teams). · enum: all | account | team - `--team-ids` intSlice — Filter to these team IDs; empty = the caller's visible set. -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); agent_card_name (string); agent_card_skills (array); agent_id (string); agent_name (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); auth_config (object); auth_mode (string); auth_type (string); can_edit (boolean); card_resolve_timeout (integer); card_url (string); created_at (integer); created_by (integer); environment_id (string); environment_kind (string); instructions (string); oauth_metadata (string); secret_schema (string); status (string); streaming (boolean); task_timeout (integer); team_id (integer); updated_at (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); agent_card_name (string); agent_card_skills (array); agent_id (string); agent_name (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); auth_config (object); auth_mode (string); auth_type (string); can_edit (boolean); card_resolve_timeout (integer); card_url (string); created_at (string); created_by (integer); environment_id (string); environment_kind (string); instructions (string); oauth_metadata (string); secret_schema (string); status (string); streaming (boolean); task_timeout (integer); team_id (integer); updated_at (string) ### a2a-agent-update Update A2A agent @@ -122,7 +122,7 @@ Create Automation rule - `--schedule-trigger-enabled` bool — Whether the schedule trigger is enabled. Defaults to true when omitted; HTTP-POST-only rules should send false. - `--team-id` int64 — Scope team ID. 0 or omitted means a personal rule; >0 means a team in the account. Immutable after creation. (min 0) - `--timezone` string — IANA timezone 'cron_expr' is evaluated in, e.g. 'Asia/Shanghai'. Must be a timezone name loadable by the server; an invalid value is rejected. Defaults to the caller's member timezone, then the account timezone, then the server default (Asia/Shanghai) when omitted. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at (integer); cron_expr (string); enabled (boolean); environment_id (string); environment_kind (string); http_post_token (string); http_post_trigger_enabled (boolean); http_post_trigger_id (string); http_post_trigger_url (string); name (string); oncall_incident_channel_ids (array); oncall_incident_severities (array); oncall_incident_trigger_enabled (boolean); oncall_incident_trigger_id (string); owner_id (integer); prompt (string); rule_id (string); run_scope (string); schedule_next_fire_at_ms (integer); schedule_trigger_enabled (boolean); schedule_trigger_id (string); team_id (integer); timezone (string); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at (string); cron_expr (string); enabled (boolean); environment_id (string); environment_kind (string); http_post_token (string); http_post_trigger_enabled (boolean); http_post_trigger_id (string); http_post_trigger_url (string); name (string); oncall_incident_channel_ids (array); oncall_incident_severities (array); oncall_incident_trigger_enabled (boolean); oncall_incident_trigger_id (string); owner_id (integer); prompt (string); rule_id (string); run_scope (string); schedule_next_fire_at_ms (string); schedule_trigger_enabled (boolean); schedule_trigger_id (string); team_id (integer); timezone (string); updated_at (string) ### automation-rule-delete Delete Automation rule @@ -232,7 +232,7 @@ Delete knowledge pack Ensure knowledge pack - `--scope` string (required) — Scope of the pack to ensure. · enum: account | team - `--scope-id` int64 — Team ID; required for 'team' scope, ignored for 'account' scope. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at_ms (integer); created_by (integer); file_count (integer); pack_id (string); scope (string); scope_id (integer); team_name (string); total_bytes (integer); updated_at_ms (integer); version (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); can_edit (boolean); created_at_ms (string); created_by (integer); file_count (integer); pack_id (string); scope (string); scope_id (integer); team_name (string); total_bytes (integer); updated_at_ms (string); version (integer) ### knowledge-pack-list List knowledge packs @@ -273,7 +273,7 @@ Create MCP server - `--transport` string (required) — Transport protocol: 'stdio' launches a local process via 'command'/'args'/'env', 'sse' / 'streamable-http' connects to a remote service via 'url'/'headers'. · enum: stdio | sse | streamable-http - `--url` string — Server URL (sse / streamable-http transport). - body-only (`--data`): env (object); headers (object) -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); ai_description (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); args (array); auth_mode (string); call_timeout (integer); can_edit (boolean); command (string); connect_timeout (integer); created_at (integer); created_by (integer); description (string); env (object); environment_id (string); environment_kind (string); headers (object); list_error (string); oauth_metadata (string); proxy_url (string); secret_schema (string); server_id (string); server_name (string); source_template_name (string); status (string); team_id (integer); tool_count (integer); tools (array); transport (string); updated_at (integer); url (string) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); ai_description (string); allow_insecure_oauth_http (boolean); allow_insecure_tls_skip_verify (boolean); args (array); auth_mode (string); call_timeout (integer); can_edit (boolean); command (string); connect_timeout (integer); created_at (string); created_by (integer); description (string); env (object); environment_id (string); environment_kind (string); headers (object); list_error (string); oauth_metadata (string); proxy_url (string); secret_schema (string); server_id (string); server_name (string); source_template_name (string); status (string); team_id (integer); tool_count (integer); tools (array); transport (string); updated_at (string); url (string) ### mcp-server-delete Delete MCP server @@ -373,7 +373,7 @@ Enable skill ### skill-get Get skill detail - `` (positional, required) string — Target skill ID, from the list returned by 'POST /safari/skill/list'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); author (string); can_edit (boolean); checksum (string); content (string); created (boolean); created_at (integer); created_by (integer); description (string); description_en (string); is_modified (boolean); license (string); s3_key (string); skill_id (string); skill_name (string); source_template_name (string); source_template_version (string); status (string); tags (array); team_id (integer); tools (array); update_available (boolean); updated_at (integer); version (string) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); author (string); can_edit (boolean); checksum (string); content (string); created (boolean); created_at (string); created_by (integer); description (string); description_en (string); is_modified (boolean); license (string); s3_key (string); skill_id (string); skill_name (string); source_template_name (string); source_template_version (string); status (string); tags (array); team_id (integer); tools (array); update_available (boolean); updated_at (string); version (string) ### skill-list List skills diff --git a/skills/flashduty/reference/schedule.md b/skills/flashduty/reference/schedule.md index ddb415e..950b255 100644 --- a/skills/flashduty/reference/schedule.md +++ b/skills/flashduty/reference/schedule.md @@ -119,12 +119,12 @@ Get schedule info - `--end` string (required) — Preview end timestamp (Unix seconds, 10 digits). Accepts a duration (7d, 24h), '+7d' for the future, 'now', a date, or Unix seconds. - `` (positional, required) int64 — Schedule ID; obtain it from 'POST /schedule/list'. - `--start` string (required) — Preview start timestamp (Unix seconds, 10 digits). Accepts a duration (7d, 24h), '+7d' for the future, 'now', a date, or Unix seconds. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); create_at (integer); create_by (integer); cur_oncall (object); description (any); disabled (any); end (integer); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (integer); status (any); team_id (any); update_at (integer); update_by (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); create_at (string); create_by (integer); cur_oncall (object); description (any); disabled (any); end (string); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (string); status (any); team_id (any); update_at (string); update_by (integer) ### infos [...] Batch get schedules - `` (positional, required) intSlice — Schedule ID list; obtain IDs from 'POST /schedule/list'. -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); create_at (integer); create_by (integer); cur_oncall (object); description (any); disabled (any); end (integer); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (integer); status (any); team_id (any); update_at (integer); update_by (integer) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); create_at (string); create_by (integer); cur_oncall (object); description (any); disabled (any); end (string); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (string); status (any); team_id (any); update_at (string); update_by (integer) ### list List schedules @@ -137,7 +137,7 @@ List schedules - `--search-after-ctx` string - `--start` string — When set together with end, computed layer schedules are returned. Span must be less than 45 days. Accepts a duration (7d, 24h), '+7d' for the future, 'now', a date, or Unix seconds. - `--team-ids` intSlice — Filter by team IDs. -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); create_at (integer); create_by (integer); cur_oncall (object); description (any); disabled (any); end (integer); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (integer); status (any); team_id (any); update_at (integer); update_by (integer) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); create_at (string); create_by (integer); cur_oncall (object); description (any); disabled (any); end (string); field (string); final_schedule (object); group_id (any); id (any); layer_schedules (array); layers (array); name (any); next_oncall (object); notify (object); schedule_id (integer); schedule_layers (array); schedule_name (any); start (string); status (any); team_id (any); update_at (string); update_by (integer) ### preview Preview schedule diff --git a/skills/flashduty/reference/sourcemap.md b/skills/flashduty/reference/sourcemap.md index 5f28092..9a0d55e 100644 --- a/skills/flashduty/reference/sourcemap.md +++ b/skills/flashduty/reference/sourcemap.md @@ -47,7 +47,7 @@ List sourcemaps - `--type` string — Platform type. Defaults to 'browser' when omitted. · enum: browser | android | ios - `--uuid` string — iOS only. Filter by dSYM bundle UUID. Max 200 characters. - `--versions` stringSlice — Filter by version strings. Up to 100 values. -- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (integer); git_commit_sha (string); git_repository_url (string); key (string); metadata (object); service (string); size (integer); type (string); updated_at (integer); version (string) +- response: `{items: [...], total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: created_at (string); git_commit_sha (string); git_repository_url (string); key (string); metadata (object); service (string); size (integer); type (string); updated_at (string); version (string) ### stack-enrich Enrich a stack trace diff --git a/skills/flashduty/reference/status-page.md b/skills/flashduty/reference/status-page.md index 31e808c..fef5dcb 100644 --- a/skills/flashduty/reference/status-page.md +++ b/skills/flashduty/reference/status-page.md @@ -53,7 +53,7 @@ fduty status-page change-active-list --type incident List active status page events - `` (positional, required) int64 — Status page ID. - `--type` string (required) — Event type filter. Required. Returns only in-progress (non-terminal) events — 'investigating'/'identified'/'monitoring' for 'incident', 'scheduled'/'ongoing' for 'maintenance'. · enum: incident | maintenance -- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: affected_components (array); auto_update_by_schedule (boolean); change_id (integer); close_at_seconds (integer); description (string); is_retrospective (boolean); linked_change_ids (array); notify_subscribers (boolean); page_id (integer); responder_ids (array); start_at_seconds (integer); status (string); title (string); type (string); updates (array) +- response: `{items: [...]}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: affected_components (array); auto_update_by_schedule (boolean); change_id (integer); close_at_seconds (string); description (string); is_retrospective (boolean); linked_change_ids (array); notify_subscribers (boolean); page_id (integer); responder_ids (array); start_at_seconds (string); status (string); title (string); type (string); updates (array) ### change-create Create status page event @@ -81,7 +81,7 @@ Delete status page event Get status page event detail - `--change-id` int64 (required) — Event (change) ID. - `--page-id` int64 (required) — Status page ID. -- response: single object (`data` unwrapped to the top level) — fields: affected_components (array); auto_update_by_schedule (boolean); change_id (integer); close_at_seconds (integer); description (string); is_retrospective (boolean); linked_change_ids (array); notify_subscribers (boolean); page_id (integer); responder_ids (array); start_at_seconds (integer); status (string); title (string); type (string); updates (array) +- response: single object (`data` unwrapped to the top level) — fields: affected_components (array); auto_update_by_schedule (boolean); change_id (integer); close_at_seconds (string); description (string); is_retrospective (boolean); linked_change_ids (array); notify_subscribers (boolean); page_id (integer); responder_ids (array); start_at_seconds (string); status (string); title (string); type (string); updates (array) ### change-list List status page events @@ -184,7 +184,7 @@ Cancel status page migration ### migration-status Get migration status - `` (positional, required) string — Migration job ID returned by 'migrate-structure' or 'migrate-email-subscribers'. -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (integer); error (string); job_id (string); phase (string); progress (object); source_page_id (string); status (string); target_page_id (integer); updated_at (integer) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (string); error (string); job_id (string); phase (string); progress (object); source_page_id (string); status (string); target_page_id (integer); updated_at (string) ### section-delete [...] Delete status page section diff --git a/skills/flashduty/reference/team.md b/skills/flashduty/reference/team.md index 4335675..01bbb18 100644 --- a/skills/flashduty/reference/team.md +++ b/skills/flashduty/reference/team.md @@ -66,7 +66,7 @@ Get team detail - `--id` int64 - `--name` string - `--ref-id` string -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (integer); creator_id (integer); creator_name (string); description (string); person_ids (array); ref_id (string); status (string); team_id (integer); team_name (string); updated_at (integer); updated_by (integer); updated_by_name (string) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (string); creator_id (integer); creator_name (string); description (string); person_ids (array); ref_id (string); status (string); team_id (integer); team_name (string); updated_at (string); updated_by (integer); updated_by_name (string) ### info Get team detail @@ -88,7 +88,7 @@ List teams - `--orderby` string - `--page` int - `--person-id` int64 -- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (integer); creator_id (integer); creator_name (string); description (string); person_ids (array); ref_id (string); status (string); team_id (integer); team_name (string); updated_at (integer); updated_by (integer); updated_by_name (string) +- response: TOP-LEVEL array — pipe `--json | jq '.[]'` (NOT `.items[]`) — fields: account_id (integer); created_at (string); creator_id (integer); creator_name (string); description (string); person_ids (array); ref_id (string); status (string); team_id (integer); team_name (string); updated_at (string); updated_by (integer); updated_by_name (string) ### update Update an existing team diff --git a/skills/flashduty/reference/template.md b/skills/flashduty/reference/template.md index 85392d8..187e3a9 100644 --- a/skills/flashduty/reference/template.md +++ b/skills/flashduty/reference/template.md @@ -91,7 +91,7 @@ List available template functions ### get-preset Get the preset template for a channel - `--channel` string -- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (integer); creator_id (integer); deleted_at (integer); description (string); dingtalk (string); dingtalk_app (string); email (string); feishu (string); feishu_app (string); feishu_app_card_table_enabled (boolean); incident_card_hidden_fields (object); slack (string); slack_app (string); sms (string); status (string); team_id (integer); teams_app (string); telegram (string); template_id (string); template_name (string); updated_at (integer); updated_by (integer); voice (string); wecom (string); wecom_app (string); zoom (string) +- response: single object (`data` unwrapped to the top level) — fields: account_id (integer); created_at (string); creator_id (integer); deleted_at (string); description (string); dingtalk (string); dingtalk_app (string); email (string); feishu (string); feishu_app (string); feishu_app_card_table_enabled (boolean); incident_card_hidden_fields (object); slack (string); slack_app (string); sms (string); status (string); team_id (integer); teams_app (string); telegram (string); template_id (string); template_name (string); updated_at (string); updated_by (integer); voice (string); wecom (string); wecom_app (string); zoom (string) ### info Get template detail @@ -109,7 +109,7 @@ List templates - `--query` string — Regex or substring match on template_name. - `--search-after-ctx` string - `--team-ids` intSlice — Filter by specific team IDs. -- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); created_at (integer); creator_id (integer); deleted_at (integer); description (string); dingtalk (string); dingtalk_app (string); email (string); feishu (string); feishu_app (string); feishu_app_card_table_enabled (boolean); incident_card_hidden_fields (object); slack (string); slack_app (string); sms (string); status (string); team_id (integer); teams_app (string); telegram (string); template_id (string); template_name (string); updated_at (integer); updated_by (integer); voice (string); wecom (string); wecom_app (string); zoom (string) +- response: `{items: [...], has_next_page, total}` page wrapper — pipe `--json | jq '.items[]'` (NOT top-level `.[]`) — items fields: account_id (integer); created_at (string); creator_id (integer); deleted_at (string); description (string); dingtalk (string); dingtalk_app (string); email (string); feishu (string); feishu_app (string); feishu_app_card_table_enabled (boolean); incident_card_hidden_fields (object); slack (string); slack_app (string); sms (string); status (string); team_id (integer); teams_app (string); telegram (string); template_id (string); template_name (string); updated_at (string); updated_by (integer); voice (string); wecom (string); wecom_app (string); zoom (string) ### preview Preview template