Nixtla / nixtla

TimeGPT-1: production ready pre-trained Time Series Foundation Model for forecasting and anomaly detection. Generative pretrained transformer for time series trained on over 100B data points. It's capable of accurately predicting various domains such as retail, electricity, finance, and IoT with just a few lines of code 🚀.
https://docs.nixtla.io
Other
1.91k stars 151 forks source link

i have the apikey of timegpt, but i dont konw how to enter the apikey into code. I didnt find any doc about it #178

Open 2665477495 opened 7 months ago

2665477495 commented 7 months ago

I just meet error 401, it seems like that i need to provide apikey to get consent to use it. after I get apikey from your website, I dont konw how to enter it.

anyway thanks for your splendid work!! I hope to take a try with it.

2665477495 commented 7 months ago

p.s. the language i use is python

AzulGarza commented 7 months ago

hey @2665477495! Thanks for your interest in TimeGPT. Here's a tutorial on how to use and specify the token. Let us know if this helps or if something else needs to be clarified. :)

Mzakery commented 7 months ago

Hello I also got the 401 error. I registered on the site and received the token, but unfortunately I still get the 401 error. please guide me

ApiError: status_code: 401, body: {'data': None, 'message': 'Invalid API key', 'details': 'Key not found', 'code': 'A12', 'requestID': 'E7F2BBTB2P', 'support': 'If you have questions or need support, please email ops@nixtla.io'}