Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Get a plan

Gets a plan.

This method is not served on the public API. api.sylphx.com does not route this call: its backend is not deployed behind the public API, or does not implement the call. This page documents the contract. It is kept out of the sidebar and of search engines.

Gets a plan.

Not available yet. Sylphx Billing is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.

  • Path GET https://api.sylphx.com/v1/plans/plan
  • Scope billing:read
  • Effect read — nothing is written.
  • Collection plans
  • Publishable key callable

#Request

FieldTypeWhat it is
namestringThe name of the plan to get. Required.

#Response

FieldTypeWhat it is
namestringplans/{plan}, for example plans/pro.
uidstringpln_<cell><ulid>. Output only.
metaResourceMetaResource metadata. Output only.
listedboolListed on the pricing page; private plans are visible only to their orgs. Output only.
current_versionstringThe version new subscriptions start on, for example 2026-11-02. Output only.
versionsPlanVersion[]Every version, oldest first. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#PlanVersion

FieldTypeWhat it is
versionstringThe version, the date it takes effect: YYYY-MM-DD. Output only.
effective_timetimestampWhen the version takes effect. Output only.
feeMoneyThe monthly fee, charged in advance. Output only.
included_creditMoneyA monthly usage credit applied to overage. Output only.
payment_method_requiredboolA payment method is required to be on this plan. Output only.
meter_pricesMeterPrice[]Included quantity and price per meter. Output only.
resource_limitsmap<string, int64>The most Resources per collection, for example projects; -1 means unlimited. Output only.
rate_limitsmap<string, int64>Requests per minute per rate class (rate_limit_policies × 60, without bursts or bands). Output only.
rate_limit_policiesRateLimitPolicy[]The rate limit per rate class (control, inference) as a token bucket, then the higher limits of each committed-spend band. Output only.

#Money

FieldTypeWhat it is
currency_codestringISO 4217 currency, for example USD. Required.
units_minorint64The amount in the currency's minor unit (cents for USD). Required.

#MeterPrice

FieldTypeWhat it is
meterstringThe meter id. Output only.
meter_versionint32The meter version the price applies to. Output only.
dimension_matchmap<string, string>The dimensions a usage row must carry for this price to apply; the most specific match wins. Output only.
includedint64The quantity included per period, in the meter's base unit. Output only.
overageOverageWhat happens past the included quantity. Output only. One of deny, bill, bill_until_spend_limit.
tiersPriceTier[]Price tiers past the included quantity, lowest first. Output only.

#RateLimitPolicy

FieldTypeWhat it is
rate_classstringcontrol (the Resource API) or inference (AI requests). Output only.
requests_per_secondint64Sustained requests per second, per org. Output only.
burstint64Requests the bucket holds for a burst. Output only.
min_monthly_spendMoneySet on a band: the committed monthly spend from which it applies. Output only.

#PriceTier

FieldTypeWhat it is
upper_boundint64The tier ends at this quantity in the period, inclusive; 0 means unbounded. Output only.
unit_amount_minorRationalThe price per base unit, in minor units of the plan's currency. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/plans/plan" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"