Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request POST \
--url https://api.example.com/v2/auth/authenticate \
--header 'Content-Type: application/json' \
--data '
{
"provider": "<string>",
"scopes": [
"<string>"
],
"user_id": "<string>",
"ls_user_id": "<string>",
"agent_id": "<string>",
"use_agent_builder_public_oauth": false,
"force_new": false,
"token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_default": true
}
'{
"status": "completed",
"url": "<string>",
"auth_id": "<string>",
"token": "<string>",
"user_id": "<string>",
"metadata": {}
}Get OAuth token or start authentication flow if needed.
curl --request POST \
--url https://api.example.com/v2/auth/authenticate \
--header 'Content-Type: application/json' \
--data '
{
"provider": "<string>",
"scopes": [
"<string>"
],
"user_id": "<string>",
"ls_user_id": "<string>",
"agent_id": "<string>",
"use_agent_builder_public_oauth": false,
"force_new": false,
"token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_default": true
}
'{
"status": "completed",
"url": "<string>",
"auth_id": "<string>",
"token": "<string>",
"user_id": "<string>",
"metadata": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?