Metadata-Version: 2.4
Name: feature_unit_cost_iapi
Version: 5.1.0
Summary: IAPI Interface Files
Home-page: https://github.com/Cloudzero/feature-unit-cost
Author: CloudZero
Author-email: support@cloudzero.com
License: UNLICENSED
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
Requires-Dist: cz-common-python>=1.0.11
Requires-Dist: feature-billing-iapi
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: summary


# Unit Cost IAPI

This package contains the interface for the Unit Cost IAPI.

For further information, please view: https://cloudzero.atlassian.net/wiki/spaces/ENG/pages/984219657/Internal+API

## Available Functions
- send_telemetry
- get_telemetry_projection — a queryable projection of an organization's unit cost telemetry, so
  callers never depend on where or how it is stored. Pass `static_projection_token` to read a
  frozen copy instead of live data. If that copy has expired the call raises `RemoteApiError`
  with `errorType == 'StaticProjectionNotAvailableError'`; do not fall back to live data on that
  error, since it silently revokes the stability you asked for. Re-create the projection or fail.
- create_static_telemetry_projection — freeze an organization's unit cost telemetry and return an
  opaque token plus `expires_at`. The frozen data does not change for 24 hours, after which it is
  dropped and the token stops working. Callers do not clean anything up.
