adorable-zoo-31914
11/23/2023, 9:35 AMcurl -X POST -H "x-api-key: my-api-key" -F "ci-platform=atlantis" \
-F "path=@plan.json" \
<https://pricing.api.infracost.io/breakdown>
{"error":"Invalid API key","error_code":"invalid_api_key"}%
I see that the CLI is working fine, so there seems to be no problem with the API KEY, but is that API no longer available?
Thanks for the answer.white-airport-8778
ico-
? if not, it’s a legacy API key and you should get a new one from dashboard.infracost.ioadorable-zoo-31914
11/23/2023, 3:12 PMwhite-airport-8778
curl -X POST -H "x-api-key: ico-...." \
-F "path=@plan.json" \
<https://pricing.api.infracost.io/breakdown>
adorable-zoo-31914
11/23/2023, 5:21 PMwhite-airport-8778
adorable-zoo-31914
11/24/2023, 3:21 AMwhite-airport-8778