feat(aigateway): telemetry cost command - #309
Merged
Merged
Conversation
12 tasks
cdot65
force-pushed
the
cdot65/feat/aigateway-telemetry-cost
branch
from
August 1, 2026 22:11
42a377e to
06edecf
Compare
Raw names sent to the API yield a misleading 400 AB01 on writes and 404 on reads. Resolve name|slug|uuid against the workspace list for get/update/ delete/telemetry; ambiguous names error with the candidate slugs.
cdot65
force-pushed
the
cdot65/feat/aigateway-telemetry-cost
branch
from
August 5, 2026 21:49
8c0f9e8 to
f4d46a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Slice 5 of #299 (final):
airs aigateway telemetry cost. Stacked on #307 — merge order: #305 → #306 → #307 → this.Changes
SdkAiGatewayService.getTelemetryCost({workspaceSlug, days})— normalizes the cost chart, keeps raw centsairs aigateway telemetry cost --workspace <slug> [--days 7] [--output pretty|json|yaml]— pretty output converts to dollars; structured output keeps explicittotalCents/avgCents/costCentsfields; quota-exceeded warning surfaceddocs-site/docs/cli/aigateway/telemetry.md; changeset (minor)Testing
Closes #304