Maintain Analytics Data
For: Analytics Writers and Publishers
Use Writer access for row-level data changes and Publisher access for structural changes. Both require an MCP token with lab.analytics.write.
Common tasks
Section titled “Common tasks”- Add new rows to an existing table.
- Update or replace existing data.
- Load another CSV batch.
- Review load status and imported row counts.
- Modify a supported table structure.
- Resolve failed or partially completed loads.
- Verify data after maintenance.
Load a CSV file
Section titled “Load a CSV file”- Confirm the Analytics Project, dataset, table, and expected columns.
- Decide whether the load should append rows or replace the existing table data.
- Attach the CSV file and ask the AI agent to inspect its headers and compatibility.
- Review the target and load mode before continuing.
- After the load, check the reported row count, columns, status, and audit ID.
- Run a read-only verification query against the updated table.
Example:
Load the attached CSV into
study_data.measurementsin the Respiratory Cohort Analytics Project. Use append mode. Confirm the target table and columns before loading, then report the load status, row count, and audit ID.
Change a table structure
Section titled “Change a table structure”Ask the AI agent to show the existing structure and proposed change before adding, renaming, or removing a column. A rename or data-type change can affect saved queries and views, so identify those dependencies first.