Get Workspace Service Accounts
curl --request GET \
--url https://api.threetone.in/v1/service-accountsimport requests
url = "https://api.threetone.in/v1/service-accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.threetone.in/v1/service-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"service-accounts": [
{
"service_account_user_id": "<string>",
"name": "<string>",
"api-keys": [
{
"name": "<string>",
"hint": "<string>",
"key_id": "<string>",
"service_account_user_id": "<string>",
"hashed_xi_api_key": "<string>",
"created_at_unix": 123,
"is_disabled": false,
"permissions": [
"models_read"
],
"disable_reason": "trial_ended",
"credit_limit": 123,
"credit_count": 123,
"allowed_ips": [
"<string>"
],
"third_party_disable_allowed": true
}
],
"created_at_unix": 123,
"default_sharing_groups": [
{
"group": {
"name": "<string>",
"id": "<string>",
"members": [
"<string>"
],
"permissions": [
"conversational_ai"
],
"group_usage_limit": 123,
"group_pvc_limit": 123,
"credit_count": 123,
"is_scim_synced": false,
"scim_group": {
"scim_external_id": "<string>",
"display_name": "<string>",
"created_at_unix": 123,
"updated_at_unix": 123,
"seat_type": "workspace_admin"
},
"scim_frozen": false
},
"permission_level": "admin"
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}workspace
Get Workspace Service Accounts
List all service accounts in the workspace
GET
/
v1
/
service-accounts
Get Workspace Service Accounts
curl --request GET \
--url https://api.threetone.in/v1/service-accountsimport requests
url = "https://api.threetone.in/v1/service-accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.threetone.in/v1/service-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"service-accounts": [
{
"service_account_user_id": "<string>",
"name": "<string>",
"api-keys": [
{
"name": "<string>",
"hint": "<string>",
"key_id": "<string>",
"service_account_user_id": "<string>",
"hashed_xi_api_key": "<string>",
"created_at_unix": 123,
"is_disabled": false,
"permissions": [
"models_read"
],
"disable_reason": "trial_ended",
"credit_limit": 123,
"credit_count": 123,
"allowed_ips": [
"<string>"
],
"third_party_disable_allowed": true
}
],
"created_at_unix": 123,
"default_sharing_groups": [
{
"group": {
"name": "<string>",
"id": "<string>",
"members": [
"<string>"
],
"permissions": [
"conversational_ai"
],
"group_usage_limit": 123,
"group_pvc_limit": 123,
"credit_count": 123,
"is_scim_synced": false,
"scim_group": {
"scim_external_id": "<string>",
"display_name": "<string>",
"created_at_unix": 123,
"updated_at_unix": 123,
"seat_type": "workspace_admin"
},
"scim_frozen": false
},
"permission_level": "admin"
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}