Lark Base icon

Lark Base

Interact with LarkBase API

Table → List Tables

AI-generated

Overview

This node interacts with the LarkBase API to list tables within a specified base. It is useful for retrieving a paginated list of tables from a LarkBase application, which can help users manage or display table data dynamically. For example, it can be used to fetch all tables in a project for further processing or display in an automation workflow.

Use Case Examples

  1. List all tables in a LarkBase base to display their names and IDs.
  2. Paginate through tables in a base to synchronize them with another system.

Properties

Name Meaning
Base ID The identifier of the LarkBase base from which to list tables.
Page Size The number of tables to return per page in the list operation.
Page Token A token to specify the page of results to retrieve, used for pagination.

Output

JSON

  • json
    • data - The list of tables returned by the LarkBase API, including table details.
    • page_token - The token for the next page of results, if more tables are available.

Dependencies

  • LarkBase API access with app ID and app secret credentials

Troubleshooting

  • Ensure valid LarkBase API credentials are provided; missing or invalid credentials will cause authentication errors.
  • Verify that the Base ID is correct and accessible with the provided credentials.
  • Handle pagination correctly by using the Page Token to retrieve subsequent pages if the result set is large.
  • Common error messages include 'No credentials returned!' if credentials are missing, and 'Get tenant_token failed' if the API token retrieval fails.

Links

Discussion