Versions in this module Expand all Collapse all v0 v0.1.0 Feb 18, 2026 Changes in this version + type APIError struct + Code string + Message string + Object ObjectType + RequestID string + Status int + func (e *APIError) Error() string + type Annotations struct + Bold bool + Code bool + Color Color + Italic bool + Strikethrough bool + Underline bool + type Block struct + Archived bool + Audio *MediaBlock + Bookmark *BookmarkBlock + Breadcrumb *EmptyBlock + BulletedListItem *TextBlock + Callout *CalloutBlock + ChildDatabase *ChildDatabaseBlock + ChildPage *ChildPageBlock + Code *CodeBlock + Column *EmptyBlock + ColumnList *EmptyBlock + CreatedBy UserRef + CreatedTime time.Time + Divider *EmptyBlock + Embed *EmbedBlock + Equation *EquationBlock + File *MediaBlock + HasChildren bool + Heading1 *HeadingBlock + Heading2 *HeadingBlock + Heading3 *HeadingBlock + ID string + Image *MediaBlock + InTrash bool + LastEditedBy UserRef + LastEditedTime time.Time + LinkPreview *LinkPreviewBlock + LinkToPage *LinkToPageBlock + NumberedListItem *TextBlock + Object string + PDF *MediaBlock + Paragraph *ParagraphBlock + Parent Parent + Quote *TextBlock + SyncedBlock *SyncedBlockData + Table *TableBlock + TableOfContents *TableOfContentsBlock + TableRow *TableRowBlock + Template *TemplateBlock + ToDo *ToDoBlock + Toggle *TextBlock + Type BlockType + Video *MediaBlock + type BlockList struct + HasMore bool + NextCursor *string + Object ObjectType + Results []Block + type BlockType string + const BlockTypeAudio + const BlockTypeBookmark + const BlockTypeBreadcrumb + const BlockTypeBulletedListItem + const BlockTypeCallout + const BlockTypeChildDatabase + const BlockTypeChildPage + const BlockTypeCode + const BlockTypeColumn + const BlockTypeColumnList + const BlockTypeDivider + const BlockTypeEmbed + const BlockTypeEquation + const BlockTypeFile + const BlockTypeHeading1 + const BlockTypeHeading2 + const BlockTypeHeading3 + const BlockTypeImage + const BlockTypeLinkPreview + const BlockTypeLinkToPage + const BlockTypeNumberedListItem + const BlockTypePDF + const BlockTypeParagraph + const BlockTypeQuote + const BlockTypeSyncedBlock + const BlockTypeTable + const BlockTypeTableOfContents + const BlockTypeTableRow + const BlockTypeTemplate + const BlockTypeToDo + const BlockTypeToggle + const BlockTypeUnsupported + const BlockTypeVideo + type BookmarkBlock struct + Caption RichTextArray + URL string + type Bot struct + Owner BotOwner + WorkspaceID string + WorkspaceName string + type BotOwner struct + Type string + User *User + Workspace bool + type CalloutBlock struct + Children []Block + Color Color + Icon *Icon + RichText RichTextArray + type CheckboxFilter struct + DoesNotEqual *bool + Equals *bool + type ChildDatabaseBlock struct + Title string + type ChildPageBlock struct + Title string + type CodeBlock struct + Caption RichTextArray + Language string + RichText RichTextArray + type Color string + const ColorBlue + const ColorBlueBackground + const ColorBrown + const ColorBrownBackground + const ColorDefault + const ColorGray + const ColorGrayBackground + const ColorGreen + const ColorGreenBackground + const ColorOrange + const ColorOrangeBackground + const ColorPink + const ColorPinkBackground + const ColorPurple + const ColorPurpleBackground + const ColorRed + const ColorRedBackground + const ColorYellow + const ColorYellowBackground + type Comment struct + CreatedBy UserRef + CreatedTime time.Time + DiscussionID string + ID string + Object ObjectType + Parent Parent + RichText RichTextArray + type CommentList struct + HasMore bool + NextCursor *string + Object ObjectType + Results []Comment + type Cover struct + External *ExternalFile + File *InternalFile + Type string + type DataSource struct + Archived bool + CreatedBy UserRef + CreatedTime time.Time + Description RichTextArray + ID string + Icon *Icon + InTrash bool + LastEditedBy UserRef + LastEditedTime time.Time + Object ObjectType + Parent Parent + Properties map[string]PropertySchema + Title RichTextArray + type DataSourceRef struct + ID string + Name string + type Database struct + Archived bool + Cover *Cover + CreatedBy UserRef + CreatedTime time.Time + DataSources []DataSourceRef + Description RichTextArray + ID string + Icon *Icon + InTrash bool + IsInline bool + IsLocked bool + LastEditedBy UserRef + LastEditedTime time.Time + Object ObjectType + Parent Parent + PublicURL *string + Title RichTextArray + URL string + type DateFilter struct + After *string + Before *string + Equals *string + IsEmpty *bool + IsNotEmpty *bool + NextMonth *EmptyObject + NextWeek *EmptyObject + NextYear *EmptyObject + OnOrAfter *string + OnOrBefore *string + PastMonth *EmptyObject + PastWeek *EmptyObject + PastYear *EmptyObject + ThisWeek *EmptyObject + type DateValue struct + End *string + Start string + TimeZone *string + type EmbedBlock struct + URL string + type EmptyBlock struct + type EmptyObject struct + type Equation struct + Expression string + type EquationBlock struct + Expression string + type ExternalFile struct + URL string + type FileReference struct + External *ExternalFile + File *InternalFile + Name string + Type FileType + type FileType string + const FileTypeExternal + const FileTypeFile + const FileTypeFileUpload + type FilesFilter struct + IsEmpty *bool + IsNotEmpty *bool + type Filter struct + And []Filter + Checkbox *CheckboxFilter + Date *DateFilter + Files *FilesFilter + Formula *FormulaFilter + ID *NumberFilter + MultiSelect *SelectFilter + Number *NumberFilter + Or []Filter + People *PeopleFilter + Property string + Relation *RelationFilter + RichText *TextFilter + Rollup *RollupFilter + Select *SelectFilter + Status *SelectFilter + Timestamp *DateFilter + Title *TextFilter + type FormulaFilter struct + Checkbox *CheckboxFilter + Date *DateFilter + Number *NumberFilter + String *TextFilter + type FormulaSchemaConfig struct + Expression string + type FormulaValue struct + Boolean *bool + Date *DateValue + Number *float64 + String *string + Type string + type HeadingBlock struct + Children []Block + Color Color + IsToggleable bool + RichText RichTextArray + type IDRef struct + ID string + type Icon struct + Emoji *string + External *ExternalFile + File *InternalFile + Type string + type InternalFile struct + ExpiryTime *time.Time + URL string + type Link struct + URL string + type LinkPreview struct + URL string + type LinkPreviewBlock struct + URL string + type LinkToPageBlock struct + DatabaseID string + PageID string + Type string + type MediaBlock struct + Caption RichTextArray + External *ExternalFile + File *InternalFile + Type FileType + type Mention struct + Database *IDRef + Date *DateValue + LinkPreview *LinkPreview + Page *IDRef + Type MentionType + User *UserRef + type MentionType string + const MentionTypeDatabase + const MentionTypeDate + const MentionTypeLinkPreview + const MentionTypePage + const MentionTypeUser + type NumberFilter struct + DoesNotEqual *float64 + Equals *float64 + GreaterThan *float64 + GreaterThanOrEqualTo *float64 + IsEmpty *bool + IsNotEmpty *bool + LessThan *float64 + LessThanOrEqualTo *float64 + type NumberSchemaConfig struct + Format string + type ObjectType string + const ObjectTypeBlock + const ObjectTypeComment + const ObjectTypeDataSource + const ObjectTypeDatabase + const ObjectTypeError + const ObjectTypeList + const ObjectTypePage + const ObjectTypeUser + type Page struct + Archived bool + Cover *Cover + CreatedBy UserRef + CreatedTime time.Time + ID string + Icon *Icon + InTrash bool + IsLocked bool + LastEditedBy UserRef + LastEditedTime time.Time + Object ObjectType + Parent Parent + Properties map[string]PropertyValue + PublicURL *string + URL string + type PageList struct + HasMore bool + NextCursor *string + Object ObjectType + Results []Page + type PaginatedList struct + HasMore bool + NextCursor *string + Object ObjectType + Results []interface{} + Type string + type ParagraphBlock struct + Children []Block + Color Color + RichText RichTextArray + type Parent struct + BlockID string + DataSourceID string + DatabaseID string + PageID string + Type string + Workspace bool + type PeopleFilter struct + Contains *string + DoesNotContain *string + IsEmpty *bool + IsNotEmpty *bool + type Person struct + Email string + type PropertySchema struct + Description string + Formula *FormulaSchemaConfig + ID string + MultiSelect *SelectSchemaConfig + Name string + Number *NumberSchemaConfig + Relation *RelationSchemaConfig + Rollup *RollupSchemaConfig + Select *SelectSchemaConfig + Status *StatusSchemaConfig + Type PropertyType + type PropertyType string + const PropertyTypeCheckbox + const PropertyTypeCreatedBy + const PropertyTypeCreatedTime + const PropertyTypeDate + const PropertyTypeEmail + const PropertyTypeFiles + const PropertyTypeFormula + const PropertyTypeLastEditedBy + const PropertyTypeLastEditedTime + const PropertyTypeMultiSelect + const PropertyTypeNumber + const PropertyTypePeople + const PropertyTypePhoneNumber + const PropertyTypeRelation + const PropertyTypeRichText + const PropertyTypeRollup + const PropertyTypeSelect + const PropertyTypeStatus + const PropertyTypeTitle + const PropertyTypeURL + const PropertyTypeUniqueID + type PropertyValue struct + Checkbox *bool + CreatedBy *User + CreatedTime *time.Time + Date *DateValue + Email *string + Files []FileReference + Formula *FormulaValue + HasMore bool + ID string + LastEditedBy *User + LastEditedTime *time.Time + MultiSelect []SelectOption + Number *float64 + People []User + PhoneNumber *string + Relation []RelationItem + RichText RichTextArray + Rollup *RollupValue + Select *SelectOption + Status *SelectOption + Title RichTextArray + Type PropertyType + URL *string + UniqueID *UniqueIDValue + type QueryRequest struct + Archived *bool + Filter *Filter + FilterProperties []string + InTrash *bool + PageSize int + ResultType string + Sorts []Sort + StartCursor string + type RelationFilter struct + Contains *string + DoesNotContain *string + IsEmpty *bool + IsNotEmpty *bool + type RelationItem struct + ID string + type RelationSchemaConfig struct + DatabaseID string + SyncedPropertyID string + SyncedPropertyName string + Type string + type RichText struct + Annotations *Annotations + Equation *Equation + Href *string + Mention *Mention + PlainText string + Text *TextContent + Type RichTextType + type RichTextArray []RichText + func (rta RichTextArray) PlainText() string + type RichTextType string + const RichTextTypeEquation + const RichTextTypeMention + const RichTextTypeText + type RollupFilter struct + Any *Filter + Date *DateFilter + Every *Filter + None *Filter + Number *NumberFilter + String *TextFilter + type RollupSchemaConfig struct + Function string + RelationPropertyID string + RelationPropertyName string + RollupPropertyID string + RollupPropertyName string + type RollupValue struct + Array []PropertyValue + Date *DateValue + Function string + Number *float64 + String *string + Type string + type SearchFilter struct + Property string + Value string + type SearchRequest struct + Filter *SearchFilter + PageSize int + Query string + Sort *SearchSort + StartCursor string + type SearchResult struct + HasMore bool + NextCursor *string + Object ObjectType + Results []interface{} + type SearchSort struct + Direction string + Timestamp string + type SelectFilter struct + Contains *string + DoesNotContain *string + DoesNotEqual *string + Equals *string + IsEmpty *bool + IsNotEmpty *bool + type SelectOption struct + Color Color + ID string + Name string + type SelectSchemaConfig struct + Options []SelectOption + type Sort struct + Direction SortDirection + Property string + Timestamp SortTimestamp + type SortDirection string + const SortDirectionAscending + const SortDirectionDescending + type SortTimestamp string + const SortTimestampCreatedTime + const SortTimestampLastEditedTime + type StatusGroup struct + Color Color + ID string + Name string + OptionIDs []string + type StatusSchemaConfig struct + Groups []StatusGroup + Options []SelectOption + type SyncedBlockData struct + Children []Block + SyncedFrom *SyncedFrom + type SyncedFrom struct + BlockID string + type TableBlock struct + Children []Block + HasColumnHeader bool + HasRowHeader bool + TableWidth int + type TableOfContentsBlock struct + Color Color + type TableRowBlock struct + Cells []RichTextArray + type TemplateBlock struct + Children []Block + RichText RichTextArray + type TextBlock struct + Children []Block + Color Color + RichText RichTextArray + type TextContent struct + Content string + Link *Link + type TextFilter struct + Contains *string + DoesNotContain *string + DoesNotEqual *string + EndsWith *string + Equals *string + IsEmpty *bool + IsNotEmpty *bool + StartsWith *string + type ToDoBlock struct + Checked bool + Children []Block + Color Color + RichText RichTextArray + type UniqueIDValue struct + Number int + Prefix *string + type User struct + AvatarURL *string + Bot *Bot + ID string + Name string + Object ObjectType + Person *Person + Type string + type UserList struct + HasMore bool + NextCursor *string + Object ObjectType + Results []User + type UserRef struct + ID string + Object string