Skip to main content
Deprecation Notice: Lens data ingestion has been discontinued as of December 2025. Only historical data is available, and no new data will be added.

Table description

This holds the publication content/metadata.

Table Schema

Column NameTypeDescription
publication_idvarcharUnique identifier of the publication (format: profileId-pubId)
metadata_snapshot_location_urlvarcharSnapshot storage URL for the metadata
metadata_jsonvarcharRaw JSON of the publication metadata
metadata_versionvarcharVersion of the metadata standard used
contentvarcharText content of the publication
languagevarcharLanguage code of the publication content
regionvarcharRegional locale of the publication
content_warningvarcharContent warning label if applicable (e.g. NSFW, SENSITIVE)
main_content_focusvarcharPrimary content type (e.g. TEXT_ONLY, IMAGE, VIDEO, ARTICLE)
tags_vectorvarcharSerialized array of tags associated with the publication
hide_from_feedbooleanWhether the publication should be hidden from feeds
is_encryptedbooleanWhether the publication content is gated/encrypted
appvarcharApplication used to create the publication
tx_hashvarbinaryTransaction hash (null for Momoka publications)
timestamptimestampTimestamp of the publication creation
created_attimestampTimestamp when the record was created in the database
content_vectorvarcharVector embedding of the content for similarity searches

Table Sample