Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get authorization for langgraph cloud remote deployment? #870

Open
edkesuma opened this issue Feb 18, 2025 · 0 comments
Open

How can I get authorization for langgraph cloud remote deployment? #870

edkesuma opened this issue Feb 18, 2025 · 0 comments

Comments

@edkesuma
Copy link

Hi, I already deployed my graph on Langgraph Platform. It has successfully deployed.
Below, I try to query the cloud instance from JS with fetch.

const response = await fetch(`${process.env.LANGGRAPH_CLOUD_URL}/threads/${threadId}/runs/${runId}`, {
      headers: {
        'Authorization': `${process.env.LANGCHAIN_API_KEY}`,
        'Content-Type': 'application/json'
      }
    });

However, it returns "Invalid token". I know that my langchain API key is already correct as I could test the langgraph cloud locally with the CLI tool and log it to the same account.

TLDR: Where can I get my authorization token?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant