Lark icon

Lark

Consume Lark API

Actions118

云空间 → 搜索文档

AI-generated

Summary

Searches Lark cloud-drive files and returns matching file details. Enter a required search keyword and optionally narrow the search by file type, owner IDs, or chat group IDs; use offset and count to control the result page.

Inputs

  • Authentication — Choose Tenant Access Token or User Access Token authentication.
  • 搜索关键字 (required) — Keyword to search for.
  • 选项 — Optional filters and pagination: file types (bitable, doc, file, mindnote, slides, sheet), offset (default 0), result count (default 20, maximum 50), owner IDs, and chat group IDs. IDs are entered as JSON.

Output shape

A list of matching file records.

The operation returns records containing each file's name, token, and URL. Results are limited by count and offset.

Links

Discussion