Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

354 B
Raw Blame
#!/bin/bash

# Check if document ID is provided
if [ $# -eq 0 ]; then
    echo "Usage: $0 <docId>"
    echo "Example: $0 doc123"
    exit 1
fi

DOC_ID=$1
BASE_URL="http://localhost:8096"
AUTH_KEY="${INTERNAL_API_SECRET_KEY:-local}"

curl -v \
  -H "x-internal-auth-key: $AUTH_KEY" \
  -H "Accept: application/json" \
  "$BASE_URL/markdown/$DOC_ID"

echo