---
updatedAt: 2025-09-16T02:41:18.000Z
agentTools:
  projectIndex: https://developer.oneflow.com/llms.txt
---

# Log

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.

| Attribute         | Type                                 | Description                                                                                                                                                                          |
| :---------------- | :----------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| api\_version      | [integer](type-reference#base-types) | The Oneflow API version that the request is sent.                                                                                                                                    |
| integration\_key  | [string](type-reference#base-types)  | Unique 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\_body     | [object](type-reference#base-types)  | The request body of the API request is sent to Oneflow API.                                                                                                                          |
| request\_duration | [integer](type-reference#base-types) | The duration of the API request sent to Oneflow API.                                                                                                                                 |
| request\_endpoint | [string](type-reference#base-types)  | The endpoint of the API request is sent to the Oneflow API. Only contain the endpoint and not the query parameters.                                                                  |
| request\_headers  | [object](type-reference#base-types)  | Request headers of the API request sent to Oneflow API.                                                                                                                              |
| request\_id       | [string](type-reference#base-types)  | The request ID assigned to the API request within Oneflow.                                                                                                                           |
| request\_method   | [string](type-reference#base-types)  | The request method of the API request is sent to the Oneflow API.                                                                                                                    |
| request\_path     | [string](type-reference#base-types)  | The full request URL of the API request is sent to Oneflow API.                                                                                                                      |
| request\_time     | [string](type-reference#base-types)  | The date and time of the API request sent to Oneflow API.                                                                                                                            |
| response\_body    | [object](type-reference#base-types)  | The response body of the API request is sent to Oneflow API. For `GET` requests, the response body field is returned as `null`.                                                      |
| response\_code    | [integer](type-reference#base-types) | The response code of the API request is sent to Oneflow API.                                                                                                                         |