Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescription
api_keystr:heavy_check_mark:N/A
endpointOptional[str]:heavy_minus_sign:N/A
headersDict[str, str]:heavy_minus_sign:Custom HTTP headers to include in requests to this destination.
projectOptional[str]:heavy_minus_sign:The name for this project, such as pr-openrouter-demo. Defaults to “main” if not set.
workspace_idOptional[str]:heavy_minus_sign:Required for org-scoped API keys. Find this in your LangSmith workspace settings.