Launch a request-counted product
Create a simple API product billed by request count.
Create a simple API product billed by request count.
This recipe creates the simplest useful Farther Shore product: one upstream API,
one requests meter, and one plan.
Use this recipe when:
requests meter.name: Starter
price: "$29 / month"
meter: requests
included: 10000
overage: false
curl https://<product-host>/v1/health \
-H "Authorization: Bearer <subscriber-api-key>"
The product is working when:
requests meter| Problem | Fix |
|---|---|
| Usage does not appear | Confirm the request went through the gateway, not directly to upstream. |
| Gateway returns invalid key | Use the subscriber API key, not a builder token. |
| Request reaches wrong upstream | Recheck the product upstream base URL. |