curl --request GET \
--url https://app.azalt.co/api/v1/organizations/current \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"settings": {
"hasOpenaiApiKey": true,
"hasAnthropicApiKey": true,
"requireFormAssignment": [
"VIEWER"
],
"defaultFormWorkflow": {
"type": "DIRECT_APPROVAL"
},
"defaultDashboardStatuses": [
"COMPLETED"
],
"siteSelectorTemplate": "<string>",
"navigationTags": {
"forms": [
"<string>"
],
"kpis": [
"<string>"
],
"dashboards": [
"<string>"
]
}
},
"adminSettings": {
"showOrganizationLogo": true,
"showPlatformLogo": true,
"logoHeight": 123,
"grayscaleLogo": true,
"logoContrast": 123,
"showOffset": true,
"showMediaLibrary": true,
"enableAiAssistant": true,
"enableConversationHistory": true,
"enableReportAiDrafting": true,
"terminology": {}
},
"status": "<string>"
}Kullanıcının şu anda çalıştığı organizasyonun ayrıntılı bilgilerini döndürür.
İçerik:
“Aktif” organizasyon, kullanıcının oturum bağlamında seçtiği organizasyondur. Bir kullanıcı birden fazla organizasyona üye olabilir ancak aynı anda yalnızca biri üzerinde çalışır.
curl --request GET \
--url https://app.azalt.co/api/v1/organizations/current \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"settings": {
"hasOpenaiApiKey": true,
"hasAnthropicApiKey": true,
"requireFormAssignment": [
"VIEWER"
],
"defaultFormWorkflow": {
"type": "DIRECT_APPROVAL"
},
"defaultDashboardStatuses": [
"COMPLETED"
],
"siteSelectorTemplate": "<string>",
"navigationTags": {
"forms": [
"<string>"
],
"kpis": [
"<string>"
],
"dashboards": [
"<string>"
]
}
},
"adminSettings": {
"showOrganizationLogo": true,
"showPlatformLogo": true,
"logoHeight": 123,
"grayscaleLogo": true,
"logoContrast": 123,
"showOffset": true,
"showMediaLibrary": true,
"enableAiAssistant": true,
"enableConversationHistory": true,
"enableReportAiDrafting": true,
"terminology": {}
},
"status": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Göster alt özellikler
VIEWER, COLLECTOR, APPROVER, MANAGER COMPLETED, APPROVED, REJECTED Göster alt özellikler