> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AnyDB

> AnyDB is a flexible collaborative database platform for organizing records, files, sharing, and automated workflows.

![AnyDB logo](https://mintcdn.com/composio-preview/qzegrvAapILigeDI/images/toolkits/any_db.svg?fit=max\&auto=format\&n=qzegrvAapILigeDI\&q=85\&s=38e55045ba9acb9d4d9cf851f84193f5)

* **Category:** databases
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 9
* **Triggers:** 0
* **Slug:** `ANY_DB`
* **Version:** 00000000\_00

## Tools

> [accordion] Copy Record
>
> **Slug:** `ANY_DB_COPY_RECORD`
>
> Duplicate an AnyDB record and its child-record subtree, optionally into another database or parent. attachments\_mode controls file attachments only.
>
> #### Input Parameters
>
> **team\_id** `string` *required*
>
> Team containing the source record.
>
> **record\_id** `string` *required*
>
> Source record ID.
>
> **database\_id** `string` *required*
>
> Source database ID.
>
> **attachments\_mode** `string ("noattachments" | "link" | "duplicate")`
>
> How file attachments are handled. This does not control child records: AnyDB also copies the source record's child subtree.
>
> **destination\_parent\_id** `string`
>
> Parent record or database root to which the copy will be attached.
>
> **destination\_database\_id** `string`
>
> Destination database; omit to copy within the source database.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Record
>
> **Slug:** `ANY_DB_CREATE_RECORD`
>
> Create a record in an AnyDB database, optionally attaching it to a parent and setting cell content.
>
> #### Input Parameters
>
> **name** `string` *required*
>
> Record name.
>
> **content** `object`
>
> Cell map keyed by position, such as A1.
>
> **team\_id** `string` *required*
>
> Team in which to create the record.
>
> **parent\_id** `string`
>
> Parent record or database root to attach the new record to.
>
> **database\_id** `string` *required*
>
> Database in which to create the record.
>
> **template\_id** `string`
>
> Template ID to use.
>
> **template\_name** `string`
>
> Template name to use when selecting a template by name.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Record Permanently
>
> **Slug:** `ANY_DB_DELETE_RECORD_PERMANENTLY`
>
> Permanently delete one AnyDB record. This operation is irreversible and requires explicit confirmation.
>
> #### Input Parameters
>
> **team\_id** `string` *required*
>
> Team containing the record.
>
> **record\_id** `string` *required*
>
> Record to delete permanently.
>
> **database\_id** `string` *required*
>
> Database containing the record.
>
> **confirm\_permanent\_delete** `boolean` *required*
>
> Must be true to confirm irreversible permanent deletion.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Record
>
> **Slug:** `ANY_DB_GET_RECORD`
>
> Fetch one AnyDB record by ID, including its metadata and cell content.
>
> #### Input Parameters
>
> **team\_id** `string` *required*
>
> Team containing the record.
>
> **record\_id** `string` *required*
>
> Record ID to retrieve.
>
> **database\_id** `string` *required*
>
> Database containing the record.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Databases
>
> **Slug:** `ANY_DB_LIST_DATABASES`
>
> List databases in an AnyDB team and return root and recycle-bin IDs used by record workflows.
>
> #### Input Parameters
>
> **team\_id** `string` *required*
>
> Team ID from the team\_id field returned by List Teams.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Records
>
> **Slug:** `ANY_DB_LIST_RECORDS`
>
> Return one page of record summaries from a database, optionally constrained by parent or template.
>
> #### Input Parameters
>
> **cursor** `string`
>
> Continuation cursor returned by a previous call; omit for the first page.
>
> **team\_id** `string` *required*
>
> Team containing the database.
>
> **page\_size** `integer`
>
> Records to request in this page. AnyDB defaults to 50.
>
> **parent\_id** `string`
>
> Only return records attached to this parent. A database root ID is a common value.
>
> **database\_id** `string` *required*
>
> Database to list.
>
> **template\_id** `string`
>
> Only return records created from this template ID.
>
> **template\_name** `string`
>
> Only return records with this template name.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Teams
>
> **Slug:** `ANY_DB_LIST_TEAMS`
>
> List AnyDB teams available to the connected account, including the IDs needed to discover databases.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Records
>
> **Slug:** `ANY_DB_SEARCH_RECORDS`
>
> Search a database for records matching a keyword, with caller-controlled offset and limit.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum matching records to return; AnyDB documents no upper bound.
>
> **query** `string` *required*
>
> Keyword or text to search for.
>
> **start** `integer`
>
> Zero-based result offset.
>
> **team\_id** `string` *required*
>
> Team containing the database.
>
> **parent\_id** `string`
>
> Restrict results to this parent record or database root.
>
> **database\_id** `string` *required*
>
> Database to search.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Record
>
> **Slug:** `ANY_DB_UPDATE_RECORD`
>
> Update an AnyDB record's name, lock state, parent, user/group assignees, or cell content.
>
> #### Input Parameters
>
> **name** `string`
>
> New record name.
>
> **locked** `boolean`
>
> Whether the record is locked.
>
> **content** `object`
>
> Replacement or updated cells keyed by position, such as A1. An empty object is sent when explicitly supplied.
>
> **team\_id** `string` *required*
>
> Team containing the record.
>
> **assignees** `object`
>
> Replacement AnyDB user and group assignments. Use empty users and groups lists to clear all assignments.
>
> **parent\_id** `string`
>
> New parent to which the record should be attached.
>
> **record\_id** `string` *required*
>
> Record to update.
>
> **database\_id** `string` *required*
>
> Database containing the record.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
