Cosmonote API

API로 음성 노트에 접근하기

Base URL https://nebula.cosmonote.ai
Header Authorization: Bearer cnk_your_api_key

API 키는 앱의 설정 → API 키에 있습니다

노트 목록

GET /api/v1/notes

응답

[
  {
    "id": "abc123",
    "title": "Team meeting",
    "source": "recording",
    "category": "meeting",
    "duration": 1800,
    "startedAt": "2024-03-15T14:30:00Z",
    "speakers": { "A": "John", "B": "Marie" },
    "tldr": ["Key point 1", "Key point 2"]
  }
]

노트 가져오기

GET /api/v1/notes/{noteId}

매개변수

noteId path 필수 노트 ID
fields query segments, summary

응답

{
  "id": "abc123",
  "title": "Team meeting",
  "tldr": ["Point 1", "Point 2"],
  "decisions": ["Decision made"],
  "questions": ["Open question"],
  "summary": "## Overview\nThe team discussed...\n\n## Key Points\n- First point\n- Second point",
  "segments": [
    { "start": 31, "end": 3591, "speaker": "A", "text": "Let's start with the roadmap." },
    { "start": 3811, "end": 10651, "speaker": "B", "text": "Sure, I have some updates." }
  ],
  "speakers": { "A": "John", "B": "Marie" }
}

할 일 목록

GET /api/v1/action-items

매개변수

noteId query 노트로 필터

응답

[
  {
    "id": "task123",
    "noteId": "abc123",
    "title": "Send meeting notes",
    "assignee": "John",
    "dueDate": "2024-03-20T18:00:00Z"
  }
]