Hello goodday, I mean on this block because its an outside api and as i observe that they use api_key inside the header exmple : curl --request POST \ --url https://api.tokenmetrics.com/tmai\ --header 'accept: application/json' \ --header 'api_key: tm-**----**' \ --header 'content-type: application/json'
Okay, for this you can simply add the API key inside the Authorization field, you can check if it requires Bearer or not. As the Authorization go to headers.
Use the AI node generator to create a node which you can use, paste the curl request in additional context and provide required prompt to the it - https://docs.buildship.com/ai-nodes.
So maybe workaround i think is I should create a new workflow so that the API call block will be the on the trigger and fetch the data. tho its too inefficient to do because its making a double call .