Skip to main content
POST
Get usage logs for your API keys
Access to this API requires a paid plan: an active Paid Plan or PAYGO enabled (see Credits & Pricing). Free accounts receive a 403 error.
Logs never include the input or output of a request.

Authorizations

Authorization
string
header
required

Bearer authentication header in the form Bearer , where is your Tavily API key (e.g., Bearer tvly-YOUR_API_KEY).

Body

application/json
limit
integer
default:10

Maximum number of logs to return, most recent first.

Required range: 1 <= x <= 10000
Example:

100

start_date
string<date>

Inclusive start of the log window (YYYY-MM-DD).

Example:

"2026-08-01"

end_date
string<date>

Inclusive end of the log window (YYYY-MM-DD).

Example:

"2026-08-07"

endpoints
enum<string>[]

Only return logs for these endpoints. By default, logs for all endpoints are returned.

Available options:
search,
extract,
map,
crawl,
research
Example:
project_id
string

Only return logs for a single project.

filter_by_api_key
boolean
default:false

When true, return only logs for the API key provided in the Authorization header. When false (default), logs for all API keys under your account or organization are returned.

Response

Usage logs returned successfully

logs
object[]

Matching log entries, most recent first. Log entries never include the input or output of the original request.

count
integer

Number of log entries returned

Example:

100

response_time
number

Response time of this logs request in seconds

Example:

1.33

request_id
string

Unique identifier of this logs request

Example:

"d98eaaf1-cf41-4234-bf23-6f1780fbcf73"