SDK Reference
Feed Items
SDK reference for feed items operations
Overview
Create feed items with flexible content blocks for user notifications and action results
- Category:
internal - Auth Required: No
- Supported Modes: standard, delegated, service
Operations
createFeedItem
Create a feed item with flexible content blocks. Use this to show action results, notifications, or updates to users.
Arguments:
title(string, required): Main title of the feed item (shown prominently)subtitle(string, optional): Optional subtitle (shown below title in muted color)blocks(array, required): Array of content blocks to display (text, key_value, list, timestamp, user_mention, divider, image, progress)itemType(string, required): Type: informative (FYI), actionable (needs response), or erroractions(array, optional): Optional action buttons for the feed itemavatar(object, optional): Optional avatar to show (user profile, icon, or custom image)metadata(object, optional): Additional metadata (searchable, not displayed)
Returns:
AdapterOperationResult - Returns FLAT structure with: feedItemId, title, itemType, subType, status, graphId, createdAt, hasActions, blockCount. No nested objects.
Response Fields:
| Field | Type | Description |
|---|---|---|
feedItemId | string | Unique ID of the created feed item |
title | string | Title of the feed item |
itemType | ``'informative' | 'actionable' |
subType | string | Subtype of the feed item |
status | string | Status of the feed item (pending, completed) |
graphId | string | Graph ID where feed item was created |
createdAt | string | Creation timestamp (ISO 8601) |
hasActions | boolean | Whether feed item has action buttons |
blockCount | number | Number of content blocks |
Example: