Skip to main content
The Resource Usage API is a reverse lookup over AI-reply usage: given an action, instruction, or knowledge base item, it answers “where was this used?” and “how often does it fire?”.

How Usage Is Tracked

Every AI reply records which resources were involved, with two usage kinds:
  • Available — the resource was in the AI’s context for the reply. For instructions and knowledge base items, this means it was eligible to be used.
  • Applied (“used”) — the resource was actually applied: an instruction or knowledge base item cited in the reply, or an action invoked. Actions are always recorded as applied (they only appear when called).
Comparing applied vs. available gives an apply-rate for instructions and knowledge base items.

Resource Types

The resource_type path parameter selects what to look up:
  • instruction — an AI instruction / behavior
  • knowledge — a knowledge base item
  • action — a tool the AI can call

Scopes

Both endpoints require the resource’s own read scope plus chat-sessions:read (the responses expose conversation data — session ids, ticket numbers, last message):
  • instruction / knowledgetraining:read + chat-sessions:read
  • actionactions:read + chat-sessions:read

Available Endpoints

Get Usage Summary

Aggregate available / applied counts for a resource

List Conversations

List the conversations a resource was used in