For the complete documentation index, see llms.txt. This page is also available as Markdown.

getGuidelineUsage

Get usage statistics for a specific guideline including total count and recent usage details.

Examples

query GetGuidelineUsage($input: GetGuidelineUsageInput!) {
  getGuidelineUsage(input: $input) {
    usage {
      count
      usagePerDay {
        date
        count
      }
    }
    recent {
      timestamp
      user
      appName
      source
    }
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "id": "68b7c1f0a2e4d51234567890",
    "dateRange": {
      "startDate": "example",
      "endDate": "example"
    },
    "limit": 100,
    "offset": 0
  }
}

Arguments

You can use the following argument(s) to customize your getGuidelineUsage query.

Argument
Description
Supported fields

Input object for getting guideline usage

id String! dateRange DateRangeInput limit Int offset Int

Fields

Return type: GuidelineUsageResponse!

You can use the following field(s) to specify what information your getGuidelineUsage query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

Usage statistics for the specified date range

count Float! usagePerDay [GuidelineUsagePerDay!]!

List of recent guideline usages

timestamp DateTime user String! appName String! source String!

Last updated