GET /public/beta/documents/search

Find documents from a natural-language query. PandaDoc AI interprets the query and returns the matching documents.

PandaDoc offers two document search tools: this AI-powered search and the structured List Documents endpoint.

Document Search Tools Guide — click to expand

When to use AI Search (this endpoint)

When to use List Documents

Comparison

FeatureAI SearchList Documents
InputSingle natural-language querySearch query + optional structured filters
Date handlingUnderstands relative dates ("last week", "Q2 2026")Requires explicit ISO-8601 date range
Status filteringInterprets from query ("completed", "sent")Requires numeric status codes
Contact/owner searchResolves people by nameNot supported
PaginationReturns top 100 resultsSupports explicit page and page size (up to 100)
SuggestionsReturns follow-up suggestions for refinementNo suggestions
Best forConversational, exploratory searchPrecise, structured, repeatable queries

The response may return fewer items than the total matches. The search caps the returned list based on query complexity: count shows the number of items returned in results. When the query matches more documents than returned, use one of the returned suggestions as a stricter follow-up query to narrow the results.

🚧 Beta

This endpoint is currently in beta and may change without notice.

Servers

Query parameters

Name Type Required Description
q String Yes

Natural-language search query. Supports filtering by status, owner, dates, and folder. Also supports keyword content search across document titles and body text.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.