# HomeOverview

> The home dashboard for a window: revenue, orders, attribution leaders, posts, responses and review… Read access, workspace toolset, MCP tool get_home_overview.

The home dashboard for a window: revenue, orders, attribution leaders, posts, responses and review queue.

**Access:** [Read](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `from` | `Datetime!` | yes | ISO 8601 with a zone, e.g. `2026-01-01T00:00:00Z` | Greater than or equal to the specified value. |
| `fromDay` | `Date!` | yes | ISO 8601 date, `YYYY-MM-DD` | Greater than or equal to the specified value. |
| `monthStart` | `Datetime!` | yes | ISO 8601 with a zone, e.g. `2026-01-01T00:00:00Z` | Greater than or equal to the specified value. |
| `reviewFirst` | `Int!` | no | 32-bit integer. Default `4` |  |
| `roleRows` | `Int!` | no | 32-bit integer. Default `1000` |  |
| `since` | `Datetime!` | yes | ISO 8601 with a zone, e.g. `2026-01-01T00:00:00Z` | Greater than or equal to the specified value. |
| `sinceDay` | `Date!` | yes | ISO 8601 date, `YYYY-MM-DD` | Greater than or equal to the specified value. |
| `to` | `Datetime!` | yes | ISO 8601 with a zone, e.g. `2026-01-01T00:00:00Z` | Window end: the UTC day this instant falls in, inclusive. Defaults to now. |
| `toDay` | `Date!` | yes | ISO 8601 date, `YYYY-MM-DD` | Less than or equal to the specified value. |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"HomeOverview","variables":{"from":"2026-01-01T00:00:00Z","fromDay":"…","monthStart":"2026-01-01T00:00:00Z","since":"2026-01-01T00:00:00Z","sinceDay":"…","to":"2026-01-01T00:00:00Z","toDay":"…"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"da025bf24e6c7a5eb63e877d1874cab6aad5298df78f54ac468e83693e0761c4"}}}'
```

## Document

```graphql
query HomeOverview($from: Datetime!, $fromDay: Date!, $monthStart: Datetime!, $reviewFirst: Int! = 4, $roleRows: Int! = 1000, $since: Datetime!, $sinceDay: Date!, $to: Datetime!, $toDay: Date!) { __typename campaigns: allCampaigns { __typename totalCount } currencies: allCurrencies { __typename nodes { __typename code decimalPlaces decimalSeparator rowId symbol symbolPosition thousandsSeparator } } discounts: allDiscountCodes { __typename totalCount } failedPlacements: allDiscountPlacements(filter: {status: {equalTo: FAILED}}) { __typename totalCount } responses: allFormResponses(filter: {createdAt: {greaterThanOrEqualTo: $since}}) { __typename groupedAggregates(groupBy: [CREATED_AT_TRUNCATED_TO_DAY]) { __typename distinctCount { __typename rowId } keys } } lifetimeResponses: allFormResponses { __typename totalCount } forms: allForms { __typename totalCount } fxRates: allFxRates(first: 1, orderBy: [RATE_DATE_DESC]) { __typename nodes { __typename rateDate } } spikes: allMendJudgements( filter: {subjectKind: {equalTo: "spike"}, computedAt: {greaterThanOrEqualTo: $from}} orderBy: [COMPUTED_AT_DESC] first: 12 ) { __typename nodes { __typename action baseline causeTouchpointId confidence direction headline headlineLevel hourStart id mendStatus revenue rowId } } guarded: allMendJudgements( filter: {subjectKind: {equalTo: "conversion"}, supersededAt: {isNull: true}, mendStatus: {equalTo: "GUARDED_STATE"}, orderByOrderId: {placedDay: {greaterThanOrEqualTo: $sinceDay}}} ) { __typename totalCount } judgedThisMonth: allMendJudgements( filter: {computedAt: {greaterThanOrEqualTo: $monthStart}, subjectKind: {equalTo: "conversion"}, supersededAt: {isNull: true}, mendStatus: {equalTo: "JUDGED"}} ) { __typename totalCount } netReported: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}} ) { __typename aggregates { __typename sum { __typename reportedAttributedRevenue } } groupedAggregates(groupBy: [CONVERTED, NATIVE_CURRENCY, REPORTING_CURRENCY]) { __typename distinctCount { __typename orderId } keys sum { __typename nativeAttributedRevenue } } } explainedReported: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}, bestTier: {equalTo: "EVIDENCE"}} ) { __typename aggregates { __typename sum { __typename reportedAttributedRevenue } } groupedAggregates(groupBy: [CONVERTED, NATIVE_CURRENCY, REPORTING_CURRENCY]) { __typename distinctCount { __typename orderId } keys sum { __typename nativeAttributedRevenue } } } netDays: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $sinceDay}} ) { __typename groupedAggregates(groupBy: [PLACED_DAY]) { __typename keys sum { __typename reportedAttributedRevenue } } } explainedDays: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $sinceDay}, bestTier: {equalTo: "EVIDENCE"}} ) { __typename groupedAggregates(groupBy: [PLACED_DAY]) { __typename keys sum { __typename reportedAttributedRevenue } } } coincidence: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}, bestTier: {equalTo: "COINCIDENCE"}} ) { __typename aggregates { __typename sum { __typename reportedAttributedRevenue } } } unexplained: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}, bestTier: {equalTo: "UNEXPLAINED"}} ) { __typename aggregates { __typename sum { __typename reportedAttributedRevenue } } } possible: allOrderReporteds( filter: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}, bestTier: {equalTo: "POSSIBLE"}} ) { __typename aggregates { __typename sum { __typename reportedAttributedRevenue } } } orders: allOrders(filter: {placedDay: {greaterThanOrEqualTo: $sinceDay}}) { __typename groupedAggregates(groupBy: [PLACED_DAY]) { __typename distinctCount { __typename rowId } keys } } attributed: allOrders( filter: {placedDay: {greaterThanOrEqualTo: $sinceDay}, touchpointAttributionsByOrderIdExist: true} ) { __typename groupedAggregates(groupBy: [PLACED_DAY]) { __typename distinctCount { __typename rowId } keys } } explained: allOrders( filter: {placedDay: {greaterThanOrEqualTo: $sinceDay}, bestTier: {equalTo: "EVIDENCE"}} ) { __typename groupedAggregates(groupBy: [PLACED_DAY]) { __typename distinctCount { __typename rowId } keys } } lifetimeOrders: allOrders { __typename totalCount } posts: allPartnerPosts(filter: {publishedAt: {greaterThanOrEqualTo: $since}}) { __typename groupedAggregates(groupBy: [PUBLISHED_AT_TRUNCATED_TO_DAY]) { __typename distinctCount { __typename rowId } keys } } review: allPartnerPosts( filter: {validity: {in: [PENDING, NEEDS_REVIEW, CHANGE_REQUESTED]}} orderBy: [PUBLISHED_AT_DESC] first: $reviewFirst ) { __typename nodes { __typename id partnerByPartnerId { __typename profileImage: avatarUrl id name rowId username } postType publishedAt rowId title validity } totalCount } lifetimePosts: allPartnerPosts { __typename totalCount } suggestions: allPartnerSuggestions(filter: {dismissedAt: {isNull: true}}) { __typename totalCount } partners: allPartners(filter: {status: {notEqualTo: ARCHIVED}}) { __typename totalCount } failedSyncs: allSyncRuns( filter: {status: {equalTo: "FAILED"}, createdAt: {greaterThanOrEqualTo: $since}} ) { __typename totalCount } roleRows: allTouchpointAttributions( filter: {partnerPostExists: true, orderByOrderId: {placedDay: {greaterThanOrEqualTo: $fromDay, lessThanOrEqualTo: $toDay}, partnerByPartnerIdExists: true}} orderBy: [EVIDENCE_PCT_DESC] first: $roleRows ) { __typename nodes { __typename id partnerPost { __typename id partnerId } role } } leaders: attributionLeaders(from: $from, to: $to, first: 5) { __typename postsRankedBy reported { __typename convertedCount crossCurrencyCount reportingCurrency total unconverted { __typename amount count currency } } topPartners { __typename credited name orders partnerId profileImage unconvertedOrders username } topPosts { __typename credited orders partner { __typename name partnerId profileImage username } postId postType publishedAt title unconvertedOrders views } } returns: campaignReturns(from: $from, to: $to, first: 5) { __typename campaigns { __typename allocatedBudget attributedRevenue campaignId icon iconColor name revenue { __typename convertedCount crossCurrencyCount reportingCurrency total unconverted { __typename amount count currency } } roas roasAbsenceReason spend spendKnown spendReported { __typename convertedCount crossCurrencyCount reportingCurrency total unconverted { __typename amount count currency } } spendSource } } }
```

Source: https://developer.missin.co.uk/reference/workspace/home-overview
