List board

Aggregates the caller org's marketing content across every publishable content type into ONE queue board — the cross-type read the framework's per-DocType list cannot give.

GET /v1/content/board

Addresshttps://api.hanzo.ai/v1/content/board
MethodGET
Operationget_content_board
AuthAuthorization: Bearer $HANZO_API_KEY

Aggregates the caller org's marketing content across every publishable content type into ONE queue board — the cross-type read the framework's per-DocType list cannot give. It never fails on a partial outage: a content type the org has not installed, or one whose search errors, is skipped and logged rather than failing the whole board.

Request

4 fields.

FieldInTypeRequiredDescription
statusquerystring—Status keeps only items in one lifecycle state (draft, in_review, approved, queued, published, archived).
projectquerystring—Project keeps only items in one brand/site sub-scope.
doctypequerystring—DocType keeps only one content type; omitted, the board spans every publishable type.
limitqueryinteger—Limit caps the rows returned, clamped to 1000.

Response

StatusBodyMeaning
200content.boardPageok
defaultproblem-detailsrefused

200 body — 8 fields.

FieldInTypeAlwaysDescription
countbodyinteger (int64)—Count is the number of rows in THIS page — never the org's total.
databodycontent.boardItem[]—Data is the matching items, most recently updated first.
data[].doctypebodystring—DocType is which content type the row came from: Campaign, SocialPost or Asset.
data[].namebodystring—Name is the document within that type.
data[].projectbodystring—Project is the brand/site sub-scope within the org.
data[].statusbodystring—Status is the lifecycle state: draft, in_review, approved, queued, published or archived.
data[].titlebodystring—Title is the item's headline, read from its type's own title field.
data[].updatedAtbodyinteger (int64)—UpdatedAt is unix seconds of the document's last write, and the key the board sorts on, newest first.

Failure carries the platform error shape — see Errors.

Examples

hanzo content board
import { Configuration, ContentApi } from 'hanzoai';

const api = new ContentApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getContentBoard();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import ContentApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = ContentApi(client).get_content_board()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.ContentAPI.GetContentBoard(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, content_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = content_api::get_content_board(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.ContentApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new ContentApi(client).getContentBoard();
curl https://api.hanzo.ai/v1/content/board \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool content, op get_content_board — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "content",
         "arguments": {
           "op": "get_content_board",
           "input": {}
         }
       }
     }'

Content API · All Hanzo APIs · Interactive reference

Was this page useful?