usage

Can Consume

Whether one more unit of resource_kind may be consumed now. Writes nothing.

The organization and the person come from the caller's own credentials rather than from the request, so no caller can read another organization's budgets or attribute the question to somebody else.

The instant evaluated is now, which is what selects each policy's window. A caller holding this answer across a window boundary is holding a stale one.

get/organization/usage/can-consume/{resource_kind}

Path parameters

resource_kind'investigation' required

A category of product activity metered and governed on its own.

Two activities are different kinds when their accounting or entitlement behavior differs, not merely because a user would name them differently.

Query parameters

trigger_type'manual' | 'auto-trigger' | 'slack_mention' | 'slack_dm' | 'slack_investigate_command' | 'slack_channel_join_auto_trigger' | 'slack_message_auto_trigger' | 'topology_explore' | 'alert_chat' | 'alert_event_manual_investigate' | 'alert_event_anomaly_detected_investigate' | 'alert_event_critical_severity_investigate' | 'proactive_followup' | 'alert_story' | 'alert_summary' | 'api' | 'mcp' | 'channel_agent' | 'deep_wiki' | 'autoresearch' | 'ensemble_member' | 'incident_monitor_postmortem'

What a UI-initiated session is.

Response

Successful Response

can_consumeboolean required

False only when a limited policy the caller draws on is at or over its limit.

Changes

Changed in 1 of the 57 revisions of this API.1

Of the 57 revisions, 9 have no diff computed.