POST
tavily_logs.py
from charter.packs import tavily
result = await tavily.logs.ainvoke({})
Body
| Field | Type | Description |
|---|---|---|
limit | integer | Maximum logs to return, most recent first. The server applies 10 when this is absent. ≥ 1; ≤ 10000 |
startDate | string | Inclusive start date (YYYY-MM-DD). |
endDate | string | Inclusive end date (YYYY-MM-DD). |
endpoints | LogEndpoint[] | Filter by endpoint. The server returns all endpoints when this is absent. |
projectId | string | Filter to a single project. |
filterByApiKey | boolean | When true, return only logs for the Authorization header key. When false, return all keys under the account or organization. |