Skip to main content
POST
/
oauth
/
authorize
/
approve
Error
A valid request URL is required to generate request examples
{}

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.

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data
organization_id
string
required

Organization ID; must match the authenticated org

client_id
string
required

OAuth2 client ID

redirect_uri
string
required

Redirect URI registered with the client

code_challenge
string
required

PKCE code challenge

code_challenge_method
string
required

PKCE method, must be 'S256'

workspace_id
string

Default workspace ID; must belong to organization and be accessible to user

state
string

Opaque state value to prevent CSRF

Response

JSON body with redirect_uri the frontend should navigate the browser to

{key}
string