For AI agents: a machine-readable documentation index for this API is available at /llms.txt. Every page is also available as Markdown: append ".md" to the URL or send an "Accept: text/markdown" request header.

Search the words inside the library's files; returns the best matching passages with file id, page and a snippet

Finds the passages of the workspace's files (PDF, Word, text, Markdown, subtitles) that best match the words of q. Each result has file_id, name, folder_id, page (PDFs) and a snippet; coverage says how many files exist, were searched, cannot be searched as text (pictures, audio, video, scans) or are still waiting to be read (call again to continue). Only files the token's person can open are searched. No model runs and no credits are used. It counts as a search request: 5 units of the organization's daily quota and the plan's search and AI limit a minute per key. Needs files:read.

Do this with AI

I want to search the words inside the library's files; returns the best matching passages with file id, page and a snippet. Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/searchfiles.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.

Paste this into Claude, Cursor, or any AI assistant and it will do it for you.