Developer recipe

Search persisted Telegram history

Search only the workspace-owned, account-scoped messages already persisted by GramClaw.

Result
Scoped matches and explicit completeness metadata are returned.
Time
3 minutes
Key scopes
read

Search

Terminal
export GRAMCLAW_BASE_URL="https://gramclaw.com"
export GRAMCLAW_API_KEY="gc_live_replace_with_your_key"
curl -s "$GRAMCLAW_BASE_URL/api/v1/search" \
  -H "Authorization: Bearer $GRAMCLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"invoice","account_id":"replace_with_account_id","limit":20}'
  • Search does not query global Telegram data and does not claim completeness beyond persisted scoped history.
Chat on Telegram