Frequently Asked Questions
Why are my API endpoints not found by API Discovery?
In most cases, this is due to the system not observing enough valid requests over a continuous period.
API Discovery only looks at requests that satisfy all of the following criteria:
- Requests must return
2XX
response codes from the edge. - Requests must not come directly from Cloudflare Workers.
- At least 500 requests are made to the discovered endpoint within a 10 day period.
Endpoints discovered using session identifiers will be labeled as such in the dashboard. If the endpoints are not discovered through session identifiers, they will be discovered using our machine learning-based API Discovery.
How does Cloudflare calculate the recommended rate limit for my endpoint?
Cloudflare uses both the volume and frequency of traffic to guide your recommended rate. We calculate the recommended rate value throughout the day, and the new calculation may equal the existing recommendation due to similar traffic profiles existing on your API. When we recalculate, we look at requests that happened in the last 24 hours.
You can view the P50
/95
/99
of your request count for more details under an endpoint’s expanded view.
Will I be able to access an endpoint’s data after I delete it?
Why do I not receive threshold recommendations for my discovered API endpoints?
Thresholds can only be recommended for endpoints that receive sufficient levels of traffic that meet the following criteria:
- Only requests with the same criteria as API Discovery are considered.
- If traffic has been erratic or intermittent to this endpoint, the threshold might not show up. Cloudflare needs endpoints to receive sufficient valid traffic in any 24-hour period in the last 7 days or since the initial discovery of the endpoint to make statistically safe threshold suggestions.
- Cloudflare also requires at least 50 distinct sessions to have accessed the endpoint in any 24-hour period in the last 7 days or since the initial discovery of the endpoint.
If you do not receive threshold recommendations for a discovered endpoint, you will see one of the following error codes:
404 response
: Cloudflare has not seen sufficient valid traffic for this zone to generate recommendations.551 response
: Cloudflare has successfully generated recommendations at some point in the past, but we have not seen sufficient recent valid traffic to provide up-to-date recommendations.
Does this work for JDCloud customers?
What version of OpenAPI specification do you support?
Why am I not seeing latency metrics?
Latency metrics currently are not supported when a Cloudflare Worker is running on the URL, as the requests are not passed directly to your origin.
Some Cloudflare products such as Waiting Room are built on top of Workers, so the same limitations apply to applications using these products.