API ReferenceGenerationsGet request & usage metadata for a generationCopy pageGEThttps://openrouter.ai/api/v1/generationQuery parametersidstringRequired>=1 characterResponseReturns the request metadata for this generationdataobjectGeneration dataShow 34 propertiesErrors401Unauthorized Error402Payment Required Error404Not Found Error429Too Many Requests Error500Internal Server Error502Bad Gateway Error