List workspaces
curl --request GET \
--url https://my.orq.ai/v2/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.orq.ai/v2/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.orq.ai/v2/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "<string>",
"data": [
{
"id": "<string>",
"key": "<string>",
"display_name": "<string>",
"logo_url": "<string>",
"archived_on": "2023-11-07T05:31:56Z",
"archived_by_id": "<string>",
"organization": {
"id": "<string>",
"key": "<string>"
},
"settings": {
"same_project_entities_enabled": true,
"model_garden_settings": {},
"plugins": {}
},
"sidebar_version": "<string>",
"features": {
"workspace_tier": "<string>",
"observability_enabled": true,
"insights_enabled": true,
"enforce_enabled_models": true,
"tracing_enabled": true,
"sso_enabled": true,
"rba_enabled": true,
"workload_federation_enabled": true,
"custom_roles_enabled": true,
"sso_provisioning_enabled": true,
"audit_logs_enabled": true,
"file_systems_enabled": true,
"retention_period": 123,
"audit_retention_period": 123
},
"total_members": 123,
"metadata": {},
"capabilities": {
"roles": [
"<string>"
],
"projects": [
"<string>"
],
"user_permissions": {
"permissions": [
"<string>"
]
}
}
}
],
"has_more": true
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}Workspaces
List workspaces
Returns workspaces the caller can access. A user session lists every membership. A management key lists only the workspace bound to the key. Project keys are rejected.
GET
/
v2
/
workspaces
List workspaces
curl --request GET \
--url https://my.orq.ai/v2/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.orq.ai/v2/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.orq.ai/v2/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "<string>",
"data": [
{
"id": "<string>",
"key": "<string>",
"display_name": "<string>",
"logo_url": "<string>",
"archived_on": "2023-11-07T05:31:56Z",
"archived_by_id": "<string>",
"organization": {
"id": "<string>",
"key": "<string>"
},
"settings": {
"same_project_entities_enabled": true,
"model_garden_settings": {},
"plugins": {}
},
"sidebar_version": "<string>",
"features": {
"workspace_tier": "<string>",
"observability_enabled": true,
"insights_enabled": true,
"enforce_enabled_models": true,
"tracing_enabled": true,
"sso_enabled": true,
"rba_enabled": true,
"workload_federation_enabled": true,
"custom_roles_enabled": true,
"sso_provisioning_enabled": true,
"audit_logs_enabled": true,
"file_systems_enabled": true,
"retention_period": 123,
"audit_retention_period": 123
},
"total_members": 123,
"metadata": {},
"capabilities": {
"roles": [
"<string>"
],
"projects": [
"<string>"
],
"user_permissions": {
"permissions": [
"<string>"
]
}
}
}
],
"has_more": true
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}Authorizations
Was this page helpful?