pixie_cloud_scan_report
Availability: Cloud candidate. Not deployed: no public host serves this operation yet. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.
Report scans for up to 20 codes of the consented workspace, chosen by sourceIndexes or by a saved collection (collectionId, at most 20 codes), over period day (last 24 hours), week (7 days), month (30 days) or total. This is the report the scans page and the collection report show. Each row gives status (available; unavailable, never a zero; or plan_lapsed, a code whose plan has ended, which returns no counts until a new plan), totalRedirects and estimatedHumanRedirects, countedBy (pixie.codes for its own records, Short.io for links it counts, or null), and, for codes counted by pixie.codes, uniqueVisitors (counted each UTC day and added up over the period), devices, countries and operatingSystems, each as name and count. pixie.codes counts a scan only while the link is held by its present holder. countryAttribution names the source of the countries and must be shown wherever they are. Each row also carries sourceHistoryStatus (imported; none; unavailable, including a host without the history table; plan_lapsed; or holder_only, a code the scans page answers only to its own account or address, which is not this connection's) and sourceHistory, null unless imported: a migrated code's past scans at its old provider as that provider counted them (provider, providerLabel, countedBy, from, to, interval, timezone, anomaliesLeftOut, total, countries and devices as name and scans, importedAt, and daily as date and scans when history is daily, the latest 400 days with scans at most, with dailyCut { kept, total, firstKeptDate } when older days were left out and null otherwise; the default summary leaves daily out). It covers its own from–to window whatever period is asked, is shown beside the counts above and never added to them, is read only while the present holder is the one at import, and is not part of the CSV. The response also carries observedTotal, availableCount, requestedCount, complete, metricNote and the same report as CSV text (csv). Counts are redirects, not verified physical scans or conversions. Individual scans, visitor codes, IP addresses and locations finer than a country are never returned. Codes with a Short.io link are read from Short.io, an outside request without the customer's credentials (effects.providerRequests counts them); a failed read, or one still running 20 seconds into the report, is unavailable. A code outside this workspace, or one that changes while the report runs, fails explicitly. Bound to the host's one environment, whose codes are the live codes it serves. No writes or spend.
- HTTP:
POST /api/agent/v1/scan-report - MCP tool:
pixie_cloud_scan_report - Operation version: 1
- Effect:
read - Scope:
analytics:read - External spend: none
Inputs
collectionId(string)environment(string, required)history(string)organizationId(integer)period(string, required)sourceIndexes(array)
The complete request schema is this operation's entry in cloud-capabilities.json in the current release. A host exposes only the families it enables; compare its authenticated catalog before calling.