---
title: "Feed"
description: "Read the authorized canonical Feed with source, company, category and cursor filters."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sureshake.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Feed

Use `GET /v2/feed` for new Feed integrations. It returns the same authorized canonical projection used by Sureshake's web and mobile Feed.

Do not combine it with raw event streams or a separate activity list. A canonical event can qualify for more than one source, and the API returns it once with all of its qualifying sources and viewer relevance.

## Authenticate

Use a read API key belonging to the person whose Feed you want to read:

```sh
export SURESHAKE_API_URL="https://api.sureshake.com"
export SURESHAKE_API_KEY="sk_paste_your_key_here"

curl -sS --fail-with-body --get \
  "$SURESHAKE_API_URL/v2/feed" \
  -H "X-API-Key: $SURESHAKE_API_KEY" \
  --data-urlencode "limit=20" \
  --data-urlencode "sources=company,activity" \
  --data-urlencode "companyScope=following"
```

The key does not bypass Feed authorization. The result reflects its owner's current follows, ownership, team and workspace relationships. An event that is public is not necessarily relevant to every viewer.

## Filters

| Parameter      | Values                                                                                                                             | Default            |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `limit`        | `1` to `50`                                                                                                                        | `20`               |
| `cursor`       | The previous page's opaque `page.nextCursor`                                                                                       | First page         |
| `sources`      | Comma-separated `company`, `activity`, or both                                                                                     | `company,activity` |
| `companyScope` | `following` or `all`. This narrows company events; it does not remove addressed activity                                           | `all`              |
| `entityId`     | An entity UUID. Returns only authorized events whose subjects include that entity                                                  | All entities       |
| `types`        | Comma-separated `funding`, `company_news`, `reports_filings`, `watchlists_follows`, `collections`, `profile_career`, and/or `tags` | All eligible types |

Do not translate a filter into client-side merging. Send the complete filter set on every page and preserve it while following the cursor.

## Response outcomes

A successful HTTP response has one of three `status` values:

- `ok`: every requested projection was available. `data` can legitimately be empty.
- `degraded`: at least one projection was unavailable. `data` contains only the authorized cards that were available, and `unavailable` identifies the missing projection and whether it is retryable.
- `failed`: no requested projection was available. `data` is empty, `page.hasMore` is `false`, and `unavailable` explains the failures.

Do not turn `degraded` or `failed` into an empty-success state.

```json
{
  "status": "degraded",
  "data": [
    {
      "id": "8e9ced6a-55e9-4d27-af24-78d55f48ddbe",
      "kind": "company.funding_round_published",
      "category": "funding",
      "qualifyingSources": ["company"],
      "eventAt": "2026-11-12T15:30:00.000Z",
      "expiresAt": "2026-12-12T15:30:00.000Z",
      "lifecycleState": "published",
      "subjects": [
        {
          "subjectType": "entity",
          "subjectId": "20f96e86-d9fa-49b7-8759-f0fc6fc05ea9",
          "role": "subject"
        }
      ],
      "destination": {
        "kind": "resource",
        "resourceType": "entity",
        "resourceId": "20f96e86-d9fa-49b7-8759-f0fc6fc05ea9"
      },
      "presentation": {
        "key": "company.funding",
        "version": 1,
        "data": { "subjectName": "Example Company" }
      },
      "viewerRelevance": {
        "reasons": ["followed_subject"],
        "subjectIds": ["20f96e86-d9fa-49b7-8759-f0fc6fc05ea9"]
      }
    }
  ],
  "page": { "nextCursor": null, "hasMore": false },
  "unavailable": [
    { "projection": "activity", "code": "unavailable", "retryable": true }
  ]
}
```

Render only `presentation`; do not infer a card from producer payloads or the event `kind`. Unknown presentation versions should fail closed rather than produce a guessed card.

## Pagination

Cards are ordered by immutable `(eventAt, id)` chronology. Follow `page.nextCursor` while `page.hasMore` is `true`:

```sh
NEXT_CURSOR=""
while :; do
  PAGE=$(curl -sS --fail-with-body --get \
    "$SURESHAKE_API_URL/v2/feed" \
    -H "X-API-Key: $SURESHAKE_API_KEY" \
    --data-urlencode "limit=50" \
    --data-urlencode "sources=company,activity" \
    --data-urlencode "companyScope=following" \
    ${NEXT_CURSOR:+--data-urlencode "cursor=$NEXT_CURSOR"})

  STATUS=$(jq -r '.status' <<<"$PAGE")
  if [ "$STATUS" != "ok" ]; then
    jq -c '.unavailable[]' <<<"$PAGE" >&2
    # Do not emit cards or advance the cursor. Retry this same page after the
    # unavailable projection recovers; exit 1 for total failure, 2 for degraded.
    [ "$STATUS" = "failed" ] && exit 1
    exit 2
  fi

  jq -c '.data[]' <<<"$PAGE"
  [ "$(jq -r '.page.hasMore' <<<"$PAGE")" = "true" ] || break
  NEXT_CURSOR=$(jq -er '.page.nextCursor' <<<"$PAGE")
done
```

The strict synchronization example stops on `degraded` before consuming the available subset, because advancing would make the missing projection's events unrecoverable in that run. An interactive UI can display the subset, but it must keep the degraded warning visible and refresh from the first page when the source recovers.

Treat the cursor as opaque. A malformed or mismatched cursor returns `400`; do not restart silently and report the result as the requested page. Deduplicate accumulated cards by `id` when retrying or refreshing pages.

## Freshness, lifecycle and destinations

The Feed lists full history, newest first by `eventAt`. `expiresAt` marks how long an event counts as fresh; an expired event stays in the Feed, and clients can use `expiresAt` to style or rank it. Corrections keep the event identity and update its lifecycle/revision projection; retracted events are not listed. Company updates are listed while their company is published.

A destination is a navigation hint, not an authorization grant. When `destination.kind` is `resource`, open the resource through its normal authorized API or application route and handle `403`, `404` or `410`. When it is `none`, do not make the card clickable.

Realtime Feed messages, where available in Sureshake clients, contain only `{ "kind": "refresh", "version": 1 }`. They are a signal to fetch this endpoint again, never card data to trust or display.

## MCP clients

The authenticated [Sureshake MCP server](/developers/mcp/) at `https://mcp.sureshake.com` is currently report-only. It does not expose a second Feed model. An agent that needs Feed data should call this canonical REST route with an authorized API key.

The public developer-documentation MCP server at `https://docs.sureshake.com/mcp` can return this guide as Markdown. It documents the API; it does not read a user's Feed.

Source: https://docs.sureshake.com/developers/feed/index.mdx
