curl -X GET "https://api.caret.so/v1/workspace" \
-H "Authorization: Bearer your_api_key_here"
const response = await fetch('https://api.caret.so/v1/workspace', {
headers: {
Authorization: 'Bearer your_api_key_here',
},
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.caret.so/v1/workspace"
headers = {
"Authorization": "Bearer your_api_key_here"
}
response = requests.get(url, headers=headers)
print(response.json())
{
"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"
}
}
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}
{
"error": {
"code": "internal_server_error",
"message": "An unexpected error occurred"
}
}
워크스페이스
워크스페이스 조회
API 키와 연결된 워크스페이스의 상세 정보를 조회합니다
GET
/
v1
/
workspace
curl -X GET "https://api.caret.so/v1/workspace" \
-H "Authorization: Bearer your_api_key_here"
const response = await fetch('https://api.caret.so/v1/workspace', {
headers: {
Authorization: 'Bearer your_api_key_here',
},
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.caret.so/v1/workspace"
headers = {
"Authorization": "Bearer your_api_key_here"
}
response = requests.get(url, headers=headers)
print(response.json())
{
"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"
}
}
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}
{
"error": {
"code": "internal_server_error",
"message": "An unexpected error occurred"
}
}
개요
이 엔드포인트는 제공된 API 키가 속한 워크스페이스에 대한 상세 정보를 반환합니다. 워크스페이스 이름, 생성일, 설정과 같은 기본 메타데이터가 포함됩니다.인증
모든 API 요청은Authorization: Bearer <API_KEY> 형식으로 인증합니다.
string
필수
Bearer 토큰. 형식:
Bearer <API_KEY>.응답
object
워크스페이스 객체.
표시 properties
표시 properties
string
워크스페이스의 고유 식별자.
string
워크스페이스 이름.
string
워크스페이스가 생성된 ISO8601 타임스탬프.
string
워크스페이스가 마지막으로 업데이트된 ISO8601 타임스탬프.
object
워크스페이스 설정.
표시 properties
표시 properties
string
워크스페이스와 연결된 RAG 코퍼스 ID.
string[]
워크스페이스의 주요 용어 목록.
string
오디오 파일이 저장되는 위치.
none, local, aside-server,
custom-server 중 하나.string
데이터 보존 기간(일).
NONE, 7, 30, 90, 180, 365 중 하나.string
새 미팅의 기본 권한.
public, workspace, only-me 중 하나.string
멤버 미팅의 가시성.
only-me, workspace-read, workspace-write 중
하나.boolean
전사본에서 민감한 정보를 마스킹할지 여부.
boolean
공유 시 미팅을 자동으로 공개할지 여부.
string[] | null
워크스페이스 접근이 허용된 이메일 도메인 목록.
string | null
워크스페이스 아이콘 URL.
curl -X GET "https://api.caret.so/v1/workspace" \
-H "Authorization: Bearer your_api_key_here"
const response = await fetch('https://api.caret.so/v1/workspace', {
headers: {
Authorization: 'Bearer your_api_key_here',
},
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.caret.so/v1/workspace"
headers = {
"Authorization": "Bearer your_api_key_here"
}
response = requests.get(url, headers=headers)
print(response.json())
{
"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"
}
}
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}
{
"error": {
"code": "internal_server_error",
"message": "An unexpected error occurred"
}
}
⌘I