x-api-key
header:
openapi
field to your auth
configuration in langgraph.json
. Remember that this only updates the API documentation - you must also implement the corresponding authentication logic as shown in How to add custom authentication.
Note that LangGraph Platform does not provide authentication endpoints - you’ll need to handle user authentication in your client application and pass the resulting credentials to the LangGraph API.
/docs
to see the updated OpenAPI documentation