Search
Search
Search across all data, invoices, documents, customers, transactions, and more.
get/search
Request
- Base URLhttps://api.midday.ai
- URLhttps://api.midday.ai/search
- Auth
- OAuth 2Authorization code: https://app.midday.ai/oauth/authorizeToken URL: https://api.midday.ai/oauth/token
- or HTTP bearer
Query parameters
searchTermstring
The term to search for across all data sources.
Example:Acme
languagestring
Language code to use for search relevance and results.
Example:en
limitnumber
Maximum number of results to return.
Example:30
itemsPerTableLimitnumber
Maximum number of results to return per table/entity.
Example:5
relevanceThresholdnumber nullable
Minimum relevance score threshold for including a result.
Example:0.01
Response
Search results.
Example response
[
{
"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a",
"type": "invoice",
"relevance": 0.92,
"created_at": "2024-06-01T00:00:00.000Z",
"data": {
"invoiceNumber": "INV-2024-001",
"customerName": "Acme Corporation",
"amount": 1500.75
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.