ReferenceApiOperations
Get your limits
GET
Your account's tier, its limits, your use of them, and what the next tier needs. See Limits.
apiKeyheader
AuthorizationBearer <tf_...>Your API key from API keys, sent as Authorization: Bearer $TENSORFACTORY_API_KEY. Keep it on your server.
Your limits and use.
application/json- response
tier*|starter, 1, 2 or 3, null when exempt.
tier_label*|The tier's name, such as Tier I, null when exempt.
exempt*booleanTrue when no limit applies to the account. limits is then null.
source*|auto: reached by payments and account age. approved: an increase you asked for. manual: set by our team. Null when exempt.
Value in
"auto""approved""manual"nulllimits*|nullusage*next_tier*|What the next tier needs, null at the top tier.
tiers*array<>Every tier, lowest first.
curl -X GET 'https://tensorfactory.ai/v1/limits'Example Response
{ "tier": "1", "tier_label": "Tier I", "exempt": false, "source": "auto", "limits": { "images_per_minute": 60, "runs_in_flight": 8, "monthly_spend_usd": 500, "customer_cap_usd": null }, "usage": { "runs_in_flight": 0, "images_last_minute": 3, "spend_this_month_usd": 1.23, "peak_images_per_minute_7d": 12, "peak_runs_in_flight_7d": 2, "images_7d": 40 }, "next_tier": { "tier": "2", "label": "Tier II", "paid_usd": 100, "account_age_days": 7, "paid_so_far_usd": 13.47, "account_age_so_far_days": 12 }, "tiers": [ { "tier": "starter", "label": "Starter", "images_per_minute": 10, "runs_in_flight": 2, "monthly_spend_usd": 25, "paid_usd": 0, "account_age_days": 0 }, { "tier": "1", "label": "Tier I", "images_per_minute": 60, "runs_in_flight": 8, "monthly_spend_usd": 500, "paid_usd": 10, "account_age_days": 0 }, { "tier": "2", "label": "Tier II", "images_per_minute": 150, "runs_in_flight": 20, "monthly_spend_usd": 2500, "paid_usd": 100, "account_age_days": 7 }, { "tier": "3", "label": "Tier III", "images_per_minute": 300, "runs_in_flight": 40, "monthly_spend_usd": 10000, "paid_usd": 500, "account_age_days": 14 } ]}