Organizations

GetUsageSummaryNeoTokens

Returns the summary of Neo AI agent token usage for an organization, aggregated by the specified time granularity over a given lookback period.

get/api/orgs/{orgName}/neo/tokens/summary

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/neo/tokens/summary
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

granularity'yearly' | 'monthly' | 'weekly' | 'daily' | 'hourly' required

Time granularity for aggregation

includeTagBreakdownboolean

When true, returns usage broken down by tag keys (TaskID, Feature) from the tag-keyed aggregation table. Days with no usage are filled with zero-value entries. The response includes tagKeys listing the available breakdown keys.

lookbackDaysinteger

Number of days to look back from the current time or lookbackStart

lookbackStartinteger

Unix timestamp for the start of the lookback period (defaults to current time if omitted)

Response

OK

tagKeysstring[]

The list of tag keys present in the breakdown entries. Only present when a tag breakdown is requested.

Changes

No recorded changes to this operation across all 1 revision of this API.