Skip to content

Document search URL size limit, long-post matching, and AAA delivery timing - #603

Merged
tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/docs-search-stream-webhook-limits
Dec 2, 2026
Merged

tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/docs-search-stream-webhook-limits

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

Three small clarifications for questions developers keep running into.

Search: request size (build-a-query.mdx, overview.mdx)

  • Search is GET-only, so the whole percent-encoded URL must stay under about 16 KB, on top of the 4,096-character query limit.
  • Explains why non-ASCII queries hit this early (UTF-8 percent-encoding: ~9 bytes per CJK character, ~12 per emoji) and that 414/431 mean the request is too large.
  • Workarounds: + for spaces, splitting long OR lists, requesting only the fields you use.

Search and Filtered Stream: long posts (build-a-query.mdx, build-a-rule.mdx)

  • Queries and rules match a Post's text (first ~280 characters of a long post). Full text comes back in note_tweet.text with tweet.fields=note_tweet, but isn't used for matching.

Account Activity API: delivery timing (account-activity/introduction.mdx)

  • New FAQ entry: delivery is decided once at Post creation, based on visibility and the author's account state then. Posts from accounts that are protected or temporarily restricted at creation aren't re-sent if the account later goes public; use Post lookup to fetch them.

Checks:

  • mint validate --no-build --disable unknown-component: passed
  • mint broken-links: no broken links in the touched files (the same 2 existing broken links elsewhere: x-api/posts/filtered-stream/migrate/overview.mdx, x-api/posts/lookup/migrate/overview.mdx)

…timing

Signed-off-by: Taylor Caldwell <tcaldwell@x.ai>
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
x-corp 🟢 Ready View Preview Dec 2, 2026, 1:48 AM

@tcaldwell-x
tcaldwell-x marked this pull request as ready for review December 2, 2026 02:33
@tcaldwell-x
tcaldwell-x merged commit 6dfa60d into main Dec 2, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
staging — e7063203 Deployed Dec 2, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant