model_fn- The model callable to wrap logging around.endpoint- The endpoint name to give to this local callable.tags- Tags for later filtering.timestamp- A timestamp (if not set, will be the time of sending).log_query_body- Whether or not to log the query body.log_response_body- Whether or not to log the response body.api_key- If specified, unify API key to be used. Defaults to the value in theUNIFY_KEYenvironment variable.
requests.HTTPError: If the API request fails.
