# Sumidata — llms.txt Sumidata is a product-analytics and session-replay SDK for websites. An AI agent can install it and confirm data is flowing entirely through the Partner API, without ever opening the dashboard. ## Install with an AI agent (self-verifying) Full recipe: https://sumidata.io/docs/install-with-ai-agent 1. Add the loader to on every page: 2. Deploy the change. 3. Get a Partner API token (starts with "sumi_") from Settings -> API tokens. 4. Poll until "status":"healthy": curl -H "Authorization: Bearer " https://api.sumidata.io/api/partner/health 5. Confirm events land: curl -H "Authorization: Bearer " "https://api.sumidata.io/api/partner/events?perPage=5" 6. Validate event metadata is clean: curl -H "Authorization: Bearer " https://api.sumidata.io/api/partner/schema/validate ## Partner API (Authorization: Bearer sumi_) - GET /api/partner/health integration health (healthy | warning | error) - GET /api/partner/events recent events (q-DSL filters) - GET /api/partner/logs recent logs (q-DSL filters) - GET /api/partner/sessions recent sessions; filter AI agents with ?q[visitorKind__in]=ai_agent_declared,ai_agent_suspected - GET /api/partner/schema/validate validate recent events against the metadata allowlist Docs: https://sumidata.io/docs/partner-api