> ## 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: Bulk Jobs Results Index

> Get the per-record results of a finished Salesloft bulk job, including errors. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Get the per-record results of a finished Salesloft bulk job, including errors.

> [!NOTE]
>
> Tool ID: `salesloft_bulk_jobs_results_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_bulk_jobs_results_index',
  {
    "bulk_jobs_id": 123
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesloft_bulk_jobs_results_index --input '{
  "bulk_jobs_id": 123
}' --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": [
    {
      "status": "example",
      "resource": {},
      "record": {}
    }
  ]
}
```

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

## Input reference

Fetches multiple job data records for a completed bulk job. Note that until a bulk job's state is set to `done` the returned `data` will be an empty array. Pagination is not supported, but cursor based polling is via use of the `id[gt]` filter. Pass the last id seen (i.e. `id[gt]=1234`) in order to get the next batch of records.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.bulk_jobs_id` | `integer` | Yes | — | The id for the Bulk Job |
| `payload.status` | `array` | No | — | Filter by result status. Accepts multiple statuses. Each status must be one of pending, success, error, retrying, cancelled |
| `payload.id` | `object` | No | — | Filter by id using comparison operators. Only supports greater than (gt) comparison (i.e. id\[gt]=123) |
| `payload.per_page` | `integer` | No | — | How many records to show per page in the range \[1, 100]. Defaults to 25 |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Fetches multiple job data records for a completed bulk job. Note that until a bulk job's state is set to `done` the returned `data` will be an empty array. Pagination is not supported, but cursor based polling is via use of the `id[gt]` filter. Pass the last id seen (i.e. `id[gt]=1234`) in order to get the next batch of records.",
    "properties": {
      "bulk_jobs_id": {
        "type": "integer",
        "description": "The id for the Bulk Job"
      },
      "status": {
        "type": "array",
        "description": "Filter by result status. Accepts multiple statuses. Each status must be one of pending, success, error, retrying, cancelled",
        "items": {
          "type": "string"
        }
      },
      "id": {
        "type": "object",
        "description": "Filter by id using comparison operators. Only supports greater than (gt) comparison (i.e. id[gt]=123)"
      },
      "per_page": {
        "type": "integer",
        "description": "How many records to show per page in the range [1, 100]. Defaults to 25"
      }
    },
    "required": [
      "bulk_jobs_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `array` | Yes | — | Provider response payload. |
| `result.data[].status` | `string` | No | — | Status of the record that was processed. Will be one of: success, error |
| `result.data[].resource` | `record` | No | — | The object containing the resulting resource from performing the bulk action on this record |
| `result.data[].record` | `record` | No | — | The data that was used to process the operation |
| `result.data[].id` | `integer` | No | — | ID of the record that was processed |
| `result.data[].error` | `string` | No | — | Error message for the record that was processed. Will be null if there was no error. |
| `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",
          "properties": {
            "status": {
              "type": "string",
              "description": "Status of the record that was processed. Will be one of: success, error"
            },
            "resource": {
              "type": "object",
              "description": "The object containing the resulting resource from performing the bulk action on this record"
            },
            "record": {
              "type": "object",
              "description": "The data that was used to process the operation"
            },
            "id": {
              "type": "integer",
              "description": "ID of the record that was processed"
            },
            "error": {
              "type": "string",
              "description": "Error message for the record that was processed. Will be null if there was no error."
            }
          },
          "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.