List Global Context Documents
GET /global-context/documents
List global context documents for the authenticated organization.
Each row carries metadata (id, display_name, file_type, category,
folder_path, status, priority, version, timestamps), plus wiki_category
(the group the Studio Wiki shows it under) and workflow (context,
intelligence or research). When include_content is True (the default)
the document body is included at content (sourced from
meta_data.content) so callers can read what a document actually says;
pass include_content=false to omit the body for a cheaper listing. The
default stays True for backwards compatibility — the MCP
g8_gtm_get_global_context tool, the JS SDK studio.globalContext
client, and the g8://global-context resource surfaces have always relied
on content being present.
include_intelligence / include_research add the Wiki’s other two
buckets so a caller can see every Wiki document in one call; limit
applies to each bucket.
Authorizations
Parameters
Query Parameters
Filter by context category: brand, audience, messaging, market, offer, targeting, data (case-insensitive). targeting matches the Studio Wiki’s Targeting group (TAM / ICP / Persona Research). An unknown category that matches no document returns 422 listing the valid categories.
Include each document’s body text at content (read from meta_data.content). Default True preserves historical behavior (this endpoint has always returned content); pass false for a lighter metadata-only listing.
Include each document’s body text at content (read from meta_data.content). Default True preserves historical behavior (this endpoint has always returned content); pass false for a lighter metadata-only listing.
Also list the Wiki’s Intelligence documents (website scrape, competitor discovery, organic keywords, brand news, …) with workflow=‘intelligence’ and category ‘data’. Metadata only: read a body with GET /intelligence-data ?data_type=<file_type>&include_content=true. Default false (historical shape).
Also list the Wiki’s Intelligence documents (website scrape, competitor discovery, organic keywords, brand news, …) with workflow=‘intelligence’ and category ‘data’. Metadata only: read a body with GET /intelligence-data ?data_type=<file_type>&include_content=true. Default false (historical shape).
Also list the Wiki’s Research reports with workflow=‘research’ and category ‘data’; content carries the report markdown when include_content is true. Default false (historical shape).
Also list the Wiki’s Research reports with workflow=‘research’ and category ‘data’; content carries the report markdown when include_content is true. Default false (historical shape).
Header Parameters
Responses
200
Successful Response
object
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error