"GET" error while downloading EON Tuner generated model as a ipynb file

When trying to download the model generated automatically by EON tuner and setting it as the primary block, I wanted to download the model as a notebook file for makiung further changes, I referred to this official document iPython Notebook - Edge Impulse API .

But I am getting this error,

I’m guessing the learn id I gave might be wrong, can someone help me find the value for learn id parameter?

Thank You.

Hello @jayanthmenons,

The learn id is the one you see on the url (here 19):

To automatically set the EON tuner primary blocks through the API, you’ll need to:

  1. retrieve the trial ID: https://docs.edgeimpulse.com/reference/edge-impulse-api/optimization/retrieves-the-eon-tuner-state

  2. Set EON tuner primary model: https://docs.edgeimpulse.com/reference/edge-impulse-api/jobs/sets-eon-tuner-primary-model