# Find empty tables and unused columns in Airtable

**Use case:** 

A base collects tables and columns faster than anyone removes them. This task runs the value checks over two bundled sample bases, reading a sample of records from each table: tables holding no records at all, columns empty in every sampled record, links into a table that can never resolve, text columns whose every value is a date or an email address, and records sharing a primary-field value.

## Input

```json
{
  "baseIds": [],
  "rulePacks": [
    "values"
  ],
  "minSeverity": "low",
  "sampleRecords": false,
  "sampleSize": 100,
  "maxTablesSampled": 200,
  "includeHtmlReport": true
}
```

## Output

```json
{
  "severity": {
    "label": "Severity",
    "format": "text"
  },
  "rule": {
    "label": "Rule",
    "format": "text"
  },
  "rulePack": {
    "label": "Pack",
    "format": "text"
  },
  "baseName": {
    "label": "Base",
    "format": "text"
  },
  "tableName": {
    "label": "Table",
    "format": "text"
  },
  "fieldName": {
    "label": "Field",
    "format": "text"
  },
  "fieldType": {
    "label": "Field type",
    "format": "text"
  },
  "message": {
    "label": "Finding",
    "format": "text"
  },
  "evidence": {
    "label": "Evidence",
    "format": "text"
  },
  "remediation": {
    "label": "What to do",
    "format": "text"
  },
  "confidence": {
    "label": "Confidence",
    "format": "text"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "collectedAt": {
    "label": "Audited",
    "format": "date"
  },
  "baseId": {
    "label": "Base ID",
    "format": "text"
  },
  "tableId": {
    "label": "Table ID",
    "format": "text"
  },
  "fieldId": {
    "label": "Field ID",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Airtable Base Schema Auditor & Link Checker](https://apify.com/mediocre_interest/airtable-schema-auditor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mediocre_interest/airtable-schema-auditor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mediocre_interest/airtable-schema-auditor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
