Glasp
glaspGlasp helps users save bookmarks, capture and organize highlights, import Kindle highlights, and access AI-generated summaries.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create HighlightsGLASP_CREATE_HIGHLIGHTSAcciónCreate between 1 and 100 highlights in the connected Glasp account in one request.
GLASP_CREATE_HIGHLIGHTSAcciónCreate between 1 and 100 highlights in the connected Glasp account in one request.
Parámetros de entrada
highlightsobject[]ObligatorioHighlights to create; each item requires title, url, and text.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete HighlightsGLASP_DELETE_HIGHLIGHTSAcciónDelete one Glasp highlight, or explicitly delete all highlights associated with one source document.
GLASP_DELETE_HIGHLIGHTSAcciónDelete one Glasp highlight, or explicitly delete all highlights associated with one source document.
Parámetros de entrada
urlstringObligatorioSource document URL containing the highlight or highlights to delete.
highlight_idstringID of one highlight to delete; required unless delete_document is true.
delete_documentbooleanSet true to delete all highlights for the source URL; when true, highlight_id is ignored.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SummaryGLASP_GET_SUMMARYAcciónFetch one Glasp summary by ID, optionally including the stored page or PDF Markdown content when available.
GLASP_GET_SUMMARYAcciónFetch one Glasp summary by ID, optionally including the stored page or PDF Markdown content when available.
Parámetros de entrada
summary_idstringObligatorioSummary ID returned by LIST_SUMMARIES, formatted by Glasp as '{sha1}:{uid}'.
include_contentbooleanWhen true, request the stored page or PDF Markdown body; content may still be null for YouTube or older summaries.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List BookmarksGLASP_LIST_BOOKMARKSAcciónReturn one page of pages the connected user saved to Glasp without highlighting, optionally limited to bookmarks updated after a timestamp.
GLASP_LIST_BOOKMARKSAcciónReturn one page of pages the connected user saved to Glasp without highlighting, optionally limited to bookmarks updated after a timestamp.
Parámetros de entrada
next_cursorstringContinuation cursor returned as next_cursor by a previous call; omit for the first page.
updated_afterstringISO 8601 timestamp; return only bookmarks updated after this time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List HighlightsGLASP_LIST_HIGHLIGHTSAcciónReturn one page of the connected user's non-Kindle Glasp documents and their nested highlights, optionally limited to records updated after a timestamp.
GLASP_LIST_HIGHLIGHTSAcciónReturn one page of the connected user's non-Kindle Glasp documents and their nested highlights, optionally limited to records updated after a timestamp.
Parámetros de entrada
next_cursorstringContinuation cursor returned as next_cursor by a previous call; omit for the first page.
updated_afterstringISO 8601 timestamp; return only documents with highlights updated after this time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Kindle HighlightsGLASP_LIST_KINDLE_HIGHLIGHTSAcciónReturn one page of the connected user's read-only Kindle books and highlights imported into Glasp, optionally limited to records updated after a timestamp.
GLASP_LIST_KINDLE_HIGHLIGHTSAcciónReturn one page of the connected user's read-only Kindle books and highlights imported into Glasp, optionally limited to records updated after a timestamp.
Parámetros de entrada
next_cursorstringContinuation cursor returned as next_cursor by a previous call; omit for the first page and pass it back unchanged.
updated_afterstringISO 8601 timestamp; return only Kindle records updated after this time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SummariesGLASP_LIST_SUMMARIESAcciónReturn one page of AI summaries generated by the connected user for pages, PDFs, and YouTube videos, optionally limited to records updated after a timestamp.
GLASP_LIST_SUMMARIESAcciónReturn one page of AI summaries generated by the connected user for pages, PDFs, and YouTube videos, optionally limited to records updated after a timestamp.
Parámetros de entrada
next_cursorstringContinuation cursor returned as next_cursor by a previous call; omit for the first page.
updated_afterstringISO 8601 timestamp; return only summaries updated after this time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save BookmarkGLASP_SAVE_BOOKMARKAcciónSave a URL as a Glasp bookmark, or update the existing bookmark when that URL is already saved.
GLASP_SAVE_BOOKMARKAcciónSave a URL as a Glasp bookmark, or update the existing bookmark when that URL is already saved.
Parámetros de entrada
urlstringObligatorioURL to save or re-save.
titlestringBookmark title; Glasp defaults it to the URL when omitted.
categorystringenumContent category; Glasp infers it from the URL when omitted.
articlevideotweetpdfbookdescriptionstringDescription of the bookmarked page.
thumbnail_urlstringThumbnail URL for the bookmark.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update HighlightGLASP_UPDATE_HIGHLIGHTAcciónUpdate editable fields on one Glasp highlight identified by its source URL and highlight ID.
GLASP_UPDATE_HIGHLIGHTAcciónUpdate editable fields on one Glasp highlight identified by its source URL and highlight ID.
Parámetros de entrada
urlstringObligatorioSource document URL returned by list or create highlights.
notestringReplacement note for the highlight.
textstringReplacement highlighted text.
colorstringenumReplacement highlight color.
pinkyellowbluegreenlocationnumberReplacement position in the source.
highlight_idstringObligatorioID of the highlight to update.
highlight_urlstringReplacement deep link to the highlight.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not