Skip to content

API schemas: M

Type: object or object or object or object or object or object or object or object or object or object or object or object or object or object

  • One of (1): object
    • key ("network.stream_first_byte_timeout", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default ("1m", required)
    • minimum ("100ms", required)
    • maximum ("30m", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (2): object
    • key ("network.stream_idle_timeout", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default ("2m", required)
    • minimum ("0s", required)
    • maximum ("30m", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (3): object
    • key ("network.stream_max_duration", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default ("30m", required)
    • minimum ("1s", required)
    • maximum ("24h0m", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (4): object
    • key ("network.client_write_stall_timeout", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default ("1m", required)
    • minimum ("100ms", required)
    • maximum ("30m", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (5): object
    • key ("models[].request_timeout", required)
    • group ("routing", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("100ms", required)
    • maximum ("30m", required)
    • presence ("inherit", required)
    • inherit_from ("network.request_timeout", required)
    • creation_preset (null, required)
    • maximum_text_length (null, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (6): object
    • key ("models[].stream_timeouts.first_byte", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("100ms", required)
    • maximum ("30m", required)
    • presence ("inherit", required)
    • inherit_from ("network.stream_first_byte_timeout", required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (7): object
    • key ("models[].stream_timeouts.idle", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("0s", required)
    • maximum ("30m", required)
    • presence ("inherit", required)
    • inherit_from ("network.stream_idle_timeout", required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (8): object
    • key ("models[].stream_timeouts.max_duration", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("1s", required)
    • maximum ("24h0m", required)
    • presence ("inherit", required)
    • inherit_from ("network.stream_max_duration", required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (9): object
    • key ("models[].stream_timeouts.write_stall", required)
    • group ("stream_clocks", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("100ms", required)
    • maximum ("30m", required)
    • presence ("inherit", required)
    • inherit_from ("network.client_write_stall_timeout", required)
    • creation_preset (null, required)
    • maximum_text_length (16, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (10): object
    • key ("models[].retry.initial_backoff", required)
    • group ("routing", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("10ms", required)
    • maximum ("1s", required)
    • presence ("required", required)
    • inherit_from (null, required)
    • creation_preset ("100ms", required)
    • maximum_text_length (null, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (11): object
    • key ("models[].retry.max_backoff", required)
    • group ("routing", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("10ms", required)
    • maximum ("10s", required)
    • presence ("required", required)
    • inherit_from (null, required)
    • creation_preset ("2s", required)
    • maximum_text_length (null, required)
    • minimum_from ("models[].retry.initial_backoff", required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (12): object
    • key ("models[].latency_routing.max_age", required)
    • group ("routing", required)
    • kind ("managed_duration", required)
    • default (null, required)
    • minimum ("1s", required)
    • maximum ("15m", required)
    • presence ("required", required)
    • inherit_from (null, required)
    • creation_preset ("1m", required)
    • maximum_text_length (null, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (13): object
    • key ("models[].targets[].admission.queue_timeout", required)
    • group ("routing", required)
    • kind ("managed_duration", required)
    • default ("1s", required)
    • minimum ("1ms", required)
    • maximum ("30s", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset ("1s", required)
    • maximum_text_length (null, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (14): object
    • key ("resiliency.circuit_breaker.open_duration", required)
    • group ("resilience", required)
    • kind ("managed_duration", required)
    • default ("30s", required)
    • minimum ("1s", required)
    • maximum ("10m", required)
    • presence ("default", required)
    • inherit_from (null, required)
    • creation_preset (null, required)
    • maximum_text_length (null, required)
    • minimum_from (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)

Type: object or object

  • One of (1): object
    • key ("cache_backend.backend", required)
    • group ("cache", required)
    • kind ("managed_enum", required)
    • default ("memory", required)
    • values (["memory","redis","memcached"], required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (2): object
    • key ("models[].semantic_cache.scope", required)
    • group ("cache", required)
    • kind ("managed_enum", required)
    • default ("key", required)
    • values (["key","team"], required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)

Type: object or object or object or object or object

  • One of (1): object
    • key ("models[].retry.max_attempts", required)
    • group ("routing", required)
    • kind ("managed_integer", required)
    • default (null, required)
    • minimum ("2", required)
    • maximum ("3", required)
    • presence ("required", required)
    • creation_preset ("2", required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (2): object
    • key ("models[].latency_routing.probe_every", required)
    • group ("routing", required)
    • kind ("managed_integer", required)
    • default (null, required)
    • minimum ("2", required)
    • maximum ("1000", required)
    • presence ("required", required)
    • creation_preset ("10", required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (3): object
    • key ("models[].targets[].admission.max_concurrency", required)
    • group ("routing", required)
    • kind ("managed_integer", required)
    • default (null, required)
    • minimum ("1", required)
    • maximum ("1024", required)
    • presence ("required", required)
    • creation_preset ("1", required)
    • sources (array of string, required, min items 2, max items 2)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (4): object
    • key ("models[].targets[].admission.queue_capacity", required)
    • group ("routing", required)
    • kind ("managed_integer", required)
    • default ("0", required)
    • minimum ("0", required)
    • maximum ("1024", required)
    • presence ("default", required)
    • creation_preset ("0", required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)
  • One of (5): object
    • key ("resiliency.circuit_breaker.failure_threshold", required)
    • group ("resilience", required)
    • kind ("managed_integer", required)
    • default ("3", required)
    • minimum ("1", required)
    • maximum ("100", required)
    • presence ("default", required)
    • creation_preset (null, required)
    • sources (array of string, required, min items 3, max items 3)
    • restart_required (false, required)
    • yaml_requires_restart (true, required)

Type: object

Optional YAML members use defaults; administrative PUT requires all four fields. Defaults disable both positive windows. Null, wrong-case and duplicate fields are refused. Raw0 capacities select documented defaults, never an unbounded cache.

  • ttl (string, required, default "0s") — Go duration0..60s in whole milliseconds; empty means0s. Zero disables fresh hits, not infinite TTL.
  • stale_on_database_error (string, required, default "0s") — Go duration0..5m in whole milliseconds; empty means0s. Only eligible prior proof after permitted transient database failure, never unknown/cancelled/negative/busy acceptance.
  • max_entries (integer, required, default 4096, min 0, max 65536) — Effective1..65536 entries; omitted/raw0 selects4096.
  • max_bytes_mib (integer, required, default 8, min 0, max 64) — Effective1..64MiB accounted snapshot weight; omitted/raw0 selects8. Not process RSS.

Type: object

  • version (integer, required, min 0)
  • base_fingerprint (string, required, pattern ^[a-f0-9]{64}$)
  • stored_base_fingerprint (string, required, pattern ^([a-f0-9]{64})?$)
  • base_mismatch (boolean, required)
  • source (string, required, one of "default", "yaml", "console")
  • override (ManagedKeyCachePolicy or null, required)
  • effective (AppliedManagedKeyCachePolicy, required)
  • enabled (boolean, required) — Operational managed_key_cache flag
  • active (boolean, required) — Eligible flag/windows/reviewed-base/sensitive-profile configuration; not health or an access grant. Attribution requirements, identity ownership, per-user MCP OAuth or source IP controls force bypass.
  • bypass_reasons (array of string, required, max items 7)
  • restart_required (false, required)
  • applies_to ("new_managed_bearer_lookups", required)
  • cache (object, required) — Serving process/cache instance counters only; no key IDs/hashes, proof or tokens. Stale authentication does not imply downstream inference succeeded.
    • entries (integer, required, min 0, max 65536)
    • bytes (integer, required, min 0, max 67108864)
    • hits (integer, required, min 0)
    • misses (integer, required, min 0)
    • stale_hits (integer, required, min 0)
    • evictions (integer, required, min 0)

Type: string, min length 2, max length 11, pattern ^[1-9][0-9]*[smhdw]$(?![\s\S])

Positive integral duration; normalized total must not exceed9223372036 seconds (Go duration range). Semantic bound is enforced by the typed runtime parser.

Type: string (date-time)

Absolute RFC3339 date, including optional fractional seconds and explicit timezone. Year0001..9999, exclusive future relative to the DB-clock operation anchor; zero time is never interpreted as an omitted explicit value.

Type: object

Prospective managed create/rotate/activation governance; never retroactively revokes working credentials. Owner/tag single-field repair validates only the field being repaired; full issuance validates the complete current policy. Active owner requirements need identity_ownership; active tag requirements need key_metadata_tags.

  • max_expiring_lifetime ("" or string, required, default "0s") — 0s/default disables the optional maximum. Applies only to explicitly expiring managed issuance; Never remains available. Total maximum9223372036 seconds.
    • Any of (1): ""
    • Any of (2): string
  • require_owner (boolean, required, default false)
  • required_tags (array of string, required, default [], max items 16)

Type: object

  • key ("security.key_policy", required)
  • group ("security", required)
  • kind ("managed_key_policy", required)
  • default ({"max_expiring_lifetime":"0s","require_owner":false,"required_tags":[]}, required)
  • expiry ({"default":null,"fields":["expires_at","expires_in"],"exclusive":true,"never_on_omission_or_null":true,"duration_pattern":"^[1-9][0-9]*[smhdw]$","duration_maximum_seconds":9223372036}, required)
  • tags ({"max_items":16,"max_name_bytes":64,"max_value_bytes":64,"propagates_to_usage":false}, required)
  • maximum_lifetime_seconds (9223372036, required)
  • sources (["default","yaml","console"], required)
  • restart_required (false, required)
  • yaml_requires_restart (true, required)

Type: object

A text-token entry has input_per_million and output_per_million and no unit. A media entry (T060.003) has unit and unit_price and no text rates or service tiers; it prices only an alias serving that media capability.

  • provider_id (string, required) — Exact configured provider connection ID; an entry may precede connection creation
  • model_id (string, required) — Exact upstream model ID, not the public alias
  • input_per_million (string, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$) — USD per million input text tokens; required without unit
  • output_per_million (string, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$) — USD per million output text tokens; required without unit
  • unit (string, one of "per_image", "per_character", "per_audio_second", "per_video_second") — T060.003: media unit this entry prices; images bill per image returned, speech per character, transcription per audio second and video per rendered second
  • unit_price (string, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$) — T060.003: USD per media unit; required with unit
  • effective_from (string (date-time), required)
  • source_url (string (uri), required) — Public HTTPS source without credentials or query
  • service_tiers (object) — T110: prices of the service tiers an answer may report, from the same source_url and effective date. Used only for a tier no catalog prices. A tier left out stays unknown for answers served in it, except provisioned (T077.005, Gemini provisioned throughput), which is then valued at the standard price as provisioned_estimated.
    • any other key: object
      • input_per_million (string, required, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$)
      • output_per_million (string, required, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$)
      • cache_read_per_million (string, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$)
      • cache_write_per_million (string, pattern ^(0|[1-9][0-9]{0,8})(\.[0-9]{1,9})?$)

Type: object

  • version (integer (int64), required, min 0)
  • source (string, required, one of "yaml", "console")
  • prices (array of ManualPrice, required)

Type: object

mcp_execution.audit (T030.001, flag mcp_execution_audit), defaults applied.

  • retention_days (integer, required, min 1, max 3650) — mcp_execution.audit.retention_days (default 30): older rows are deleted in bounded batches.
  • require_record (boolean, required) — mcp_execution.audit.require_record (default true): refuse a tool call (503 mcp_audit_unavailable, nothing sent) when its record cannot be written first; false sends the call and logs the missing record.

Type: object

mcp_execution.composition (T030.005, flag mcp_composition), defaults applied.

  • servers (array of string, required) — mcp_execution.composition.servers: the servers composed behind /v1/mcp.
  • discovery_timeout_seconds (integer, required) — mcp_execution.composition.discovery_timeout_seconds (default 10): a server slower than this is left out of one listing.
  • page_size (integer, required) — mcp_execution.composition.page_size (default 100): tools in one listing page.

Type: object

One durable MCP execution record (T030.001); metadata only.

  • id (string, required, pattern ^mcx_[0-9a-f]{24}$)
  • request_id (string, required)
  • trace_id (string)
  • surface (string, required, one of "rest", "mcp", "code_mode")
  • operation (string, required, one of "tools/list", "tools/call")
  • server_id (string, required)
  • server_kind (string, required, one of "boot", "managed", "openapi")
  • tool_name (string)
  • schema_sha256 (string) — Hash of the input schema the call was validated against
  • key_id (string, required)
  • team_id (string, required)
  • user_id (string) — Console user owning the key, when it is user-owned
  • credential_source (string, required, one of "none", "boot", "team", "user_oauth", "user_oauth_reused", "token_exchange", "user_static") — user_static: the calling user’s own static credential (T168)
  • subject_issuer (string) — Issuer of the end user a token-exchange call acted for (T030.007)
  • subject (string) — Subject of that end user; never the token
  • session_id (string) — MCP ingress session (T030.004), empty for the REST facade
  • idempotent (boolean, required) — The call carried an Idempotency-Key
  • arguments_bytes (integer, required)
  • result_bytes (integer)
  • state (string, required, one of "started", "dispatched", "succeeded", "failed", "refused", "uncertain")
  • sent (boolean, required) — The tool call left the gateway
  • http_status (integer)
  • error_code (string)
  • tool_error (boolean) — The result’s isError flag
  • started_at (string (date-time), required)
  • ended_at (string (date-time))
  • duration_ms (integer)
  • protocol_version (string, one of "2025-11-25", "2026-07-28") — MCP revision the ingress client spoke (T168); absent for REST
  • upstream_protocol_version (string, one of "2025-11-25", "2026-07-28") — MCP revision negotiated with the server (T168); absent when no session opened

Type: object

One mcp_execution.servers[] entry without its trust (endpoint, OAuth, token exchange, tool grants, credential names).

  • id (string, required) — mcp_execution.servers[].id
  • auth (string) — mcp_execution.servers[].auth: per_user_oauth, per_user_static or token_exchange; absent for the boot or team credential.
  • protocol_version (string, one of "2025-11-25", "2026-07-28", "auto") — mcp_execution.servers[].protocol_version: overrides the gateway value for this server; absent inherits it.
  • allow_user_credential (boolean, required) — mcp_execution.servers[].allow_user_credential: a console user’s own static credential may take precedence (flag mcp_user_static_credentials).
  • scheduled_health (boolean) — mcp_execution.servers[].scheduled_health: opts the server in or out of background checks; absent inherits scheduled_health.default_enabled.

Type: object

The mcp_execution boot settings (T030, T031, T168, T183), effective and read-only; a configuration rollout changes them. The trust half of the block is not served and stays in the YAML - endpoint_url, oauth, token_exchange, tools[] grants and credential names of every server, allowed_origins, allowed_private_cidrs, allow_loopback_http and oauth_redirect_url - so servers lists only what is safe to read.

Type: object

  • server_id (string, required)
  • reachable (boolean, required)
  • tool_count (integer, required) — Tools offered by the server
  • granted_tools (integer, required) — Boot-trust grants whose tool the server offers
  • missing_tools (array of string, required) — Granted tool names the server no longer offers
  • latency_ms (integer (int64), required)
  • checked_at (string (date-time), required)
  • error_class (string, one of "credentials_unavailable", "trust_unavailable", "initialize_failed", "protocol_version_unsupported", "discovery_failed", "timeout")
  • stale (boolean, required)
  • protocol_version (string, one of "2025-11-25", "2026-07-28") — MCP revision the check negotiated (T168)
  • protocol_fallback (string, one of "legacy_server", "server_advertised") — Why an auto check used 2025-11-25 (T168)
  • added_tools (array of string) — Tools offered now but not at the previous successful check of this process
  • removed_tools (array of string)
  • changed_tools (array of string) — Tools whose inputSchema hash differs from the previous successful check
  • baseline (boolean) — A tool baseline exists for drift; false until the first successful check
  • source (string, one of "scheduled") — Present on a scheduled result (T168)
  • managed (boolean) — Present on a scheduled result: the server is console-managed

Type: object

  • name (string, required)
  • id (string)
  • reason (string)

Type: object

mcp_execution.ingress (T030.004, flag mcp_ingress), defaults applied.

  • session_ttl_seconds (integer, required) — mcp_execution.ingress.session_ttl_seconds (default 3600): idle time before a 2025-11-25 session expires.
  • max_sessions_per_key (integer, required) — mcp_execution.ingress.max_sessions_per_key (default 16): open sessions per key.
  • session_retention_days (integer, required) — mcp_execution.ingress.session_retention_days (default 7): how long a closed session stays listed.
  • public_url (string, required) — mcp_execution.ingress.public_url: the origin the gateway is reachable at, used for the RFC 9728 metadata and the client snippet; empty uses the console origin.
  • protocol_versions (array of string, required) — mcp_execution.ingress.protocol_versions: the revisions the ingress may serve; GET /config mcp_protocol.ingress_versions is what the flag mcp_protocol_2026_07_28 lets it serve now.

Type: object

  • id (string, required, pattern ^[a-z][a-z0-9_-]{1,63}$)
  • name (string, required, min length 1, max length 80)
  • endpoint_url (string, required, max length 2048)
  • auth (string, required, one of "none", "per_user_oauth")
  • version (integer (int64)) — Required on PUT

Type: object

  • id (string, required)
  • name (string, required)
  • endpoint_url (string, required)
  • auth (string, required, one of "none", "per_user_oauth")
  • status (string, required, one of "draft", "pending_review", "active", "rejected", "disabled")
  • drift_pending (boolean, required) — A tool schema changed since approval; the changed tools are quarantined
  • source (string, required, one of "console", "import")
  • submitted_by (string, required)
  • reviewed_by (string)
  • reviewed_at (string (date-time))
  • review_notes (string)
  • approved_snapshot (integer (int64))
  • version (integer (int64), required)
  • created_at (string (date-time), required)
  • approvals (array of MCPToolApproval, required)
  • latest_snapshot (object)
    • id (integer (int64), required)
    • captured_at (string (date-time), required)
    • tools (array of MCPSnapshotTool, required)

Type: object

  • version (integer (int64), required)
  • notes (string, max length 500)

Type: object

mcp_execution.openapi (T031.002, flag mcp_openapi_tools), defaults applied.

  • max_spec_bytes (integer, required) — mcp_execution.openapi.max_spec_bytes: the largest OpenAPI document accepted.
  • max_operations (integer, required) — mcp_execution.openapi.max_operations: operations generated from one document.
  • max_response_bytes (integer, required) — mcp_execution.openapi.max_response_bytes: the largest API answer read for one call.
  • request_timeout_seconds (integer, required) — mcp_execution.openapi.request_timeout_seconds: the deadline of one API call.

Type: object

  • id (string, pattern ^[a-z][a-z0-9_-]{1,63}$) — Required on create; must match the path on update
  • name (string, required, min length 1, max length 80)
  • base_url (string, required, max length 2048)
  • auth (string, required, one of "none", "team_credential")
  • security_scheme (string, max length 128) — Required with team_credential; a components.securitySchemes name of type http bearer or apiKey in header
  • spec (string, required) — The OpenAPI document text (JSON or YAML)
  • version (integer (int64)) — Required on update

Type: object

  • server (MCPManagedServer)
  • snapshot_id (integer (int64))
  • document_servers (array of string)
  • diagnostics (array of string)
  • operations (array of object)
    • tool (string)
    • operation_id (string)
    • method (string, one of "GET", "PUT", "POST", "DELETE", "PATCH", "HEAD")
    • path (string)
    • description (string)
    • read_only (boolean)
    • params (array of object)
      • name (string)
      • in (string, one of "path", "query")
      • required (boolean)
      • array (boolean)
    • body (boolean)
    • body_required (boolean)
    • credential (boolean)
    • input_schema (object)
    • output_schema (object)
    • unsupported (array of string)
    • notes (array of string)

Type: object

A JSON-RPC 2.0 request of the Model Context Protocol

  • jsonrpc (string, required, one of "2.0")
  • id (string or integer or null)
  • method (string, required, max length 64)
  • params (object)

Type: object

A JSON-RPC 2.0 response

  • jsonrpc (string)
  • id (string or integer or null)
  • result (object)
  • error (object)
    • code (integer)
    • message (string)

Type: object

mcp_execution.scheduled_health (T168, flag mcp_scheduled_health), defaults applied. Also served by GET /api/v1/admin/mcp/scheduled-health.

  • default_enabled (boolean, required) — mcp_execution.scheduled_health.default_enabled: whether a server without its own scheduled_health is checked.
  • interval_seconds (integer, required, min 60, max 86400) — mcp_execution.scheduled_health.interval_seconds: time between two checks of one server.
  • jitter_seconds (integer, required, min 0, max 3600) — mcp_execution.scheduled_health.jitter_seconds: random spread added to each due time.
  • timeout_seconds (integer, required, min 1, max 60) — mcp_execution.scheduled_health.timeout_seconds: the deadline of one check.
  • max_per_tick (integer, required, min 1, max 64) — mcp_execution.scheduled_health.max_per_tick: servers one replica checks per pass.

Type: object

One server a background check may contact (T168, mcp_scheduled_health)

  • server_id (string, required)
  • managed (boolean, required) — A console-managed server (its drift raises the review); false for a boot server
  • enabled (boolean, required) — Effective schedule
  • enabled_source (string, required, one of "console", "yaml", "default") — console override, YAML servers[].scheduled_health, or scheduled_health.default_enabled
  • checking (boolean, required) — A replica holds the lease right now
  • next_due_at (string (date-time)) — Database time of the next check, when enabled
  • result (MCPHealthResult) — The last scheduled result; added/removed/changed_tools compare with the reviewed tool set (the approved snapshot of a managed server, the previous scheduled result of a boot server); source is scheduled. Stale after twice the interval.

Type: object

  • id (string, required)
  • name (string, required)
  • transport ("streamable_http", required)
  • url (string (uri), required)
  • scopes (array of string)
  • disabled (boolean) — When true, hidden from data-plane discovery

Type: object

  • name (string, required)
  • description (string)
  • schema_sha256 (string, required)
  • unsupported (boolean)

Type: object

  • name (string, required)
  • description (string)
  • inputSchema (object, required) — Bounded validated JSON Schema subset; see MCP execution profile

Type: object

  • name (string, required, pattern ^[A-Za-z0-9_.-]{1,128}$)
  • schema_sha256 (string) — Hash shown to the reviewer; must match the snapshot when sent
  • allowed_team_ids (array of string, required, min items 1, max items 128)

Type: object

  • protocol_version ("2025-11-25", required)
  • upstream_protocol_version (string, one of "2025-11-25", "2026-07-28") — MCP revision negotiated with the upstream server (T168); protocol_version stays the profile of this answer
  • data (array of MCPTool, required, max items 256)

Type: object

  • protocol_version ("2025-11-25", required)
  • upstream_protocol_version (string, one of "2025-11-25", "2026-07-28") — MCP revision negotiated with the upstream server (T168); protocol_version stays the profile of this answer
  • result (object, required) — Native CallToolResult preserved within validated transport bounds; application must inspect isError

Type: object

mcp_execution.tool_search (T031.001, flag mcp_tool_search), defaults applied.

  • mode (string, required, one of "lexical", "embedding") — mcp_execution.tool_search.mode (default lexical, no provider call).
  • embedding_model (string, required) — mcp_execution.tool_search.embedding_model: the embeddings alias the caller’s own key must be allowed to use; required by embedding mode.
  • max_results (integer, required) — mcp_execution.tool_search.max_results (default 10): the default and the ceiling of one search.
  • max_query_chars (integer, required) — mcp_execution.tool_search.max_query_chars (default 512): the query bound, in Unicode characters.
  • max_embedding_inputs (integer, required) — mcp_execution.tool_search.max_embedding_inputs (default 128): texts one search may send for embedding; the rest is reported as not embedded.
  • cache_entries (integer, required) — mcp_execution.tool_search.cache_entries (default 4096): the process-local vector cache; 0 disables it.

Type: object

  • team_id (string, required)
  • role (string, required, one of "admin", "member")
  • source (string, read-only) — T168: where a listed membership comes from: manual, idp:<group> (idp_team_sync) or scim_group (a bound SCIM group). Never accepted in requests.

Type: object

T168: Anthropic-shaped message batch. results_url is a path on this gateway (joined to the client’s base URL), set once ended.

  • id (string, required, pattern ^msgbatch_)
  • type ("message_batch", required)
  • processing_status (string, required, one of "in_progress", "canceling", "ended")
  • request_counts (object, required)
    • processing (integer, required)
    • succeeded (integer, required)
    • errored (integer, required)
    • canceled (integer, required)
    • expired (integer, required)
  • created_at (string (date-time), required)
  • expires_at (string (date-time), required)
  • ended_at (string or null (date-time), required)
  • cancel_initiated_at (string or null (date-time), required)
  • archived_at (null, required)
  • results_url (string or null, required)

Type: object

  • retain_days (0 or any, default 0) — 0 preserves all; no automatic destructive default
    • Any of (1): 0
    • Any of (2): any
  • batch_size (integer, default 250, min 0, max 1000) — Omitted/0 normalizes to 250; maximum usage events per transaction plus one-to-one metadata
  • interval (string, default "10m") — Omitted/empty normalizes to 10m; Go duration 1m..24h

Type: object

  • policy_version (integer (int64), required, min 0)
  • base_fingerprint (string, required, pattern ^[a-f0-9]{64}$)
  • retain_days (integer, required, min 0, max 3650)
  • cutoff (string or null (date-time), required)
  • sample_limit (1000, required)
  • eligible_usage_sample (integer, required, min 0, max 1000)
  • eligible_receipts_sample (integer, required, min 0, max 1000)
  • truncated (boolean, required)
  • preserving (boolean, required)

Type: object

The YAML block metadata_retention as the view reports it (T183), under the block’s name and the YAML key.

  • revision (integer, required, min 0, max 2147483647) — metadata_retention.revision of the YAML in force. A console override stays tied to the revision it was saved against: a higher YAML revision with a different policy reconciles it, a lower one is refused.

Type: object

  • metadata_retention (MetadataRetentionSettings, required)
  • base_fingerprint (string, required, pattern ^[a-f0-9]{64}$)
  • base (MetadataRetentionPolicy, required)
  • effective (MetadataRetentionPolicy, required)
  • source (string, required, one of "yaml", "console")
  • version (integer (int64), required, min 0)
  • base_conflict (boolean, required)
  • next_run_at (string or null (date-time), required)
  • last_run_at (string or null (date-time), required)
  • last_cutoff (string or null (date-time), required)
  • deleted_usage (integer, required, min 0)
  • deleted_receipts (integer, required, min 0)

Type: object

attempt_timeouts (T218): how long each provider attempt of a model may take to start answering. Optional: empty means no per-attempt bound, so there is no default and nothing is inherited. It must also stay below the model’s effective request_timeout.

  • key ("models[].attempt_timeout", required)
  • group ("routing", required)
  • kind ("managed_duration", required)
  • default (null, required)
  • minimum ("100ms", required)
  • maximum ("30m", required)
  • presence ("optional", required)
  • inherit_from (null, required)
  • creation_preset (null, required)
  • maximum_text_length (null, required)
  • minimum_from (null, required)
  • sources (array of string, required, min items 2, max items 2)
  • restart_required (false, required)
  • yaml_requires_restart (true, required)

Type: object

  • published (boolean, default false) — Explicit consent to publish these safe fields to any visitor when the public Hub flag is enabled.
  • title (string, max length 128) — Optional public title; alias ID is the fallback.
  • description (string, max length 1024)
  • tags (array of string, max items 16)

Type: object

  • fetch_timeout (string, required, default "30s") — Go duration in the inclusive range1s..2m.
  • cache_ttl (string, required, default "15m") — Go duration in the inclusive range1m..24h.

Type: object

  • fetch_timeout (string, required, default "30s") — Go duration1s..2m inclusive.
  • cache_ttl (string, required, default "15m") — Go duration1m..24h inclusive.
  • sources (object, required)
    • cost_map (true, required, default true)
    • modelsdev (boolean, required, default false)

Type: object

  • key ("quotas.policies[].subject", required)
  • group ("quota", required)
  • kind ("money_budget_subject", required)
  • default (null, required)
  • sources (["yaml","console"], required)
  • restart_required (false, required)
  • yaml_requires_restart (true, required)
  • values (["global","provider"], required)
  • global_subject_id ("gateway", required)
  • provider_reference ("configured_provider_id", required)
  • money_only (true, required)

Type: object

  • id (string, pattern ^[a-z][a-z0-9_-]{0,63}$) — Assigned by the gateway for a stored monitor (mon_…); chosen in YAML.
  • name (string, required, max length 200)
  • description (string, max length 1000)
  • team_id (string, required, pattern ^[a-z][a-z0-9_-]{1,63}$) — The owning team: the monitor reads only this team’s results and spans, those recorded in the team’s current organization.
  • type (MonitorType, required)
  • evaluation (string, max length 200) — The name of the results read: an evaluator’s name, or the name of API results and feedback.
  • evaluator_id (string, max length 128) — The evaluator itself, of the same team: the monitor then follows a rename. Required for evaluator_health.
  • assessment (string, one of "fail", "pass", "none", "any") — evaluation_count only: the assessment counted; default fail.
  • value (string, max length 200) — evaluation_count: one label of a boolean or categorical evaluation. evaluator_health: the state that alerts, degraded (default; blocked alerts too) or blocked.
  • query (string, max length 1024) — span_query: the spans counted, in the query language’s spans scope (no child. or parent. terms, no text search), or with counts traces the traces counted, in the traces scope (trace.tokens, trace.spans, trace.llm_calls, trace.tool_calls, trace.errors). Evaluation types: an optional narrowing of the judged traffic by model, key, session and end_user.
  • counts (string, one of "spans", "traces") — span_query only (T186.010 follow-up): what is counted. Omitted, the query decides: traces when it names a trace aggregate, spans otherwise. traces counts the traces whose summary matches, at the step a trace started in.
  • comparison (string, one of "gt", "gte", "lt", "lte") — Default lt for a pass rate, gt otherwise. Not for evaluator_health.
  • threshold (number, min 0) — The value that alerts: a fraction 0-1 for a pass rate, a count, or US dollars.
  • warning_threshold (number, min 0) — Optional: the value that warns, crossed before threshold (above it for lt and lte, below it for gt and gte).
  • window (string) — The trailing range judged at each step, 5m to 24h, a whole number of every steps; default 1h. evaluator_health reads its own 24 hours.
  • every (string) — The step, 1m to 1h in whole minutes; default 5m. Steps start at whole multiples since the Unix epoch.
  • min_count (integer, min 0, max 1000000) — evaluation_pass_rate: the fewest pass or fail results a window needs to be judged; trace_latency: the fewest traces; default 1. Not for the other types.
  • no_data (string, one of "keep", "ok", "alert") — What a window below min_count does: keep the state (default), read as ok, or alert.
  • renotify (string) — Repeat the alert while the monitor stays in warn or alert, 5m to 168h; empty sends it once.
  • severity (string, one of "info", "warning", "critical") — The severity of an alert; a warning is always warning. Default warning.
  • channels (array of string, max items 8)
  • disabled (boolean) — A paused monitor is not judged.
  • source (string, one of "yaml", "console", read-only)

Type: object

A monitor’s effective values, defaults filled in.

  • comparison (string, required)
  • threshold (number, required)
  • warning_threshold (number)
  • window (string, required)
  • window_seconds (integer, required)
  • every (string, required)
  • every_seconds (integer, required)
  • min_count (integer, required)
  • no_data (string, required)
  • renotify (string)
  • severity (string, required)
  • assessment (string)
  • value (string)
  • counts (string, one of "spans", "traces") — span_query: what the monitor counts

Type: object

  • from (string (date-time), required)
  • to (string (date-time), required)
  • every_seconds (integer, required)
  • alerts (integer, required) — Times the monitor would have entered alert.
  • warnings (integer, required) — Times it would have entered warn.
  • recoveries (integer, required)
  • no_data_steps (integer, required)
  • steps (integer, required)
  • read_store (string)
  • transitions (array of object, required, max items 200)
    • at (string (date-time), required)
    • from (string, required)
    • to (string, required)
    • value (number or null)
    • count (integer, required)
  • points (array of object, required) — The series for the chart: every step when they fit in 2016 points, else the worst state and its value of each run of steps (points_seconds apart).
    • at (string (date-time), required)
    • value (number or null)
    • count (integer, required)
    • state (string, required)
    • no_data (boolean, required)
  • points_seconds (integer, required)
  • note (string)

Type: object

  • id (string, required)
  • name (string, required)
  • kind (string, required)
  • alert (boolean, required) — The channel takes evaluation_monitor_alert.
  • recovered (boolean, required) — The channel takes evaluation_monitor_recovered.

Type: object

What a webhook channel receives for a monitor event, with the headers it is sent with.

  • event (string, required, one of "evaluation_monitor_alert", "evaluation_monitor_recovered")
  • delivery_id (string, required)
  • sent_at (string (date-time), required)
  • monitor (MonitorNotice, required)
  • message (string, required)
  • headers (object)
    • any other key: string

Type: object

  • monitors (array of MonitorView, required)
  • summary (object, required) — The listed monitors by state; paused counts the disabled ones.
    • ok (integer)
    • warn (integer)
    • alert (integer)
    • paused (integer)
  • types (array of MonitorType, required)
  • can_manage (boolean, required)
  • manage_all (boolean, required) — The session may write monitors of every team (monitors:global).
  • manage_teams (array of string, required)
  • limits (object, required)
    • max_per_team (integer)
    • backtest_days (integer)
    • window_min (string)
    • window_max (string)
    • every_min (string)
    • every_max (string)
    • max_channels (integer)
    • query_bytes (integer)
  • features (object, required) — What the gateway has on: span_query (trace_query and span_store), trace_latency (trace_latency_monitors and span_store), alert_channels (delivery), alert_rules (alerts on the Alerts screen).
    • any other key: boolean
  • console_url (string)
  • events (array of string, required)
  • no_data (array of string)
  • assessments (array of string)
  • comparisons (array of string)
  • severities (array of string)
  • health_state (array of string)

Type: object

The typed body of evaluation_monitor_alert and evaluation_monitor_recovered: numbers are numbers, times are RFC 3339.

  • transition_id (string)
  • monitor_id (string, required)
  • name (string, required)
  • team_id (string, required)
  • type (MonitorType, required)
  • kind (string, required, one of "alert", "warn", "recovered", "renotify", "test")
  • state (string, required, one of "ok", "warn", "alert")
  • previous_state (string, required, one of "ok", "warn", "alert")
  • severity (string, required, one of "info", "warning", "critical")
  • evaluation (string)
  • evaluator_id (string)
  • assessment (string)
  • label (string)
  • query (string)
  • comparison (string, required)
  • threshold (number, required)
  • warning_threshold (number)
  • value (number or null, required)
  • count (integer, required)
  • min_count (integer, required)
  • no_data (boolean, required)
  • window_seconds (integer, required)
  • every_seconds (integer, required)
  • window_from (string (date-time), required)
  • window_to (string (date-time), required)
  • at (string (date-time), required)
  • link (string, required) — The Traces screen with traces_query and the window applied.
  • traces_query (string)

Type: object

  • state (string, required, one of "ok", "warn", "alert")
  • no_data (boolean, required) — The last window held fewer results than min_count.
  • value (number) — The last value: a fraction for a pass rate, a count, US dollars, or the health state (0 ok, 1 degraded, 2 blocked). Absent when the window said nothing.
  • count (integer, required) — The results or spans the value stands on.
  • step_at (string (date-time)) — The end of the last judged window.
  • state_since (string (date-time))
  • evaluated_at (string (date-time))
  • error_class (string) — Why the last judgement failed: plan, query_disabled, span_store_off, query_truncated, evaluator_missing, analytics_store_unavailable, timeout, invalid_query or read_failed. The state is kept.
  • read_store (string)
  • duration_ms (integer)
  • notified_at (string (date-time))
  • notifications (integer, required)
  • next_due_at (string (date-time))
  • muted_until (string (date-time))
  • muted_by (string)

Type: object

  • id (string, required)
  • kind (string, required, one of "alert", "warn", "recovered", "renotify", "test")
  • from (string, required, one of "ok", "warn", "alert")
  • to (string, required, one of "ok", "warn", "alert")
  • at (string (date-time), required)
  • value (number or null)
  • count (integer, required)
  • window_from (string (date-time), required)
  • window_to (string (date-time), required)
  • channels (array of string, required) — The channels the transition was queued for; empty while muted.
  • deliveries (array of object) — How each channel’s delivery went, from the alert outbox.
    • channel_id (string, required)
    • status (string, required, one of "pending", "delivered", "failed")
    • attempts (integer, required)
    • last_http_status (integer)
    • last_error_class (string)
    • delivered_at (string (date-time))
  • muted (boolean, required)
  • link (string)
  • severity (string)

Type: string, one of "evaluation_pass_rate", "evaluation_count", "evaluation_judge_cost", "span_query", "trace_latency", "evaluator_health"

evaluation_pass_rate: pass / (pass + fail) of an evaluation’s results with status ok. evaluation_count: results with an assessment (fail by default) or one label. evaluation_judge_cost: the judge cost the ledger knows, in US dollars. span_query: spans matching a query. trace_latency (T186.021, trace_latency_monitors): the average duration of the traces matching a query (every trace of the team without one), in milliseconds. evaluator_health: the evaluator’s health (degraded or blocked). Experiment results are left out of the first three.

Type: Monitor and object

  • All of (1): Monitor
  • All of (2): object
    • version (integer (int64))
    • created_by (string)
    • updated_by (string)
    • created_at (string (date-time))
    • updated_at (string (date-time))
    • evaluation_name (string) — The evaluator’s name of now, when the monitor names an evaluator.
    • applied (MonitorApplied, required)
    • state (MonitorState, required)
    • link (string) — The Traces screen with traces_query and the last window applied, under evaluation.monitors.console_url.
    • traces_query (string)
    • can_manage (boolean, required)
    • can_mute (boolean, required) — Also true for a YAML monitor inside the session’s scope.

m7gtwcontact@m7gtw.com