JSData & Media Start a project

← All connectors

Schema · Entity relationship diagram

Dash Social tables and relationships

Post performance across Instagram (feed, Reels, Stories, ads), TikTok, Facebook, Pinterest, YouTube, X, LinkedIn, Threads and Snapchat, refreshed daily with day-by-day metric snapshots, plus daily follower and account metrics per channel and your Dash Social campaigns. Formerly Dash Hudson.

Live5 tables · 5 relationships
ConnectPaste an API key
Default schemadash_social
Source API docsdeveloper.dashsocial.com
DestinationsAmazon Redshift, Google BigQuery, Snowflake, PostgreSQL, Amazon S3
  • media holds the current state of every post (one row per brand_media_id, all channels). The shared metric columns (likes, comments, views, reach...) are mapped from each platform's own fields; metrics keeps every metric Dash Social reports for the post as JSON.
  • media_metrics_daily snapshots each post's cumulative metrics on every sync day (posts from the last 90 days are refreshed daily), so you can see how engagement grows after posting.
  • channel_metrics_daily is long format: one row per brand, channel, metric and day (followers, net new followers, profile views, accounts reached...). Filter to one metric before summing; TOTAL_FOLLOWERS is a daily balance, not an amount to add up.
  • media.campaign_ids is a JSON list of the Dash Social campaign ids a post belongs to (see campaigns).
