Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra committed Jan 7, 2025
1 parent 4c7dfab commit 150753b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/self_hosting/egress.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ sidebar_position: 7
By default, Self-Hosted LangSmith instances store all information locally and will never send sensitive information outside your network. However, we do require egress to `https://beacon.langchain.com` for two reasons:

1. Subscription Metrics:
- Metrics used to determine Customer's access and use of the Licensed Platform, including but not limited to, the number of Traces, number of Users, number of Nodes Executed, or other mutually agreed criteria as set out in an Order Form.
- This includes license verification and usage reporting.
- Metrics used to determine Customer's access and use of the Licensed Platform, including but not limited to, the number of Traces, number of Users, number of Nodes Executed, or other mutually agreed criteria as set out in an Order Form.
- This includes license verification and usage reporting.
2. Operational Metadata
- Operational Metadata means usage information generated by the Licensed Platform and collected by LangChain for the purposes of delivering an optimal implementation of the Licensed Platform. Operational Metadata may include information such as type and version of the LangChain software, operating system version and environment type of Customer's Infrastructure, uptime and availability, system error logs and health metrics, product feature usage, general integrity and security of the Licensed Platform. For the avoidance of doubt, Operational Metadata will never include Customer Data, AI Content, or Customer Confidential Information.
- Operational Metadata means usage information generated by the Licensed Platform and collected by LangChain for the purposes of delivering an optimal implementation of the Licensed Platform. Operational Metadata may include information such as type and version of the LangChain software, operating system version and environment type of Customer's Infrastructure, uptime and availability, system error logs and health metrics, product feature usage, general integrity and security of the Licensed Platform. For the avoidance of doubt, Operational Metadata will never include Customer Data, AI Content, or Customer Confidential Information.

This will require egress to `https://beacon.langchain.com` from your network.

Expand All @@ -20,12 +20,15 @@ This will require egress to `https://beacon.langchain.com` from your network.
### License Verification

POST beacon.langchain.com/v1/beacon/verify

```json
{
"license: "<YOUR_LICENSE_KEY>"
}
```

Response:

```json
{
"token": "Valid JWT" //Short-lived JWT token to avoid repeated license checks
Expand All @@ -36,6 +39,7 @@ Response:

POST beacon.langchain.com/v1/beacon/ingest-traces
Example request payload:

```json
{
"license": "<YOUR_LICENSE_KEY>",
Expand All @@ -59,6 +63,7 @@ Example request payload:
```

Example response payload:

```json
{
"inserted_count": 1 // Number of transactions successfully ingested
Expand Down

0 comments on commit 150753b

Please sign in to comment.