Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt

Use this file to discover all available pages before exploring further.

Services

RPC methods exposed by this API.

CommentService

MethodRequestResponseDescription
CreateCommentCreateCommentRequestCreateCommentResponseCreates a comment on a resource.
ListCommentsListCommentsRequestListCommentsResponseRetrieves comments using an optional filter. Commonly used to bulk-fetch comments for a set of resource IDs of a given entity type.
UpdateCommentUpdateCommentRequestUpdateCommentResponseUpdates the body of an existing comment.
DeleteCommentDeleteCommentRequestDeleteCommentResponseDeletes a comment.

Messages

Data models used across requests/responses.

Comment

A single comment attached to a resource.
FieldTypeLabelDescription
comment_idstring
resource_idstringThe ID of the resource the comment is attached to (e.g. a canvas_cell_execution_id).
entity_typeCommentEntityTypeThe kind of resource resource_id refers to.
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp
created_by_user_idstring
created_by_user_namestring
bodyCommentBodyElementrepeatedThe rich-text body of the comment.

CommentBodyElement

A single element of a comment body. Either plain text or a user mention.
FieldTypeLabelDescription
typeCommentBodyElementType
textstringOnly set when type is TEXT.
user_mentionCommentUserMentionOnly set when type is USER_MENTION.

CommentUserMention

FieldTypeLabelDescription
user_idstring
user_emailstring

CreateCommentRequest

The request for a call to CommentService_CreateComment.
FieldTypeLabelDescription
resource_idstringThe ID of the resource to attach the comment to.
entity_typeCommentEntityTypeThe kind of resource resource_id refers to.
bodyCommentBodyElementrepeatedThe rich-text body of the new comment.

CreateCommentResponse

The response of a call to CommentService_CreateComment.
FieldTypeLabelDescription
commentComment

DeleteCommentRequest

The request for a call to CommentService_DeleteComment.
FieldTypeLabelDescription
comment_idstring

DeleteCommentResponse

The response of a call to CommentService_DeleteComment. This message has no fields.

ListCommentsRequest

The request for a call to CommentService_ListComments. Commonly invoked with a CEL filter of the form entity_type == "CANVAS_CELL_EXECUTION" && resource_id in ["<uuid>", ...] to bulk-fetch comments for a set of resources.
FieldTypeLabelDescription
page_sizeuint32The maximum number of comments to return. Defaults to 50, max 1000.
page_tokenstringA page token, received from a previous ListComments call.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are comment_id, resource_id, entity_type, created_by_user_id, created_date, and modified_date.
order_bystringHow to order the retrieved comments. Formatted as a comma-separated string i.e. “FIELD_NAME[ desc],…”. Available fields to order_by are created_date and modified_date. Defaults to created_date ascending (oldest-first).

ListCommentsResponse

The response of a call to CommentService_ListComments.
FieldTypeLabelDescription
commentsCommentrepeated
next_page_tokenstring

UpdateCommentRequest

The request for a call to CommentService_UpdateComment.
FieldTypeLabelDescription
commentComment
update_maskstringComma-separated list of fields to update. Only body is supported.

UpdateCommentResponse

The response of a call to CommentService_UpdateComment.
FieldTypeLabelDescription
commentComment

Enums

Allowed constant values used in message fields.

CommentBodyElementType

NameNumberDescription
COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED0
COMMENT_BODY_ELEMENT_TYPE_TEXT1
COMMENT_BODY_ELEMENT_TYPE_USER_MENTION2

CommentEntityType

The type of resource a comment is attached to. Designed to be extended over time.
NameNumberDescription
COMMENT_ENTITY_TYPE_UNSPECIFIED0
COMMENT_ENTITY_TYPE_CANVAS_CELL_EXECUTION1