media_metrics_daily.brand_media_id → media.brand_media_idmedia.brand_id → brands.idmedia_metrics_daily.brand_id → brands.idchannel_metrics_daily.brand_id → brands.idcampaigns.brand_id → brands.idmedia_metrics_daily — One snapshot of each post's cumulative metrics per sync day (posts inside the trailing refresh window), for day-over-day growth.media_metrics_daily18snapshot_key VARCHAR(40) · primary keysnapshot_keyvarcharbrand_media_id BIGINT · → media.brand_media_idbrand_media_idbigintbrand_id BIGINT · → brands.idbrand_idbigintrefresh_date DATErefresh_datedatesource VARCHAR(40)sourcevarcharsource_created_at TIMESTAMPsource_created_attimestamplikes BIGINTlikesbigintcomments BIGINTcommentsbigintshares BIGINTsharesbigintsaves BIGINTsavesbigintviews BIGINTviewsbigintreach BIGINTreachbigintimpressions BIGINTimpressionsbigintclicks BIGINTclicksbigintengagements BIGINTengagementsbigintengagement_rate DECIMAL(18,6)engagement_ratedecimalemv DECIMAL(18,4)emvdecimal_jsdata_synced TIMESTAMP_jsdata_syncedtimestampchannel_metrics_daily — Account-level daily metrics per channel (followers, profile views, reach...), long format, from the Dashboard Reports API (GET /reports/data, GRAPH, DAILY).channel_metrics_daily8row_key VARCHAR(160) · primary keyrow_keyvarcharbrand_id BIGINT · → brands.idbrand_idbigintchannel VARCHAR(40)channelvarcharmetric VARCHAR(80)metricvarcharmetric_date DATEmetric_datedatevalue DECIMAL(28,8)valuedecimalrefresh_date DATErefresh_datedate_jsdata_synced TIMESTAMP_jsdata_syncedtimestampbrands — Brands the API key can read (GET auth.dashsocial.com/api/self).brands11id BIGINT · primary keyidbigintname VARCHAR(255)namevarcharlabel VARCHAR(255)labelvarcharorganization_id BIGINTorganization_idbigintorganization_name VARCHAR(255)organization_namevarcharis_active BOOLEANis_activeboolavatar_url VARCHAR(2500)avatar_urlvarcharplan_type VARCHAR(100)plan_typevarcharcreated_at TIMESTAMPcreated_attimestampupdated_at TIMESTAMPupdated_attimestamp_jsdata_synced TIMESTAMP_jsdata_syncedtimestampmedia — Current state of every post across channels (PUT library-backend /brands/{id}/media/v2). Cross-channel metric columns are mapped from each platform's own fields; the full platform object (every metricmedia42brand_media_id BIGINT · primary keybrand_media_idbigintbrand_id BIGINT · → brands.idbrand_idbigintmedia_id BIGINTmedia_idbigintbrand_media_type VARCHAR(40)brand_media_typevarcharsource VARCHAR(40)sourcevarcharsource_type VARCHAR(40)source_typevarchartype VARCHAR(40)typevarcharprimary_media_type VARCHAR(40)primary_media_typevarcharpost_type VARCHAR(40)post_typevarcharsource_id VARCHAR(255)source_idvarcharsource_account_id VARCHAR(255)source_account_idvarcharsource_created_at TIMESTAMPsource_created_attimestampcreated_at TIMESTAMPcreated_attimestampupdated_at TIMESTAMPupdated_attimestampbrand_media_status VARCHAR(40)brand_media_statusvarcharmedia_group BIGINTmedia_groupbigintcaption VARCHAR(8000)captionvarcharurl VARCHAR(2500)urlvarcharthumbnail_url VARCHAR(2500)thumbnail_urlvarcharcreator_handle VARCHAR(255)creator_handlevarcharlikes BIGINTlikesbigintcomments BIGINTcommentsbigintshares BIGINTsharesbigintsaves BIGINTsavesbigintviews BIGINTviewsbigintreach BIGINTreachbigintimpressions BIGINTimpressionsbigintclicks BIGINTclicksbigintengagements BIGINTengagementsbigintengagement_rate DECIMAL(18,6)engagement_ratedecimaleffectiveness DECIMAL(18,6)effectivenessdecimalemv DECIMAL(18,4)emvdecimalduration_seconds DECIMAL(12,3)duration_secondsdecimalpredicted_engagement DECIMAL(18,6)predicted_engagementdecimalcaption_sentiment VARCHAR(16)caption_sentimentvarcharcomment_sentiment VARCHAR(16)comment_sentimentvarcharlikeshop_clicks BIGINTlikeshop_clicksbigintcontent_tags VARCHAR(4000)content_tagsvarcharcampaign_ids VARCHAR(2000)campaign_idsvarcharmetrics VARCHAR(65535)metricsvarcharrefresh_date DATErefresh_datedate_jsdata_synced TIMESTAMP_jsdata_syncedtimestampcampaigns — Dash Social campaigns (GET library-backend /brands/{id}/campaigns) with Dash's own roll-ups.campaigns23id BIGINT · primary keyidbigintbrand_id BIGINT · → brands.idbrand_idbigintname VARCHAR(1000)namevarcharstart_date TIMESTAMPstart_datetimestampend_date TIMESTAMPend_datetimestampcreated_at TIMESTAMPcreated_attimestampupdated_at TIMESTAMPupdated_attimestampnumber_of_media INTEGERnumber_of_mediaintearliest_media_published_date TIMESTAMPearliest_media_published_datetimestamplatest_media_published_date TIMESTAMPlatest_media_published_datetimestampincluded_media_sources VARCHAR(2000)included_media_sourcesvarcharincluded_ugc_sources VARCHAR(2000)included_ugc_sourcesvarcharhas_ugc BOOLEANhas_ugcboolhas_relationships BOOLEANhas_relationshipsbooltotal_engagements BIGINTtotal_engagementsbiginttotal_impressions BIGINTtotal_impressionsbiginttotal_video_views BIGINTtotal_video_viewsbiginttotal_clicks BIGINTtotal_clicksbiginttotal_emv DECIMAL(18,4)total_emvdecimalavg_engagements DECIMAL(18,4)avg_engagementsdecimalavg_engagement_rate DECIMAL(18,6)avg_engagement_ratedecimalavg_emv DECIMAL(18,4)avg_emvdecimal_jsdata_synced TIMESTAMP_jsdata_syncedtimestamp
Primary keyForeign keyReferencesJoins on (not a key)

Drag to pan, scroll or pinch to zoom, click a table to see what it joins to.

Table reference

5 tables · click a table for its columns
media42 columns · Postsshow in diagram

Current state of every post across channels (PUT library-backend /brands/{id}/media/v2). Cross-channel metric columns are mapped from each platform's own fields; the full platform object (every metric Dash reports for that post) is in `metrics`.

Primary key: brand_media_id

ColumnTypeKeyDescription
brand_media_idPrimary key.bigintPK Primary key.
media_idbigint
brand_idReferences brands.id.bigintFKReferences brands.id.
brand_media_typevarchar(40)
sourcevarchar(40)
source_typevarchar(40)
typevarchar(40)
primary_media_typevarchar(40)
post_typevarchar(40)
source_idvarchar(255)
source_account_idvarchar(255)
source_created_attimestamp
created_attimestamp
updated_attimestamp
brand_media_statusvarchar(40)
media_groupbigint
captionvarchar(8000)
urlvarchar(2500)
thumbnail_urlvarchar(2500)
creator_handlevarchar(255)
likesbigint
commentsbigint
sharesbigint
savesbigint
viewsbigint
reachbigint
impressionsbigint
clicksbigint
engagementsbigint
engagement_ratedecimal(18,6)
effectivenessdecimal(18,6)
emvdecimal(18,4)
duration_secondsdecimal(12,3)
predicted_engagementdecimal(18,6)
caption_sentimentvarchar(16)
comment_sentimentvarchar(16)
likeshop_clicksbigint
content_tagsvarchar(4000)
campaign_idsvarchar(2000)
metricsvarchar(65535)
refresh_datedate
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
media_metrics_daily18 columns · Postsshow in diagram

One snapshot of each post's cumulative metrics per sync day (posts inside the trailing refresh window), for day-over-day growth.

Primary key: snapshot_key

ColumnTypeKeyDescription
snapshot_keyPrimary key.varchar(40)PK Primary key.
brand_media_idReferences media.brand_media_id.bigintFKReferences media.brand_media_id.
brand_idReferences brands.id.bigintFKReferences brands.id.
refresh_datedate
sourcevarchar(40)
source_created_attimestamp
likesbigint
commentsbigint
sharesbigint
savesbigint
viewsbigint
reachbigint
impressionsbigint
clicksbigint
engagementsbigint
engagement_ratedecimal(18,6)
emvdecimal(18,4)
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
brands11 columns · Accountsshow in diagram

Brands the API key can read (GET auth.dashsocial.com/api/self).

Primary key: id

ColumnTypeKeyDescription
idPrimary key.bigintPK Primary key.
namevarchar(255)
labelvarchar(255)
organization_idbigint
organization_namevarchar(255)
is_activeboolean
avatar_urlvarchar(2500)
plan_typevarchar(100)
created_attimestamp
updated_attimestamp
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
channel_metrics_daily8 columns · Accountsshow in diagram

Account-level daily metrics per channel (followers, profile views, reach...), long format, from the Dashboard Reports API (GET /reports/data, GRAPH, DAILY).

Primary key: row_key

ColumnTypeKeyDescription
row_keyPrimary key.varchar(160)PK Primary key.
brand_idReferences brands.id.bigintFKReferences brands.id.
channelvarchar(40)
metricvarchar(80)
metric_datedate
valuedecimal(28,8)
refresh_datedate
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
campaigns23 columns · Campaignsshow in diagram

Dash Social campaigns (GET library-backend /brands/{id}/campaigns) with Dash's own roll-ups.

Primary key: id

ColumnTypeKeyDescription
idPrimary key.bigintPK Primary key.
brand_idReferences brands.id.bigintFKReferences brands.id.
namevarchar(1000)
start_datetimestamp
end_datetimestamp
created_attimestamp
updated_attimestamp
number_of_mediainteger
earliest_media_published_datetimestamp
latest_media_published_datetimestamp
included_media_sourcesvarchar(2000)
included_ugc_sourcesvarchar(2000)
has_ugcboolean
has_relationshipsboolean
total_engagementsbigint
total_impressionsbigint
total_video_viewsbigint
total_clicksbigint
total_emvdecimal(18,4)
avg_engagementsdecimal(18,4)
avg_engagement_ratedecimal(18,6)
avg_emvdecimal(18,4)
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.

Connect Dash Social All connectors