monologue-notes-api
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMonologue Notes API
Monologue Notes API
This skill provides the information needed to call the Monologue Notes REST API directly.
Use it for read-only operations on the authenticated user's notes.
Use whatever HTTP client fits the task: , a short script, or another REST-capable tool.
Do not invent client libraries unless the user asks for one.
curl本技能提供了直接调用Monologue Notes REST API所需的信息。
适用于对已认证用户的笔记执行只读操作。
可使用任何适合任务的HTTP客户端:、简短脚本或其他支持REST的工具。
除非用户要求,否则不要自行开发客户端库。
curlAuthentication
身份认证
Use the environment variable as the bearer token.
MONOLOGUE_API_KEY- Required auth header:
Authorization: Bearer $MONOLOGUE_API_KEY - Required scope:
notes:read - Never print the token, echo it, log it, or include it in a response to the user
- Only pass it through the header as a shell variable expansion
Authorization
Check whether the token is available without displaying it:
bash
if [ -z "${MONOLOGUE_API_KEY:-}" ]; then
echo "MONOLOGUE_API_KEY is not set"
fiIf is missing:
MONOLOGUE_API_KEY- Report that the environment variable is not present
- Ask the user whether they want to provide an API key
- Do not attempt authenticated API calls until a token is available
Avoid commands such as these because they would expose secrets:
bash
echo "$MONOLOGUE_API_KEY"
env | grep MONOLOGUE_API_KEY
set | grep MONOLOGUE_API_KEY使用环境变量作为Bearer令牌。
MONOLOGUE_API_KEY- 必填认证头:
Authorization: Bearer $MONOLOGUE_API_KEY - 必填权限范围:
notes:read - 绝不要打印、回显、记录令牌,也不要在给用户的响应中包含令牌
- 仅通过头以Shell变量展开的形式传递令牌
Authorization
在不显示令牌的前提下检查其是否可用:
bash
if [ -z "${MONOLOGUE_API_KEY:-}" ]; then
echo "MONOLOGUE_API_KEY is not set"
fi如果缺失:
MONOLOGUE_API_KEY- 告知用户该环境变量未设置
- 询问用户是否想要提供API密钥
- 在获取到令牌前,不要尝试发起需要认证的API调用
避免使用以下会泄露机密的命令:
bash
echo "$MONOLOGUE_API_KEY"
env | grep MONOLOGUE_API_KEY
set | grep MONOLOGUE_API_KEYBase URL
基础URL
- Base URL:
https://api.monologue.to - API shape: read-only Notes API
- Data format: JSON
- Timestamps: ISO 8601 date-time strings
- 基础URL:
https://api.monologue.to - API类型:只读笔记API
- 数据格式:JSON
- 时间戳:ISO 8601日期时间字符串
Request Pattern
请求模式
For all requests:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/..."If structured output is useful, pipe the response to .
jq所有请求示例:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/..."如果需要结构化输出,可将响应通过管道传递给。
jqEndpoints
端点
List notes
列出笔记
GET /v1/public-api/notesReturns a page of notes for the authenticated user.
Supported query parameters:
- : integer from
limitto1, default10020 - : opaque pagination cursor from a previous response
cursor - : ISO 8601 timestamp
created_after - : ISO 8601 timestamp
created_before - : ISO 8601 timestamp
updated_after - : full-text search across titles, summaries, and transcripts
q
Example:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20&q=interview"Example with :
jqbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20" \
| jq '{next_cursor, items: [.items[] | {note_id, title, summary, created_at, updated_at}]}'Expected response fields:
- : array of note summaries
items - : cursor for the next page, if any
next_cursor
Each list item may include:
note_idtitlesummarycreated_atupdated_at
Possible errors:
- : invalid filter or cursor
400 - : missing or invalid token
401 - : token lacks the required scope
403 - : validation error
422
GET /v1/public-api/notes返回已认证用户的一页笔记。
支持的查询参数:
- :整数,范围
limit至1,默认值10020 - :来自上一次响应的不透明分页游标
cursor - :ISO 8601时间戳
created_after - :ISO 8601时间戳
created_before - :ISO 8601时间戳
updated_after - :在标题、摘要和转录文本中进行全文搜索
q
示例:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20&q=interview"结合的示例:
jqbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20" \
| jq '{next_cursor, items: [.items[] | {note_id, title, summary, created_at, updated_at}]}'预期响应字段:
- :笔记摘要数组
items - :下一页的游标(如果存在)
next_cursor
每个列表项可能包含:
note_idtitlesummarycreated_atupdated_at
可能的错误:
- :无效的过滤器或游标
400 - :令牌缺失或无效
401 - :令牌缺少所需权限范围
403 - :验证错误
422
Get a single note
获取单条笔记
GET /v1/public-api/notes/{note_id}Returns the full details for one note belonging to the authenticated user.
Path parameters:
- : note identifier returned by the list endpoint
note_id
Example:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID"Example with :
jqbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID" \
| jq '{note_id, title, summary, transcript, transcript_segments, created_at, updated_at}'In addition to the list fields, the full note response may include:
transcripttranscript_segments
Notes:
- is loosely typed structured JSON and may be
transcript_segmentsnull - means the note was not found for the authenticated user
404
Possible errors:
- : missing or invalid token
401 - : token lacks the required scope
403 - : note not found
404 - : validation error
422
GET /v1/public-api/notes/{note_id}返回已认证用户的某条笔记的完整详情。
路径参数:
- :列出笔记端点返回的笔记标识符
note_id
示例:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID"结合的示例:
jqbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID" \
| jq '{note_id, title, summary, transcript, transcript_segments, created_at, updated_at}'除了列表字段外,完整笔记响应可能包含:
transcripttranscript_segments
注意:
- 是松散类型的结构化JSON,可能为
transcript_segmentsnull - 表示已认证用户未找到该笔记
404
可能的错误:
- :令牌缺失或无效
401 - :令牌缺少所需权限范围
403 - :笔记未找到
404 - :验证错误
422
Common Workflows
常见工作流
Search notes by keyword
按关键词搜索笔记
Use the parameter:
qbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?q=meeting"Search covers:
- note titles
- note summaries
- note transcripts
使用参数:
qbash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?q=meeting"搜索范围包括:
- 笔记标题
- 笔记摘要
- 笔记转录文本
Page through results
分页浏览结果
- Call
GET /v1/public-api/notes - Read from the response
next_cursor - Pass that cursor back as the query parameter
cursor - Stop when is absent or
next_cursornull
Example:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=50&cursor=OPAQUE_CURSOR"- 调用
GET /v1/public-api/notes - 从响应中读取
next_cursor - 将该游标作为查询参数传递回去
cursor - 当不存在或为
next_cursor时停止null
示例:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=50&cursor=OPAQUE_CURSOR"Filter by time
按时间过滤
Use ISO 8601 date-time values:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?created_after=2026-01-01T00:00:00Z"使用ISO 8601日期时间值:
bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?created_after=2026-01-01T00:00:00Z"Operating Rules
操作规则
- Treat this API as read-only
- Do not claim write support; this skill only covers listing and reading notes
- Prefer for requests
https://api.monologue.to - When reporting failures, summarise the HTTP status and relevant response body without exposing the token
- If the user asks for a workflow that requires local post-processing, fetch the data first and then transform it separately
- 将本API视为只读模式
- 不要声称支持写入操作;本技能仅涵盖列出和读取笔记的功能
- 请求优先使用
https://api.monologue.to - 报告失败时,总结HTTP状态和相关响应内容,但不要暴露令牌
- 如果用户要求需要本地后处理的工作流,先获取数据,再单独进行转换
Source Notes
来源说明
This skill is based on:
/Users/eleanor/repos/obsidian/intellectronica/2026-04-21-20-10 Monologue API.md- Live OpenAPI checks against on 2026-04-22
https://api.monologue.to/public-openapi.json
本技能基于:
/Users/eleanor/repos/obsidian/intellectronica/2026-04-21-20-10 Monologue API.md- 2026年4月22日针对的实时OpenAPI检查
https://api.monologue.to/public-openapi.json