@leaflow/sdk 0.0.0-dev.373.gac63f82 → 0.0.0-dev.377.gdbef936

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/dist/billing/type/order/v1/generated/models.d.ts +10 -11
  2. package/dist/billing/type/order/v1/generated/models.js +0 -7
  3. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +1 -0
  4. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +3 -2
  5. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +2 -7
  6. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +4 -1
  7. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +2 -7
  8. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +1 -0
  9. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.d.ts +2 -0
  10. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.d.ts +2 -0
  11. package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +1 -0
  12. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.d.ts +1 -0
  13. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.js +1 -0
  14. package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +1 -0
  15. package/dist/billing/v1/generated/functions.d.ts +3 -2
  16. package/dist/billing/v1/generated/functions.js +3 -2
  17. package/dist/billing/v1/generated/models.d.ts +10 -11
  18. package/dist/billing/v1/generated/models.js +0 -7
  19. package/dist/billing/v1/generated/schemas.zod.d.ts +3 -2
  20. package/dist/billing/v1/generated/schemas.zod.js +3 -2
  21. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -0
  22. package/dist/billing/v1/generated/validators/invoice.zod.js +3 -2
  23. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +2 -7
  24. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +4 -1
  25. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +2 -7
  26. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -0
  27. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +2 -0
  28. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +2 -0
  29. package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -0
  30. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -0
  31. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -0
  32. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -0
  33. package/dist/canopy/v1/generated/functions.d.ts +2 -2
  34. package/dist/canopy/v1/generated/functions.js +1 -1
  35. package/dist/canopy/v1/generated/models.d.ts +12 -13
  36. package/dist/canopy/v1/generated/models.js +0 -7
  37. package/dist/canopy/v1/generated/schemas.zod.d.ts +2 -2
  38. package/dist/canopy/v1/generated/schemas.zod.js +3 -3
  39. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +1 -1
  40. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +1 -1
  41. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +1 -1
  42. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +1 -1
  43. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +1 -1
  44. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +1 -1
  45. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  46. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +1 -1
  47. package/dist/canopy/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
  48. package/dist/canopy/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
  49. package/dist/canopy/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
  50. package/dist/canopy/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
  51. package/dist/canopy/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
  52. package/dist/canopy/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
  53. package/dist/canopy/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
  54. package/dist/canopy/v1/generated/validators/accountIdentity.zod.js +1 -1
  55. package/dist/canopy/v1/generated/validators/activeResource.zod.d.ts +1 -1
  56. package/dist/canopy/v1/generated/validators/activeResource.zod.js +1 -1
  57. package/dist/canopy/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
  58. package/dist/canopy/v1/generated/validators/activeResourceList.zod.js +1 -1
  59. package/dist/canopy/v1/generated/validators/allowance.zod.d.ts +1 -1
  60. package/dist/canopy/v1/generated/validators/allowance.zod.js +1 -1
  61. package/dist/canopy/v1/generated/validators/allowanceList.zod.d.ts +1 -1
  62. package/dist/canopy/v1/generated/validators/allowanceList.zod.js +1 -1
  63. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +1 -1
  64. package/dist/canopy/v1/generated/validators/applicability.zod.js +1 -1
  65. package/dist/canopy/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
  66. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
  67. package/dist/canopy/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
  68. package/dist/canopy/v1/generated/validators/appliedCredit.zod.js +1 -1
  69. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
  70. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.js +1 -1
  71. package/dist/canopy/v1/generated/validators/billingAccount.zod.d.ts +1 -1
  72. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +1 -1
  73. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
  74. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.js +1 -1
  75. package/dist/canopy/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
  76. package/dist/canopy/v1/generated/validators/billingAccountList.zod.js +1 -1
  77. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
  78. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  79. package/dist/canopy/v1/generated/validators/billingScheme.zod.d.ts +1 -1
  80. package/dist/canopy/v1/generated/validators/billingScheme.zod.js +1 -1
  81. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
  82. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
  83. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +1 -1
  84. package/dist/canopy/v1/generated/validators/cancellation.zod.js +1 -1
  85. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
  86. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +1 -1
  87. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  88. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +1 -1
  89. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  90. package/dist/canopy/v1/generated/validators/cancellationList.zod.js +1 -1
  91. package/dist/canopy/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
  92. package/dist/canopy/v1/generated/validators/cancellationPolicy.zod.js +1 -1
  93. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
  94. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  95. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
  96. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
  97. package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +1 -1
  98. package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +1 -1
  99. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +1 -1
  100. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +1 -1
  101. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  102. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +1 -1
  103. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  104. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +1 -1
  105. package/dist/canopy/v1/generated/validators/contact.zod.d.ts +1 -1
  106. package/dist/canopy/v1/generated/validators/contact.zod.js +1 -1
  107. package/dist/canopy/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  108. package/dist/canopy/v1/generated/validators/contactCreate.zod.js +1 -1
  109. package/dist/canopy/v1/generated/validators/contactList.zod.d.ts +1 -1
  110. package/dist/canopy/v1/generated/validators/contactList.zod.js +1 -1
  111. package/dist/canopy/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  112. package/dist/canopy/v1/generated/validators/contactUpdate.zod.js +1 -1
  113. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +1 -1
  114. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +1 -1
  115. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -1
  116. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +1 -1
  117. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +1 -1
  118. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +1 -1
  119. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  120. package/dist/canopy/v1/generated/validators/creditGrant.zod.js +1 -1
  121. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  122. package/dist/canopy/v1/generated/validators/creditGrantList.zod.js +1 -1
  123. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  124. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
  125. package/dist/canopy/v1/generated/validators/creditNote.zod.d.ts +1 -1
  126. package/dist/canopy/v1/generated/validators/creditNote.zod.js +1 -1
  127. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  128. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.js +1 -1
  129. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  130. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  131. package/dist/canopy/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  132. package/dist/canopy/v1/generated/validators/creditNoteList.zod.js +1 -1
  133. package/dist/canopy/v1/generated/validators/currency.zod.d.ts +1 -1
  134. package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
  135. package/dist/canopy/v1/generated/validators/currencyList.zod.d.ts +1 -1
  136. package/dist/canopy/v1/generated/validators/currencyList.zod.js +1 -1
  137. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +1 -1
  138. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +1 -1
  139. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  140. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +1 -1
  141. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +1 -1
  142. package/dist/canopy/v1/generated/validators/discount.zod.js +1 -1
  143. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +1 -1
  144. package/dist/canopy/v1/generated/validators/discountList.zod.js +1 -1
  145. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +1 -1
  146. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +1 -1
  147. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +1 -1
  148. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +1 -1
  149. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +1 -1
  150. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +1 -1
  151. package/dist/canopy/v1/generated/validators/entitlement.zod.d.ts +1 -1
  152. package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
  153. package/dist/canopy/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  154. package/dist/canopy/v1/generated/validators/entitlementList.zod.js +1 -1
  155. package/dist/canopy/v1/generated/validators/error.zod.d.ts +1 -1
  156. package/dist/canopy/v1/generated/validators/error.zod.js +1 -1
  157. package/dist/canopy/v1/generated/validators/errorA200529.zod.d.ts +1 -1
  158. package/dist/canopy/v1/generated/validators/errorA200529.zod.js +1 -1
  159. package/dist/canopy/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  160. package/dist/canopy/v1/generated/validators/featureGrant.zod.js +1 -1
  161. package/dist/canopy/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  162. package/dist/canopy/v1/generated/validators/featureGrantList.zod.js +1 -1
  163. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  164. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  165. package/dist/canopy/v1/generated/validators/funds.zod.d.ts +1 -1
  166. package/dist/canopy/v1/generated/validators/funds.zod.js +1 -1
  167. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +1 -1
  168. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +1 -1
  169. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +1 -1
  170. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +2 -2
  171. package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +1 -1
  172. package/dist/canopy/v1/generated/validators/inferenceError.zod.js +1 -1
  173. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +2 -1
  174. package/dist/canopy/v1/generated/validators/invoice.zod.js +4 -3
  175. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +3 -8
  176. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +5 -2
  177. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +3 -8
  178. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.js +1 -1
  179. package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
  180. package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  181. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +2 -1
  182. package/dist/canopy/v1/generated/validators/invoiceList.zod.js +1 -1
  183. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  184. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +1 -1
  185. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  186. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +1 -1
  187. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +1 -1
  188. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +1 -1
  189. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +1 -1
  190. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +1 -1
  191. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +1 -1
  192. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +1 -1
  193. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +1 -1
  194. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +1 -1
  195. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +1 -1
  196. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +1 -1
  197. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +1 -1
  198. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +1 -1
  199. package/dist/canopy/v1/generated/validators/modality.zod.d.ts +1 -1
  200. package/dist/canopy/v1/generated/validators/modality.zod.js +1 -1
  201. package/dist/canopy/v1/generated/validators/model.zod.d.ts +1 -1
  202. package/dist/canopy/v1/generated/validators/model.zod.js +1 -1
  203. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +1 -1
  204. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +1 -1
  205. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +1 -1
  206. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +1 -1
  207. package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +1 -1
  208. package/dist/canopy/v1/generated/validators/modelList.zod.js +1 -1
  209. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +1 -1
  210. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +1 -1
  211. package/dist/canopy/v1/generated/validators/modelPricing.zod.d.ts +1 -1
  212. package/dist/canopy/v1/generated/validators/modelPricing.zod.js +1 -1
  213. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +1 -1
  214. package/dist/canopy/v1/generated/validators/modelResource.zod.js +1 -1
  215. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +1 -1
  216. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +1 -1
  217. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +1 -1
  218. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +1 -1
  219. package/dist/canopy/v1/generated/validators/money.zod.d.ts +1 -1
  220. package/dist/canopy/v1/generated/validators/money.zod.js +1 -1
  221. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.d.ts +3 -1
  222. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +1 -1
  223. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.d.ts +3 -1
  224. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  225. package/dist/canopy/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  226. package/dist/canopy/v1/generated/validators/namedIdentity.zod.js +1 -1
  227. package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +1 -1
  228. package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +1 -1
  229. package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +1 -1
  230. package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +1 -1
  231. package/dist/canopy/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  232. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
  233. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  234. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +1 -1
  235. package/dist/canopy/v1/generated/validators/order.zod.d.ts +1 -1
  236. package/dist/canopy/v1/generated/validators/order.zod.js +1 -1
  237. package/dist/canopy/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  238. package/dist/canopy/v1/generated/validators/orderCancel.zod.js +1 -1
  239. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +1 -1
  240. package/dist/canopy/v1/generated/validators/orderItem.zod.js +1 -1
  241. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  242. package/dist/canopy/v1/generated/validators/orderItemList.zod.js +1 -1
  243. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  244. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
  245. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +1 -1
  246. package/dist/canopy/v1/generated/validators/orderList.zod.js +1 -1
  247. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.d.ts +1 -1
  248. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  249. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +1 -1
  250. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  251. package/dist/canopy/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  252. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
  253. package/dist/canopy/v1/generated/validators/paidWith.zod.d.ts +1 -1
  254. package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
  255. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  256. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  257. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  258. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  259. package/dist/canopy/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  260. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +1 -1
  261. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  262. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  263. package/dist/canopy/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  264. package/dist/canopy/v1/generated/validators/paymentMethod.zod.js +1 -1
  265. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  266. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.js +1 -1
  267. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  268. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  269. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  270. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  271. package/dist/canopy/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  272. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
  273. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  274. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.js +1 -1
  275. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  276. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  277. package/dist/canopy/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  278. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +1 -1
  279. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  280. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  281. package/dist/canopy/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  282. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +1 -1
  283. package/dist/canopy/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  284. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
  285. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +1 -1
  286. package/dist/canopy/v1/generated/validators/placedOrder.zod.js +1 -1
  287. package/dist/canopy/v1/generated/validators/plan.zod.d.ts +1 -1
  288. package/dist/canopy/v1/generated/validators/plan.zod.js +1 -1
  289. package/dist/canopy/v1/generated/validators/planFeature.zod.d.ts +1 -1
  290. package/dist/canopy/v1/generated/validators/planFeature.zod.js +1 -1
  291. package/dist/canopy/v1/generated/validators/planList.zod.d.ts +1 -1
  292. package/dist/canopy/v1/generated/validators/planList.zod.js +1 -1
  293. package/dist/canopy/v1/generated/validators/price.zod.d.ts +1 -1
  294. package/dist/canopy/v1/generated/validators/price.zod.js +1 -1
  295. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +1 -1
  296. package/dist/canopy/v1/generated/validators/priceList.zod.js +1 -1
  297. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +1 -1
  298. package/dist/canopy/v1/generated/validators/priceOption.zod.js +1 -1
  299. package/dist/canopy/v1/generated/validators/priceType.zod.d.ts +1 -1
  300. package/dist/canopy/v1/generated/validators/priceType.zod.js +1 -1
  301. package/dist/canopy/v1/generated/validators/product.zod.d.ts +1 -1
  302. package/dist/canopy/v1/generated/validators/product.zod.js +1 -1
  303. package/dist/canopy/v1/generated/validators/productID.zod.d.ts +1 -1
  304. package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
  305. package/dist/canopy/v1/generated/validators/productList.zod.d.ts +1 -1
  306. package/dist/canopy/v1/generated/validators/productList.zod.js +1 -1
  307. package/dist/canopy/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
  308. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +1 -1
  309. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
  310. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.js +1 -1
  311. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  312. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
  313. package/dist/canopy/v1/generated/validators/quote.zod.d.ts +1 -1
  314. package/dist/canopy/v1/generated/validators/quote.zod.js +1 -1
  315. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +1 -1
  316. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +1 -1
  317. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +1 -1
  318. package/dist/canopy/v1/generated/validators/quoteA200529.zod.js +1 -1
  319. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.d.ts +1 -1
  320. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +1 -1
  321. package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +1 -1
  322. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +1 -1
  323. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +1 -1
  324. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.js +1 -1
  325. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  326. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +1 -1
  327. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  328. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
  329. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
  330. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
  331. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +1 -1
  332. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +1 -1
  333. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
  334. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
  335. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +1 -1
  336. package/dist/canopy/v1/generated/validators/rate.zod.js +1 -1
  337. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +1 -1
  338. package/dist/canopy/v1/generated/validators/rateList.zod.js +1 -1
  339. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +1 -1
  340. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +1 -1
  341. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +1 -1
  342. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +1 -1
  343. package/dist/canopy/v1/generated/validators/refund.zod.d.ts +1 -1
  344. package/dist/canopy/v1/generated/validators/refund.zod.js +1 -1
  345. package/dist/canopy/v1/generated/validators/refundList.zod.d.ts +1 -1
  346. package/dist/canopy/v1/generated/validators/refundList.zod.js +1 -1
  347. package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  348. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
  349. package/dist/canopy/v1/generated/validators/refundReason.zod.d.ts +1 -1
  350. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  351. package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  352. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +1 -1
  353. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  354. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +1 -1
  355. package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
  356. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
  357. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
  358. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.js +1 -1
  359. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +1 -1
  360. package/dist/canopy/v1/generated/validators/requestResource.zod.js +1 -1
  361. package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +1 -1
  362. package/dist/canopy/v1/generated/validators/responseCreate.zod.js +1 -1
  363. package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +1 -1
  364. package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +1 -1
  365. package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +1 -1
  366. package/dist/canopy/v1/generated/validators/responseResource.zod.js +1 -1
  367. package/dist/canopy/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  368. package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +1 -1
  369. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +1 -1
  370. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
  371. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  372. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  373. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +1 -1
  374. package/dist/canopy/v1/generated/validators/spendRow.zod.js +1 -1
  375. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  376. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
  377. package/dist/canopy/v1/generated/validators/statement.zod.d.ts +2 -1
  378. package/dist/canopy/v1/generated/validators/statement.zod.js +1 -1
  379. package/dist/canopy/v1/generated/validators/statementAmounts.zod.d.ts +2 -1
  380. package/dist/canopy/v1/generated/validators/statementAmounts.zod.js +2 -1
  381. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -1
  382. package/dist/canopy/v1/generated/validators/statementItem.zod.js +1 -1
  383. package/dist/canopy/v1/generated/validators/statementList.zod.d.ts +2 -1
  384. package/dist/canopy/v1/generated/validators/statementList.zod.js +1 -1
  385. package/dist/canopy/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  386. package/dist/canopy/v1/generated/validators/statementStatus.zod.js +1 -1
  387. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  388. package/dist/canopy/v1/generated/validators/statementSummary.zod.js +1 -1
  389. package/dist/canopy/v1/generated/validators/statementType.zod.d.ts +1 -1
  390. package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
  391. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +1 -1
  392. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +1 -1
  393. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +1 -1
  394. package/dist/canopy/v1/generated/validators/subscription.zod.js +1 -1
  395. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
  396. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
  397. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  398. package/dist/canopy/v1/generated/validators/subscriptionList.zod.js +1 -1
  399. package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
  400. package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  401. package/dist/canopy/v1/generated/validators/taxItem.zod.d.ts +1 -1
  402. package/dist/canopy/v1/generated/validators/taxItem.zod.js +1 -1
  403. package/dist/canopy/v1/generated/validators/tier.zod.d.ts +1 -1
  404. package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
  405. package/dist/canopy/v1/generated/validators/tokenPrice.zod.d.ts +1 -1
  406. package/dist/canopy/v1/generated/validators/tokenPrice.zod.js +1 -1
  407. package/dist/canopy/v1/generated/validators/topUp.zod.d.ts +1 -1
  408. package/dist/canopy/v1/generated/validators/topUp.zod.js +1 -1
  409. package/dist/canopy/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  410. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +1 -1
  411. package/dist/canopy/v1/generated/validators/topUpList.zod.d.ts +1 -1
  412. package/dist/canopy/v1/generated/validators/topUpList.zod.js +1 -1
  413. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +1 -1
  414. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +1 -1
  415. package/dist/canopy/v1/generated/validators/transaction.zod.d.ts +1 -1
  416. package/dist/canopy/v1/generated/validators/transaction.zod.js +1 -1
  417. package/dist/canopy/v1/generated/validators/transactionList.zod.d.ts +1 -1
  418. package/dist/canopy/v1/generated/validators/transactionList.zod.js +1 -1
  419. package/dist/canopy/v1/generated/validators/transactionType.zod.d.ts +1 -1
  420. package/dist/canopy/v1/generated/validators/transactionType.zod.js +1 -1
  421. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +1 -1
  422. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +1 -1
  423. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +1 -1
  424. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +1 -1
  425. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  426. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +1 -1
  427. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  428. package/dist/canopy/v1/generated/validators/usageChargeList.zod.js +1 -1
  429. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +1 -1
  430. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +1 -1
  431. package/dist/canopy/v1/generated/validators/usageType.zod.d.ts +1 -1
  432. package/dist/canopy/v1/generated/validators/usageType.zod.js +1 -1
  433. package/dist/canopy/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  434. package/dist/canopy/v1/generated/validators/withdrawal.zod.js +1 -1
  435. package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  436. package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  437. package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  438. package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  439. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  440. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +1 -1
  441. package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  442. package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  443. package/dist/canopy/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  444. package/dist/canopy/v1/generated/validators/withdrawalList.zod.js +1 -1
  445. package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  446. package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  447. package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  448. package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  449. package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  450. package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  451. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  452. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
  453. package/dist/membership/v1/generated/models.d.ts +10 -11
  454. package/dist/membership/v1/generated/models.js +0 -7
  455. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +1 -0
  456. package/dist/membership/v1/generated/validators/invoice.zod.js +3 -2
  457. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +2 -7
  458. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +4 -1
  459. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +2 -7
  460. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +1 -0
  461. package/dist/membership/v1/generated/validators/monthlyStatement.zod.d.ts +2 -0
  462. package/dist/membership/v1/generated/validators/monthlyStatementList.zod.d.ts +2 -0
  463. package/dist/membership/v1/generated/validators/statement.zod.d.ts +1 -0
  464. package/dist/membership/v1/generated/validators/statementAmounts.zod.d.ts +1 -0
  465. package/dist/membership/v1/generated/validators/statementAmounts.zod.js +1 -0
  466. package/dist/membership/v1/generated/validators/statementList.zod.d.ts +1 -0
  467. package/package.json +1 -1
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -69,6 +69,7 @@ export declare const Invoice: zod.ZodObject<{
69
69
  tax_amount: zod.ZodOptional<zod.ZodString>;
70
70
  credit_applied: zod.ZodOptional<zod.ZodString>;
71
71
  total: zod.ZodString;
72
+ rounding_amount: zod.ZodString;
72
73
  amount_paid: zod.ZodOptional<zod.ZodString>;
73
74
  pre_payment_credit_notes_amount: zod.ZodString;
74
75
  post_payment_credit_notes_amount: zod.ZodString;
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -59,11 +59,12 @@ export const Invoice = zod.strictObject({
59
59
  discount_amount: Money.optional().describe("Sum of the line discounts, taken off before tax."),
60
60
  tax_amount: Money.optional(),
61
61
  credit_applied: Money.optional().describe("Successful credit-grant payments, included in amount_paid; they do not reduce the receivable or tax base."),
62
- total: Money.describe("Subtotal less discount plus tax. Balance and credit grants pay it; they do not reduce it."),
62
+ total: Money.describe("Subtotal less discount plus tax. Balance and credit grants pay it plus rounding_amount; they do not reduce it."),
63
+ rounding_amount: Money.describe("Added to total to round the amount payable to the currency's minor unit; negative when rounded down. The rounding of a usage invoice carries over to the next invoice of the same billing period."),
63
64
  amount_paid: Money.optional(),
64
65
  pre_payment_credit_notes_amount: Money.describe("Issued credit notes that reduced unpaid receivables; the original invoice total is unchanged."),
65
66
  post_payment_credit_notes_amount: Money.describe("Issued credit notes against payments already received; their refunds may not have completed."),
66
- amount_due: Money.describe("What is still collectible after unpaid credit notes and successful payments; never below zero. Zero for a draft, whose total is the base price, and for a paid or void invoice."),
67
+ amount_due: Money.describe("What is still collectible from total plus rounding_amount after unpaid credit notes and successful payments; never below zero. Zero for a draft, whose total is the base price, and for a paid or void invoice."),
67
68
  period_start: zod.iso.datetime({ offset: true }).nullish(),
68
69
  period_end: zod.iso.datetime({ offset: true }).nullish().describe("Exclusive."),
69
70
  customer_name: zod
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -47,13 +47,6 @@ export declare const InvoiceItem: zod.ZodObject<{
47
47
  tax_amount: zod.ZodOptional<zod.ZodString>;
48
48
  tax_included_amount: zod.ZodOptional<zod.ZodString>;
49
49
  id: zod.ZodUUID;
50
- type: zod.ZodOptional<zod.ZodEnum<{
51
- one_time: "one_time";
52
- adjustment: "adjustment";
53
- usage: "usage";
54
- subscription: "subscription";
55
- setup: "setup";
56
- }>>;
57
50
  project_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
58
51
  project: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
59
52
  id: zod.ZodUUID;
@@ -67,6 +60,8 @@ export declare const InvoiceItem: zod.ZodObject<{
67
60
  unit_amount: zod.ZodOptional<zod.ZodString>;
68
61
  unit_quantity: zod.ZodOptional<zod.ZodString>;
69
62
  amount: zod.ZodString;
63
+ rounding_amount: zod.ZodString;
64
+ usage_charge_count: zod.ZodInt;
70
65
  currency: zod.ZodString;
71
66
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
72
67
  period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -56,7 +56,6 @@ export const InvoiceItem = zod.strictObject({
56
56
  .optional()
57
57
  .describe("The part of tax_amount already included in amount."),
58
58
  id: zod.uuid(),
59
- type: zod.enum(["usage", "subscription", "one_time", "setup", "adjustment"]).optional(),
60
59
  project_id: zod.uuid().nullish(),
61
60
  project: zod
62
61
  .union([NamedIdentity, zod.null()])
@@ -76,6 +75,10 @@ export const InvoiceItem = zod.strictObject({
76
75
  .optional()
77
76
  .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`."),
78
77
  amount: Money,
78
+ rounding_amount: Money.describe("This line's share of the invoice's rounding_amount. The line's net amount is amount - discount_amount + tax_amount - tax_included_amount + rounding_amount."),
79
+ usage_charge_count: zod
80
+ .int()
81
+ .describe("Usage charges billed on this line; zero for other lines."),
79
82
  currency: zod.string(),
80
83
  period_start: zod.iso.datetime({ offset: true }).nullish(),
81
84
  period_end: zod.iso.datetime({ offset: true }).nullish(),
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -48,13 +48,6 @@ export declare const InvoiceItemList: zod.ZodObject<{
48
48
  tax_amount: zod.ZodOptional<zod.ZodString>;
49
49
  tax_included_amount: zod.ZodOptional<zod.ZodString>;
50
50
  id: zod.ZodUUID;
51
- type: zod.ZodOptional<zod.ZodEnum<{
52
- one_time: "one_time";
53
- adjustment: "adjustment";
54
- usage: "usage";
55
- subscription: "subscription";
56
- setup: "setup";
57
- }>>;
58
51
  project_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
59
52
  project: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
60
53
  id: zod.ZodUUID;
@@ -68,6 +61,8 @@ export declare const InvoiceItemList: zod.ZodObject<{
68
61
  unit_amount: zod.ZodOptional<zod.ZodString>;
69
62
  unit_quantity: zod.ZodOptional<zod.ZodString>;
70
63
  amount: zod.ZodString;
64
+ rounding_amount: zod.ZodString;
65
+ usage_charge_count: zod.ZodInt;
71
66
  currency: zod.ZodString;
72
67
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
73
68
  period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -70,6 +70,7 @@ export declare const InvoiceList: zod.ZodObject<{
70
70
  tax_amount: zod.ZodOptional<zod.ZodString>;
71
71
  credit_applied: zod.ZodOptional<zod.ZodString>;
72
72
  total: zod.ZodString;
73
+ rounding_amount: zod.ZodString;
73
74
  amount_paid: zod.ZodOptional<zod.ZodString>;
74
75
  pre_payment_credit_notes_amount: zod.ZodString;
75
76
  post_payment_credit_notes_amount: zod.ZodString;
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
@@ -32,7 +32,7 @@
32
32
  *
33
33
  * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
34
  * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
35
+ * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
36
  * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
37
  * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
38
  * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.