An open-source, faster Devin alternative
TypeScript
docs+sdk: match F10 narrowing in reader-facing copy
Igor Zalutski770cc5e3dd2d
diff --git a/docs/api-reference/usage/get-usage.mdx b/docs/api-reference/usage/get-usage.mdxindex 110b3a98..4e9bbc2a 100644--- a/docs/api-reference/usage/get-usage.mdx+++ b/docs/api-reference/usage/get-usage.mdx@@ -31,9 +31,12 @@ as the Stripe pipeline.</ParamField><ParamField query="filter[tag:<key>]" type="string">- Repeatable. Comma-separated values OR within a key; multiple- `filter[...]` params AND across keys. Empty value (`filter[tag:team]=`)- matches sandboxes without the `team` key.+ One param per dimension. Comma-separated values are OR'd within+ that dimension; different `filter[...]` params are AND'd across+ dimensions. Passing the same `filter[...]` key twice returns 400 —+ put multiple OR values in one comma-separated string instead. Empty+ value (`filter[tag:team]=`) matches sandboxes without the `team`+ key.</ParamField><ParamField query="sort" type="string">diff --git a/sdks/typescript/src/usage.ts b/sdks/typescript/src/usage.tsindex 352aad90..8d3f4fad 100644--- a/sdks/typescript/src/usage.ts+++ b/sdks/typescript/src/usage.ts@@ -51,7 +51,12 @@ export interface UsageByTagResponse {}export interface UsageFilterMap {- /** `filter[tag:<key>]=v1,v2` — repeatable, AND'd. Empty string = "key absent." */+ /**+ * One entry per dimension. Comma-separated values within an entry are+ * OR'd; entries across different dimensions are AND'd. Empty string+ * matches "key absent." Repeating the same dimension is rejected by+ * the server — put multiple values in one comma-separated string.+ */[tagFilter: string]: string;}