As soon as I deploy my langgraph to the cloud, I am unable to copy the deployment API key and if I try to delete that API key, I must also delete the deployment. I want to get the Deployment API key.
LangSmith API keys are shown only once. If you didn’t successfully copy it at creation time, you generally cannot reveal/copy that same secret later; you must create a new key.
You have to copy and store that key in a safe place if you want to reuse it later on.
For LangSmith Cloud deployments, the Agent Server expects X-Api-Key = a valid LangSmith API key for the org/workspace.
Why you have to delete the deployment? It shouldn’t be necessary and I’m sure it isn’t.
I am still unable to copy the api key because when I deploy my graph, the key is created under the hood and I am unable to copy it from there. That is my problem.
My problem is not that the key is shown only once but when that key is shown during deployment. When is it shown so that I copy it?
This is what I mean:
There’s hardly any chance for me to copy the api key of the deployment. I wish I could share the video of what is happening.
Ok, I get it now @all-black-493
I will look for a solution later on. Or hopefully someone else will do it.
@all-black-493 Hello,
Just to make sure I’m understanding correctly: your API key is generated during the LangGraph cloud deployment process, and after the deployment completes you can’t view or retrieve it , is that right?
If so, how are you creating this API key? Are you generating this from your code or it is done automatically?
