Get one ranking
const url = 'https://api.recomention.com/v1/rankings/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.recomention.com/v1/rankings/exampleOne category’s latest ranking with every answer verbatim. No key needed.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The ranking.
object
object
object
object
object
An answer engine.
Example
{ "ranking": { "engines": [ "OPENAI" ], "answers": [ { "engine": "OPENAI" } ] }}Not found. Someone else’s report answers the same as a missing one.
object
What went wrong, in plain words. Never repeats a submitted secret.
Request fields to fix (400).
Seconds to wait before retrying (429).
Which plan limit refused a start: plan, projects, reportsPerMonth, perDay, concurrent.
The report’s status, when it explains the refusal (409).
Example generated
{ "error": "example", "fields": [ "example" ], "retryAfterSeconds": 1, "limit": "example", "status": "example"}Rate limited. Wait Retry-After seconds.
object
What went wrong, in plain words. Never repeats a submitted secret.
Request fields to fix (400).
Seconds to wait before retrying (429).
Which plan limit refused a start: plan, projects, reportsPerMonth, perDay, concurrent.
The report’s status, when it explains the refusal (409).
Example generated
{ "error": "example", "fields": [ "example" ], "retryAfterSeconds": 1, "limit": "example", "status": "example"}Headers
Section titled “Headers”Seconds to wait.
Requests allowed in the window.
Requests left in the window (0 on a 429).
Seconds until the window resets.