メインコンテンツまでスキップ

List the billing service rates.

GET/api/v1/company/billing-ratesbilling:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The service rates (OCR pages, table extraction pages, LLM tokens, database storage and the like) that apply to the company's billing tenant: its own rates, with their history (a replaced rate has effective_to), and the global defaults it falls back to (is_global_default). Needs View Service Rates, as the Portal's billing administration does.

スコープbilling:read (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_company_billing_rates
Portal の権限view_service_rates
ページングkeyset
既定の並び順billing_rate_id
並べ替えに使えるフィールドbilling_rate_id

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsBillingRate の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

BillingRate​

フィールド型必須説明
billing_rate_idstring必須
created_by_emailstring または null必須The e-mail address of the administrator who set the rate; null for a seeded one.
currencystring必須The currency symbol or code the rate is stated in.
effective_fromstring (date-time)必須
effective_tostring (date-time) または null必須When a newer rate for the same service replaced it; null while it is in force.
is_global_defaultboolean必須true for a default every organisation falls back to (set by Docwize, never through this API); false for a rate of the caller's own billing tenant.
model_typestring または null必須The model or engine the rate is for; null for a service without one.
rate_amountstring必須The price per rate_unit, in currency.
rate_unitstring必須What the amount is per, e.g. page or 1m_tokens.
service_typestring必須The billed service, e.g. ocr, table_extraction or llm.