Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/langsmith/administration-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ Service keys are similar to PATs, but are used to authenticate requests to the L

Service keys are prefixed with `lsv2_sk_`

<Warning>
Use the `X-Tenant-Id` header to specify the target workspace.

- **When using PATs**: If this header is omitted, requests will run against the default workspace associated with the key.
- **When using organization-scoped service keys**: You must include the `X-Tenant-Id` header when accessing workspace-scoped resources. Without it, the request will fail with a `403 Forbidden` error.
</Warning>

<Note>
To see how to create a service key or Personal Access Token, see the [setup guide](/langsmith/create-account-api-key)
</Note>
Expand Down