v1

latestOpenAPI 3.1.02026-07-1750229379.2 KB
Developer Logs

Get developer logs

Returns a list of developer log entries for REST API and MCP server requests made within the organization. This endpoint requires a plan access token with the org:developer_log_read scope.

post/v1/developer_logs

Request body

token_type'plan_access_token' | 'developer_token' | 'oauth_token'

Filter by the type of token used for authentication.

tokenstring

Filter by token value(s). Multiple values can be separated by commas.

token_namestring

Filter by token name prefix(es). Multiple values can be separated by commas.

user_emailstring

Filter by user email prefix(es). Multiple values can be separated by commas.

ip_addressstring

Filter by IP address prefix(es). Multiple values can be separated by commas.

event_source'rest_api' | 'mcp_server'

Filter by event source.

date_range'last_24h' | 'last_7d' | 'last_30d'

Filter by date range.

limitinteger

Maximum number of entries to return.

cursorstring

A cursor returned from a previous request, used for pagination.

Response

Response from the POST /v1/developer_logs endpoint.

status200 required

The response status code.

errorfalse required

For successful requests, this value is always false.