Get Rate Card
Parameters
rate_card_id: str
Returns
Get Rate Card
from lark import Lark
client = Lark(
api_key="My API Key",
)
rate_card_resource = client.rate_cards.retrieve(
"rate_card_id",
)
print(rate_card_resource.id)
{
"id": "rc_jQK2n0wutCj6bBcAIrL6o07g",
"billing_interval": "monthly",
"created_at": "2025-11-01T00:00:00Z",
"fixed_rates": [
{
"id": "fr_04EjnYJoQLC7gtLKI6mPzZny",
"description": "description",
"name": "Base Rate",
"price": {
"amount": {
"currency_code": "usd",
"value": "2500"
},
"price_type": "flat"
}
}
],
"metadata": {},
"name": "Pro Plan",
"updated_at": "2025-11-01T00:00:00Z",
"usage_based_rates": [
{
"id": "ubr_zoXOJrDXlGGJWRNq3HqFYhbP",
"description": "description",
"included_units": 30,
"name": "Compute Hours",
"price": {
"amount": {
"currency_code": "usd",
"value": "100"
},
"price_type": "flat"
},
"pricing_metric_id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"usage_based_rate_type": "simple"
}
],
"description": "For production applications with moderate usage."
}Returns Examples
{
"id": "rc_jQK2n0wutCj6bBcAIrL6o07g",
"billing_interval": "monthly",
"created_at": "2025-11-01T00:00:00Z",
"fixed_rates": [
{
"id": "fr_04EjnYJoQLC7gtLKI6mPzZny",
"description": "description",
"name": "Base Rate",
"price": {
"amount": {
"currency_code": "usd",
"value": "2500"
},
"price_type": "flat"
}
}
],
"metadata": {},
"name": "Pro Plan",
"updated_at": "2025-11-01T00:00:00Z",
"usage_based_rates": [
{
"id": "ubr_zoXOJrDXlGGJWRNq3HqFYhbP",
"description": "description",
"included_units": 30,
"name": "Compute Hours",
"price": {
"amount": {
"currency_code": "usd",
"value": "100"
},
"price_type": "flat"
},
"pricing_metric_id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"usage_based_rate_type": "simple"
}
],
"description": "For production applications with moderate usage."
}