import requests
url = "https://app.langwatch.ai/api/scim/v2/Users"
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/scim/v2/Users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/scim/v2/Users \
--header 'Authorization: Bearer <token>'{
"schemas": [
"<string>"
],
"totalResults": 123,
"startIndex": 123,
"itemsPerPage": 123,
"Resources": [
{
"schemas": [
"<string>"
],
"id": "<string>",
"userName": "jsmith@example.com",
"name": {
"givenName": "<string>",
"familyName": "<string>"
},
"emails": [
{
"value": "jsmith@example.com",
"primary": true,
"type": "<string>"
}
],
"active": true,
"meta": {
"resourceType": "<string>",
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z"
}
}
]
}{
"schemas": [
"<string>"
],
"status": "<string>",
"detail": "<string>"
}{
"schemas": [
"<string>"
],
"status": "<string>",
"detail": "<string>"
}List provisioned users
The members of the organization the token belongs to, as SCIM users. One filter expression is understood, userName eq "someone@example.com", matched against the member’s email without regard to case.
import requests
url = "https://app.langwatch.ai/api/scim/v2/Users"
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/scim/v2/Users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/scim/v2/Users \
--header 'Authorization: Bearer <token>'{
"schemas": [
"<string>"
],
"totalResults": 123,
"startIndex": 123,
"itemsPerPage": 123,
"Resources": [
{
"schemas": [
"<string>"
],
"id": "<string>",
"userName": "jsmith@example.com",
"name": {
"givenName": "<string>",
"familyName": "<string>"
},
"emails": [
{
"value": "jsmith@example.com",
"primary": true,
"type": "<string>"
}
],
"active": true,
"meta": {
"resourceType": "<string>",
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z"
}
}
]
}{
"schemas": [
"<string>"
],
"status": "<string>",
"detail": "<string>"
}{
"schemas": [
"<string>"
],
"status": "<string>",
"detail": "<string>"
}Authorizations
SCIM token for one organization's directory connection, created with POST /api/scim-tokens or in Settings > SCIM. It authenticates provisioning calls only, and stops working if the organization's Enterprise plan lapses.
Query Parameters
A SCIM filter. Only userName eq "..." is applied; anything else is ignored and the full page is returned.
1-based index of the first resource to return. Anything that does not parse as a positive integer is read as 1.
How many resources to return, capped at 100 (the filter.maxResults ServiceProviderConfig publishes). Anything that does not parse as a positive integer is read as 100, and anything above 100 is served as 100.
x <= 100Was this page helpful?