curl -X GET "https://api.caret.so/v1/workspace" \
-H "X-API-Key: your_api_key_here"
{
"workspace": {
"id": "ws_123456789",
"name": "Acme Corp",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"settings": {
"keyterms": ["technical", "documentation"],
"audio_location": "aside-server",
"meeting_default_permission": "workspace"
},
"allowedEmailDomains": ["acme.com"],
"iconUrl": "https://example.com/icon.png"
}
}
APIキーに関連付けられたワークスペースの詳細を取得します
curl -X GET "https://api.caret.so/v1/workspace" \
-H "X-API-Key: your_api_key_here"
{
"workspace": {
"id": "ws_123456789",
"name": "Acme Corp",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"settings": {
"keyterms": ["technical", "documentation"],
"audio_location": "aside-server",
"meeting_default_permission": "workspace"
},
"allowedEmailDomains": ["acme.com"],
"iconUrl": "https://example.com/icon.png"
}
}
X-API-Key HTTPヘッダーにAPIキーを含める必要があります。
表示 properties
表示 properties
none、local、aside-server、custom-serverのいずれか。NONE、7、30、90、180、365のいずれか。public、workspace、only-meのいずれか。only-me、workspace-read、workspace-writeのいずれか。
curl -X GET "https://api.caret.so/v1/workspace" \
-H "X-API-Key: your_api_key_here"
{
"workspace": {
"id": "ws_123456789",
"name": "Acme Corp",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"settings": {
"keyterms": ["technical", "documentation"],
"audio_location": "aside-server",
"meeting_default_permission": "workspace"
},
"allowedEmailDomains": ["acme.com"],
"iconUrl": "https://example.com/icon.png"
}
}