Agent access
An AI agent or a script that has just added a record to Airtable can have AttachKeep copy that record's files now and get the permanent links back in the same answer, instead of waiting for Airtable's change notice. It uses the rule you set up in AttachKeep for that table, and the same bucket.
Discover the product
https://attachkeep.tenhatch.com/llms.txt: a plain-text summary written for language models.https://attachkeep.tenhatch.com/.well-known/product.json: a machine-readable description of the feature, its inputs and outputs, prices and endpoints.https://attachkeep.tenhatch.com/api/v1/openapi.json: the OpenAPI 3.1 document, generated from the same schemas the server validates with.
Call the API
Authenticate with an API key and send X-Usage-Source: agent so the account's usage meter attributes the copies to agents rather than to plain API calls. The header is advisory: it changes reporting, never the price.
POST /api/v1/keep
Authorization: Bearer attachkeep_live_…
X-Usage-Source: agent
Content-Type: application/json
{"baseId": "appXXXXXXXXXXXXXX", "tableId": "tblXXXXXXXXXXXXXX", "recordIds": ["recXXXXXXXXXXXXXX"]}
The answer lists each record's files with their permanent link, whether each was copied now or already kept, the text written to the link field (linkField, or null when it already held the right links) and any problem in plain words. Up to 10 records a call. Add ruleId (shown on the Bases and fields page) when the table has more than one rule.
MCP server
The product ships an MCP server that exposes the feature as one tool. It runs on the agent's side and calls the API with the agent's key:
{
"mcpServers": {
"attachkeep": {
"command": "npm",
"args": ["run", "mcp", "--prefix", "/path/to/attachkeep"],
"env": {
"PRODUCT_API_URL": "https://attachkeep.tenhatch.com",
"PRODUCT_API_KEY": "attachkeep_live_…"
}
}
}
}
The tool is named keep and its input schema matches the API: baseId, tableId, recordIds and the optional ruleId. Copies are metered exactly like API calls, with source agent.
Prices for agents
Each file copied counts once toward the plan's files for the month, together with the automatic copies; files already kept are free. When the month's files are used up, copies from an account with a card on file are billed at $0.01 a file. Free accounts get HTTP 402 afterwards, with a link to the pricing page.
Rules for agents
- Respect
Retry-Afteron 429 responses. - Do not create more API keys than you need; key management is deliberately session-only.
- Read
error.messageand each record'sproblem; they are written to be acted on.