Read the library through MCP
These tools appear when the connection has the listed grants. Some arguments trigger additional checks at execution time. See permissions.
describe_library
Section titled “describe_library”Discover all supported history collections, scopes, pagination and exclusions. Only collections allowed by this connection are shown.
Discovery grants articles:read or recaps:read or stories:read or transcripts:read or settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false}Fetch any owned goodbrief:// URI returned by search or list tools. Article fetches list their private attachments; article_attachment URIs expose stored extracted text, not binary files. Library/history resources return complete allowlisted records as chunked JSON text (content_format=json): concatenate content chunks before JSON.parse. Follow content_next_offset until null. Transcript records require both article and transcript scopes. No arbitrary URL fetching.
Discovery grants articles:read or recaps:read or stories:read or transcripts:read or settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "uri": { "type": "string" }, "content_offset": { "type": "integer", "minimum": 0 }, "content_limit": { "type": "integer", "minimum": 1000, "maximum": 50000, "default": 50000 }, "include_transcript": { "type": "boolean", "default": false }, "transcript_offset": { "type": "integer", "minimum": 0 }, "transcript_limit": { "type": "integer", "minimum": 1000, "maximum": 20000, "default": 12000 } }, "required": [ "uri" ], "additionalProperties": false}get_recap_status
Section titled “get_recap_status”Read your own current recap execution status, scheduled slot, attempt count, retry time and uncertain provider usage. Queued is not completed. No checkpoint text, tokens, secrets or other users. Stopped runs require explicit user consent before generate_recap scheduled=true retryFailed=true.
Discovery grants recaps:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false}get_source_health
Section titled “get_source_health”Read current source reliability, silent newsletters/feeds, suspended work, cleanup deadlines, review settings and recent lifecycle history. No network probes or writes. 7/30/90-day statistics; recent history limits are explicit, not a complete audit export. Stories require stories:read, usage requires settings:read, recap counts require recaps:read. Use work_key/version for safe cleanup decisions. Silence is not proof a source is dead.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "days": { "type": "integer", "enum": [ 7, 30, 90 ], "default": 90 } }, "required": [], "additionalProperties": false}get_user_settings
Section titled “get_user_settings”Read saved non-secret personal AI models, prompts, recap schedules/delivery, audio preferences and personal budgets, plus canonical feature model/prompt defaults. settings:read required. No keys, credential presence, access grants, tokens or admin configuration. Supplied groups in update_user_settings replace that group except the documented per-key merges.
Discovery grants settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false}get_x_usage
Section titled “get_x_usage”Read your own X API request attempts and returned News/posts/users/media by source and operation. 7/30/90 UTC days, only since tracking was enabled. Counts include repeated reads; not invoice units or guaranteed billable costs. No provider payloads, tokens or other users.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "days": { "type": "integer", "enum": [ 7, 30, 90 ], "default": 30 }, "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" } }, "required": [], "additionalProperties": false}list_article_chat
Section titled “list_article_chat”Read an owned article’s saved user/assistant conversation, oldest first. Optional message_id fetches exact search evidence. Paginated; long messages also have text_next_offset. Saved assistant statements are not verified article facts.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "article_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "message_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "text_offset": { "type": "integer", "minimum": 0 }, "text_limit": { "type": "integer", "minimum": 1000, "maximum": 20000, "default": 12000 } }, "required": [ "article_id" ], "additionalProperties": false}list_article_notes
Section titled “list_article_notes”Read paginated user-authored notes on an owned article, oldest first. AI chat messages are excluded. Long notes can be continued with text_offset and text_next_offset.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "article_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "text_offset": { "type": "integer", "minimum": 0 }, "text_limit": { "type": "integer", "minimum": 1000, "maximum": 20000, "default": 12000 } }, "required": [ "article_id" ], "additionalProperties": false}list_articles
Section titled “list_articles”Enumerate exact owned article collections, including tag membership. Verify applied_filters contains your requested tag; stale clients may drop new arguments. Newest first, with total_count, has_more and next_cursor. Follow every page for a complete collection. Dates are publication or saving dates; historical tag-assignment dates are unavailable.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "tag_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "tag_name": { "type": "string", "maxLength": 120, "description": "Exact tag name, not a keyword or inferred topic. Unknown tags are errors." }, "tag_ids": { "type": "array", "items": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "maxItems": 30, "description": "Article must have EVERY supplied tag (AND)." }, "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "source_type": { "type": "string", "enum": [ "rss", "youtube", "podcast", "publication", "x", "crawler", "polymarket", "newsletter", "notes", "agent_news" ] }, "is_read": { "type": "boolean" }, "is_starred": { "type": "boolean" }, "date_field": { "type": "string", "enum": [ "published_at", "saved_at" ], "default": "published_at", "description": "Date used for filtering and newest-first ordering. saved_at means article ingestion, NOT tag assignment. Tag assignment timestamps are not recorded." }, "since": { "type": "string", "format": "date-time", "description": "Inclusive lower bound; ISO-8601 with timezone." }, "before": { "type": "string", "format": "date-time", "description": "Exclusive upper bound; ISO-8601 with timezone." } }, "required": [], "additionalProperties": false}list_feeds
Section titled “list_feeds”List owned sources with recap participation/focus, allowlisted processing settings and sync timestamps. Private credentials and arbitrary extraction config are never exposed.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." } }, "required": [], "additionalProperties": false}list_library_records
Section titled “list_library_records”Enumerate ALL retained records of one supported collection, newest first. No implicit date cutoff. Follow next_cursor until null. Lists are previews; fetch each returned URI for complete chunked JSON. Use describe_library for coverage. Parent filters are exact; unsupported filters fail.
Discovery grants articles:read or recaps:read or stories:read or transcripts:read or settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "collection": { "type": "string", "enum": [ "article_attachment", "article_note", "story_chat", "story_run", "story_configuration", "story_revision", "story_metric", "source_snapshot", "publication_issue", "newsletter", "transcript", "story_entry", "story_field", "entry_value", "entry_article", "story_automation", "cluster", "prompt_revision", "usage" ] }, "article_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "entry_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "query": { "type": "string", "maxLength": 500, "description": "Optional indexed full-text query on searchable collections; use describe_library to check support." }, "since": { "type": "string", "format": "date-time", "description": "Inclusive lower bound; ISO-8601 with timezone." }, "before": { "type": "string", "format": "date-time", "description": "Exclusive upper bound; ISO-8601 with timezone." } }, "required": [ "collection" ], "additionalProperties": false}list_recaps
Section titled “list_recaps”List paginated scheduled and episode recaps. Use fetch and content_next_offset for complete content.
Discovery grants recaps:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." } }, "required": [], "additionalProperties": false}list_recent_articles
Section titled “list_recent_articles”Compatibility alias for list_articles: exact filters, actual tags, newest-first ordering and pagination.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "tag_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "tag_name": { "type": "string", "maxLength": 120, "description": "Exact tag name, not a keyword or inferred topic. Unknown tags are errors." }, "tag_ids": { "type": "array", "items": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "maxItems": 30, "description": "Article must have EVERY supplied tag (AND)." }, "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "source_type": { "type": "string", "enum": [ "rss", "youtube", "podcast", "publication", "x", "crawler", "polymarket", "newsletter", "notes", "agent_news" ] }, "is_read": { "type": "boolean" }, "is_starred": { "type": "boolean" }, "date_field": { "type": "string", "enum": [ "published_at", "saved_at" ], "default": "published_at", "description": "Date used for filtering and newest-first ordering. saved_at means article ingestion, NOT tag assignment. Tag assignment timestamps are not recorded." }, "since": { "type": "string", "format": "date-time", "description": "Inclusive lower bound; ISO-8601 with timezone." }, "before": { "type": "string", "format": "date-time", "description": "Exclusive upper bound; ISO-8601 with timezone." } }, "required": [], "additionalProperties": false}list_stories
Section titled “list_stories”List paginated tracked stories; fetch for summaries and list_story_articles for complete linked collections.
Discovery grants stories:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." } }, "required": [], "additionalProperties": false}list_story_articles
Section titled “list_story_articles”List all articles linked to an owned story, newest first, with pagination and tags. Requires both story and article read access.
Discovery grants articles:read + stories:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" } }, "required": [ "story_id" ], "additionalProperties": false}list_story_metrics
Section titled “list_story_metrics”Read paginated chart values, evidence and eligibility warnings. Optional dataset_key filters one chart. Excluded preliminary observations remain in history but must not be plotted as finalized. Never aggregate different datasets or units.
Discovery grants stories:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "dataset_key": { "type": "string", "pattern": "^[a-z][a-z0-9_-]{0,63}$" } }, "required": [ "story_id" ], "additionalProperties": false}list_story_runs
Section titled “list_story_runs”Read owned story activity and safe result previews. Full reports and evidence are available as story_run records via list_library_records and fetch. Paginate using next_cursor; no date cutoff. Generated reports also have normal article links.
Discovery grants stories:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "cursor": { "type": "string" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100 } }, "required": [], "additionalProperties": false}list_tags
Section titled “list_tags”List owned tags with exact article counts. Paginated; use a returned tag ID with list_articles to retrieve membership.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." } }, "required": [], "additionalProperties": false}list_user_notifications
Section titled “list_user_notifications”Read your own processing and personal-key notifications, including delivery state, pending retries and recovery notices. Paginated over retained history; never returns administrator incidents, security records, raw errors or credentials. Requires settings:read; article/story/recap details also require their respective read scopes. Use get_source_health and apply_source_health_decisions for current status and permitted recovery actions; an old notification is not proof the problem still exists.
Discovery grants settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." } }, "required": [], "additionalProperties": false}preview_attachment
Section titled “preview_attachment”Read a bounded passage of an owned article attachment with highlighted search evidence, a revision-bound UTF-16 text offset, PDF page when available, and a normal-login GoodBrief preview link. query uses the same full-text matching as search. Continue with next_offset/previous_offset; use location.revision with offset to detect reindexing. Opt-in OCR text is included when available; check ocr_status and verify generated text against the original. This does not run OCR, download binaries or grant write access.
Discovery grants articles:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "attachment_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "query": { "type": "string", "maxLength": 500 }, "offset": { "type": "integer", "minimum": 0, "maximum": 1000000 }, "revision": { "type": "string", "pattern": "^[a-f0-9]{20}$" } }, "required": [ "attachment_id" ], "additionalProperties": false}search
Section titled “search”Search all retained owned content: articles, attached filenames/extracted document text, article chats/transcripts, notes, recaps, stories, story chat/history/metrics, snapshots, structured PDF issues, archived newsletters and structured entries. Attachment matches include attachment_uri and preview_url; use preview_attachment for exact passage/page locations. Indexed full-text matching, not arbitrary substring matching. No implicit date cutoff. Article filters restrict to article results. Tags mean actual membership. Credentials/admin data excluded.
Discovery grants articles:read or recaps:read or stories:read or transcripts:read or settings:read
Declared hints readOnlyHint, idempotentHint
Input schema
{ "type": "object", "properties": { "include_total": { "type": "boolean", "default": false, "description": "Optional exact full-collection count. Off by default so a first page never waits for a full count. total_count is null when not calculated; use has_more/next_cursor to enumerate completely." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 }, "cursor": { "type": "string", "maxLength": 4096, "description": "Opaque next_cursor from the previous response. Keep all other arguments unchanged." }, "tag_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "tag_name": { "type": "string", "maxLength": 120, "description": "Exact tag name, not a keyword or inferred topic. Unknown tags are errors." }, "tag_ids": { "type": "array", "items": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "maxItems": 30, "description": "Article must have EVERY supplied tag (AND)." }, "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "story_id": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "source_type": { "type": "string", "enum": [ "rss", "youtube", "podcast", "publication", "x", "crawler", "polymarket", "newsletter", "notes", "agent_news" ] }, "is_read": { "type": "boolean" }, "is_starred": { "type": "boolean" }, "date_field": { "type": "string", "enum": [ "published_at", "saved_at" ], "default": "published_at", "description": "Date used for filtering and newest-first ordering. saved_at means article ingestion, NOT tag assignment. Tag assignment timestamps are not recorded." }, "since": { "type": "string", "format": "date-time", "description": "Inclusive lower bound; ISO-8601 with timezone." }, "before": { "type": "string", "format": "date-time", "description": "Exclusive upper bound; ISO-8601 with timezone." }, "query": { "type": "string", "maxLength": 500 }, "types": { "type": "array", "items": { "type": "string", "enum": [ "article", "recap", "story", "article_note", "story_chat", "story_run", "story_configuration", "story_revision", "story_metric", "source_snapshot", "publication_issue", "newsletter", "story_entry", "story_field", "entry_value", "story_automation", "cluster", "prompt_revision" ] }, "minItems": 1, "maxItems": 18 }, "sort": { "type": "string", "enum": [ "relevance", "newest" ], "default": "newest", "description": "Newest first by default, like the app. Relevance explicitly ranks every match and can exceed the read budget for very broad terms." } }, "required": [ "query" ], "additionalProperties": false}