List the SCIM resource schemas
import requests
url = "https://app.langwatch.ai/api/scim/v2/Schemas"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.langwatch.ai/api/scim/v2/Schemas', 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/Schemas \
--header 'x-api-key: <api-key>'{
"schemas": [
"<string>"
],
"totalResults": 123,
"startIndex": 123,
"itemsPerPage": 123,
"Resources": [
{
"schemas": [
"<string>"
],
"id": "<string>",
"name": "<string>",
"description": "<string>",
"attributes": [
{}
],
"meta": {
"resourceType": "<string>",
"location": "<string>"
}
}
]
}SCIM
List the SCIM resource schemas
The attribute definitions for the User and Group resources (RFC 7643 section 7), which an identity provider reads to build its attribute mapping. A LangWatch group is an access group: its membership drives role bindings, and it is not a team. Unauthenticated, like the rest of SCIM discovery.
GET
/
api
/
scim
/
v2
/
Schemas
List the SCIM resource schemas
import requests
url = "https://app.langwatch.ai/api/scim/v2/Schemas"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.langwatch.ai/api/scim/v2/Schemas', 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/Schemas \
--header 'x-api-key: <api-key>'{
"schemas": [
"<string>"
],
"totalResults": 123,
"startIndex": 123,
"itemsPerPage": 123,
"Resources": [
{
"schemas": [
"<string>"
],
"id": "<string>",
"name": "<string>",
"description": "<string>",
"attributes": [
{}
],
"meta": {
"resourceType": "<string>",
"location": "<string>"
}
}
]
}Authorizations
Was this page helpful?
⌘I