Python
import requests
url = "https://app.langwatch.ai/api/organization/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.langwatch.ai/api/organization/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/organization/members \
--header 'Authorization: Bearer <token>'{
"members": [
{
"userId": "<string>",
"disabled": true,
"disabledAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
}
],
"totalCount": 123
}Members
List members
List the organization’s members with their organization role and disabled status. Disabled members are included only when includeDisabled=true.
GET
/
api
/
organization
/
members
Python
import requests
url = "https://app.langwatch.ai/api/organization/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.langwatch.ai/api/organization/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/organization/members \
--header 'Authorization: Bearer <token>'{
"members": [
{
"userId": "<string>",
"disabled": true,
"disabledAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
}
],
"totalCount": 123
}Authorizations
Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.
Query Parameters
Available options:
true, false Required range:
x >= 0Required range:
1 <= x <= 200Was this page helpful?
⌘I