NEAR AI Cloud: Get v1adminorganizations usage discount
GET /v1/admin/organizations/{org_id}/usage-discount Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.
Admin permissions: admin session, read_write token, or read_only token. Approved read across organizations; does not mutate business state.
Parameters:
- org_id (path, string, required): Organization ID.
Responses:
200: Discount or null when unset
option 1: null
UsageDiscountResponse:
- apply_since (string, date-time)
- discount_basis_points (integer, int32, required)
- last_error (string): Safe diagnostic while automatic retries are delayed.
- next_retry_at (string, date-time)
- processed_count (integer, int64, required)
- saved_at (string, date-time, required)
- status (string, required): applying until historical correction finishes; otherwise active.
401: Unauthorized
403: Missing admin privileges (forbidden) or insufficient token permission (insufficient_permissions).