> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesloft: Audit Reports Index

> List the audit reports your Salesloft team has requested, with their status. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

List the audit reports your Salesloft team has requested, with their status.

> [!NOTE]
>
> Tool ID: `salesloft_audit_reports_index`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_audit_reports_index',
  {
    "per_page": 123,
    "page": 123,
    "include_paging_counts": true
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesloft_audit_reports_index --input '{
  "per_page": 123,
  "page": 123,
  "include_paging_counts": true
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": [
    {
      "user_guid": "user_123",
      "until": "2026-01-15",
      "status": "example"
    }
  ]
}
```

Use `deepline describe salesloft_audit_reports_index --json` for the latest machine-readable contract.

## Input reference

Returns all reports that have been requested by user's tenant\_id, paged by 25 records

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.per_page` | `integer` | No | — | How many records to show per page in the range \[1, 100]. Defaults to 25 |
| `payload.page` | `integer` | No | — | The current page to fetch results from. Defaults to 1 |
| `payload.include_paging_counts` | `boolean` | No | — | Whether to include total\_pages and total\_count in the metadata. Defaults to false |
| `payload.sort_by` | `string` | No | — | Key to sort on, must be one of: inserted\_at. Defaults to inserted\_at |
| `payload.sort_direction` | `string` | No | — | Direction to sort in, must be one of: ASC, DESC. Defaults to DESC |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns all reports that have been requested by user's tenant_id, paged by 25 records",
    "properties": {
      "per_page": {
        "type": "integer",
        "description": "How many records to show per page in the range [1, 100]. Defaults to 25"
      },
      "page": {
        "type": "integer",
        "description": "The current page to fetch results from. Defaults to 1"
      },
      "include_paging_counts": {
        "type": "boolean",
        "description": "Whether to include total_pages and total_count in the metadata. Defaults to false"
      },
      "sort_by": {
        "type": "string",
        "description": "Key to sort on, must be one of: inserted_at. Defaults to inserted_at"
      },
      "sort_direction": {
        "type": "string",
        "description": "Direction to sort in, must be one of: ASC, DESC. Defaults to DESC"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `array` | Yes | — | Provider response payload. |
| `result.data[].user_guid` | `string` | No | — | Uuid of the user who requested report |
| `result.data[].until` | `string` | No | — | End time for Date range Format: `date`. |
| `result.data[].status` | `string` | No | — | The staus of the report |
| `result.data[].started_on` | `string` | No | — | The date the report request was started Format: `date`. |
| `result.data[].since` | `string` | No | — | Start time for Date range Format: `date`. |
| `result.data[].requestor_name` | `string` | No | — | Name of user who requested report |
| `result.data[].requestor_email` | `string` | No | — | Email of who requested report |
| `result.data[].requested_on` | `string` | No | — | Requested on date Format: `date`. |
| `result.data[].record_type` | `string` | No | — | The type of the record requested. E.G. 'Account' |
| `result.data[].record_ids` | `integer` | No | — | Salesloft object ids for record type |
| `result.data[].name` | `string` | No | — | The name of the repor |
| `result.data[].id` | `integer` | No | — | Primary key ID |
| `result.data[].error` | `string` | No | — | Any error message that was returned |
| `result.data[].email_notification` | `boolean` | No | — | Whether or not an email notication will be sent |
| `result.data[].download_url` | `string` | No | — | The download url from aws |
| `result.data[].data_source` | `string` | No | — | The primary source of the data. E.G. 'Database' |
| `result.data[].completed_on` | `string` | No | — | The date the report request was completed Format: `date`. |
| `result.data[].audited_user_guids` | `string` | No | — | the user that made the audited action |
| `result.data[].actions` | `string` | No | — | the action that was audited |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "description": "Provider response payload.",
          "properties": {
            "user_guid": {
              "type": "string",
              "description": "Uuid of the user who requested report"
            },
            "until": {
              "type": "string",
              "description": "End time for Date range",
              "format": "date"
            },
            "status": {
              "type": "string",
              "description": "The staus of the report"
            },
            "started_on": {
              "type": "string",
              "description": "The date the report request was started",
              "format": "date"
            },
            "since": {
              "type": "string",
              "description": "Start time for Date range",
              "format": "date"
            },
            "requestor_name": {
              "type": "string",
              "description": "Name of user who requested report"
            },
            "requestor_email": {
              "type": "string",
              "description": "Email of who requested report"
            },
            "requested_on": {
              "type": "string",
              "description": "Requested on date",
              "format": "date"
            },
            "record_type": {
              "type": "string",
              "description": "The type of the record requested. E.G. 'Account'"
            },
            "record_ids": {
              "type": "integer",
              "description": "Salesloft object ids for record type"
            },
            "name": {
              "type": "string",
              "description": "The name of the repor"
            },
            "id": {
              "type": "integer",
              "description": "Primary key ID"
            },
            "error": {
              "type": "string",
              "description": "Any error message that was returned"
            },
            "email_notification": {
              "type": "boolean",
              "description": "Whether or not an email notication will be sent"
            },
            "download_url": {
              "type": "string",
              "description": "The download url from aws"
            },
            "data_source": {
              "type": "string",
              "description": "The primary source of the data. E.G. 'Database'"
            },
            "completed_on": {
              "type": "string",
              "description": "The date the report request was completed",
              "format": "date"
            },
            "audited_user_guids": {
              "type": "string",
              "description": "the user that made the audited action"
            },
            "actions": {
              "type": "string",
              "description": "the action that was audited"
            }
          },
          "additionalProperties": false
        }
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Salesloft provider guide](https://deepline.com/docs/providers/salesloft/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.