The log object represents an API request along with its associated metadata object sent to the Oneflow API within the past two weeks.

Log attributes

The table below contains the complete list of attributes available for a log.

AttributeTypeDescription
api_versionintegerThe Oneflow API version that the request is sent.
integration_keystringUnique integration key that is used for the integrations (hubspot, superoffice). The integration key is assigned based on the API token. For generic API tokens, it is custom.
request_bodyobjectThe request body of the API request is sent to Oneflow API.
request_durationintegerThe duration of the API request sent to Oneflow API.
request_endpointstringThe endpoint of the API request is sent to the Oneflow API. Only contain the endpoint and not the query parameters.
request_headersobjectRequest headers of the API request sent to Oneflow API.
request_idstringThe request ID assigned to the API request within Oneflow.
request_methodstringThe request method of the API request is sent to the Oneflow API.
request_pathstringThe full request URL of the API request is sent to Oneflow API.
request_timestringThe date and time of the API request sent to Oneflow API.
response_bodyobjectThe response body of the API request is sent to Oneflow API. For GET requests, the response body field is returned as null.
response_codeintegerThe response code of the API request is sent to Oneflow API.