Use these endpoints when an integration needs to identify the active API key, check whether enough credits are available, show current pricing, or send a user to Stripe checkout or the billing portal.Documentation Index
Fetch the complete documentation index at: https://docs.youka.io/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /me | Fetch the account identity for the active API key. |
GET | /credits | Fetch available balance and credit package data. |
GET | /billing/catalog | Fetch subscription and top-up pricing. |
POST | /billing/checkout | Create a Stripe checkout URL. |
GET | /billing/manage | Create a billing portal URL. |
Account identity
email, userId, and apiKeyId. Use it at startup to
verify that an automation is running under the intended account.
Credits
availableBalance, upcoming renewal dates, top-up credit
packages, and subscription renewal metadata.
Billing catalog
Checkout
"productType": "topup" and a positive quantity.
Subscriptions also require cycle as monthly or yearly.
