Skip to navigation

Enable debug logging

Enables debug logging for the project for one hour, or for 24 hours on the Enterprise plan. Episodes ingested while debug logging is enabled have a debug log (see graph.episode.get_debug_logs). On the Flex, Flex Plus, and Enterprise plans, the operation also enables ingestion tracing (see graph.episode.list_ingestion_traces); ingestion_trace_enabled reports the result. A repeated call starts the duration again.

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Response

OK
duration_secondsintegerOptional
The number of seconds that debug logging stays enabled.
ingestion_trace_enabledbooleanOptional
Tells if ingestion tracing was also enabled. Ingestion tracing is available on the Flex, Flex Plus, and Enterprise plans.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error