> ## 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: Successes Index

> List successes. Salesloft Successes Index reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

List successes.

<Info>
  Tool ID: `salesloft_successes_index`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_successes_index',
  {
    "ids": [
      123
    ],
    "person_id": [
      123
    ],
    "updated_at": {
      "gt": "example",
      "gte": "example",
      "lt": "example"
    }
  },
);

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

### CLI

```bash theme={null}
deepline tools execute salesloft_successes_index --input '{
  "ids": [
    123
  ],
  "person_id": [
    123
  ],
  "updated_at": {
    "gt": "example",
    "gte": "example",
    "lt": "example"
  }
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": [
    {
      "id": 123,
      "created_at": "2026-01-15T12:00:00Z",
      "updated_at": "2026-01-15T12:00:00Z"
    }
  ]
}
```

Use `deepline tools get salesloft_successes_index --json` for the latest machine-readable contract.

## Input reference

Fetches multiple success records. The records can be filtered, paged, and sorted according to the respective parameters.

| Name                            | Type      | Required | Default | Details                                                                                                                                |
| ------------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.ids`                   | `array`   | No       | —       | IDs of successes to fetch. If a record can't be found, that record won't be returned and your request will be successful               |
| `payload.person_id`             | `array`   | No       | —       | Filters successes by person\_id. Multiple person ids can be applied                                                                    |
| `payload.updated_at`            | `object`  | No       | —       | Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision. |
| `payload.sort_by`               | `string`  | No       | —       | Key to sort on, must be one of: created\_at, updated\_at, succeeded\_at. Defaults to updated\_at                                       |
| `payload.sort_direction`        | `string`  | No       | —       | Direction to sort in, must be one of: ASC, DESC. Defaults to DESC                                                                      |
| `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.limit_paging_counts`   | `boolean` | No       | —       | Specifies whether the max limit of 10k records should be applied to pagination counts. Affects the total\_count and total\_pages data  |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetches multiple success records. The records can be filtered, paged, and sorted according to the respective parameters.",
    "properties": {
      "ids": {
        "type": "array",
        "description": "IDs of successes to fetch. If a record can't be found, that record won't be returned and your request will be successful",
        "items": {
          "type": "integer"
        }
      },
      "person_id": {
        "type": "array",
        "description": "Filters successes by person_id. Multiple person ids can be applied",
        "items": {
          "type": "integer"
        }
      },
      "updated_at": {
        "type": "object",
        "description": "Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision.",
        "properties": {
          "gt": {
            "type": "string",
            "description": "Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision."
          },
          "gte": {
            "type": "string",
            "description": "Returns all matching records that are greater than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision."
          },
          "lt": {
            "type": "string",
            "description": "Returns all matching records that are less than the provided iso8601 timestamp. The comparison is done using microsecond precision."
          },
          "lte": {
            "type": "string",
            "description": "Returns all matching records that are less than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision."
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "sort_by": {
        "type": "string",
        "description": "Key to sort on, must be one of: created_at, updated_at, succeeded_at. Defaults to updated_at"
      },
      "sort_direction": {
        "type": "string",
        "description": "Direction to sort in, must be one of: ASC, DESC. Defaults to DESC"
      },
      "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"
      },
      "limit_paging_counts": {
        "type": "boolean",
        "description": "Specifies whether the max limit of 10k records should be applied to pagination counts. Affects the total_count and total_pages data"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                       | Type      | Required | Default | Details                                                                                             |
| ------------------------------------------ | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `result.data`                              | `array`   | Yes      | —       | Provider response payload.                                                                          |
| `result.data[].id`                         | `integer` | No       | —       | ID of success                                                                                       |
| `result.data[].created_at`                 | `string`  | No       | —       | Datetime of when the success was created Format: `date-time`.                                       |
| `result.data[].updated_at`                 | `string`  | No       | —       | Datetime of when the success was last updated Format: `date-time`.                                  |
| `result.data[].succeeded_at`               | `string`  | No       | —       | Datetime of when the success was recorded Format: `date-time`.                                      |
| `result.data[].success_window_started_at`  | `string`  | No       | —       | Datetime of when this person was first worked, leading up to the success Format: `date-time`.       |
| `result.data[].user`                       | `object`  | No       | —       | User that created this success                                                                      |
| `result.data[].user.id`                    | `integer` | No       | —       | —                                                                                                   |
| `result.data[].user._href`                 | `string`  | No       | —       | —                                                                                                   |
| `result.data[].person`                     | `object`  | No       | —       | The person who a success occurred on                                                                |
| `result.data[].person.id`                  | `integer` | No       | —       | —                                                                                                   |
| `result.data[].person._href`               | `string`  | No       | —       | —                                                                                                   |
| `result.data[].latest_email`               | `object`  | No       | —       | The email that was most recently sent to this person before the success                             |
| `result.data[].latest_email.id`            | `integer` | No       | —       | —                                                                                                   |
| `result.data[].latest_email._href`         | `string`  | No       | —       | —                                                                                                   |
| `result.data[].latest_call`                | `object`  | No       | —       | The call that was most recently made to this person before the success                              |
| `result.data[].latest_call.id`             | `integer` | No       | —       | —                                                                                                   |
| `result.data[].latest_call._href`          | `string`  | No       | —       | —                                                                                                   |
| `result.data[].latest_action`              | `object`  | No       | —       | The action that was most recently completed on this person before the success                       |
| `result.data[].latest_action.id`           | `integer` | No       | —       | —                                                                                                   |
| `result.data[].latest_cadence`             | `object`  | No       | —       | The cadence with the action that was most recently completed on this person before the success      |
| `result.data[].latest_cadence.id`          | `integer` | No       | —       | —                                                                                                   |
| `result.data[].latest_cadence._href`       | `string`  | No       | —       | —                                                                                                   |
| `result.data[].latest_step`                | `object`  | No       | —       | The step of the cadence's action that was most recently completed on this person before the success |
| `result.data[].latest_step.id`             | `integer` | No       | —       | —                                                                                                   |
| `result.data[].latest_step._href`          | `string`  | No       | —       | —                                                                                                   |
| `result.data[].counts`                     | `object`  | No       | —       | —                                                                                                   |
| `result.data[].counts.total_emails`        | `integer` | No       | —       | The total number of emails made in this success window                                              |
| `result.data[].counts.total_calls`         | `integer` | No       | —       | The total number of calls made in this success window                                               |
| `result.data[].counts.total_other_touches` | `integer` | No       | —       | The total number of other touches made in this success window                                       |
| `result.meta`                              | `object`  | No       | —       | Additional response metadata (status, paging).                                                      |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "description": "Provider response payload.",
          "properties": {
            "id": {
              "type": "integer",
              "description": "ID of success"
            },
            "created_at": {
              "type": "string",
              "description": "Datetime of when the success was created",
              "format": "date-time"
            },
            "updated_at": {
              "type": "string",
              "description": "Datetime of when the success was last updated",
              "format": "date-time"
            },
            "succeeded_at": {
              "type": "string",
              "description": "Datetime of when the success was recorded",
              "format": "date-time"
            },
            "success_window_started_at": {
              "type": "string",
              "description": "Datetime of when this person was first worked, leading up to the success",
              "format": "date-time"
            },
            "user": {
              "type": "object",
              "description": "User that created this success",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "person": {
              "type": "object",
              "description": "The person who a success occurred on",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "latest_email": {
              "type": "object",
              "description": "The email that was most recently sent to this person before the success",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "latest_call": {
              "type": "object",
              "description": "The call that was most recently made to this person before the success",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "latest_action": {
              "type": "object",
              "description": "The action that was most recently completed on this person before the success",
              "properties": {
                "id": {
                  "type": "integer"
                }
              },
              "additionalProperties": false
            },
            "latest_cadence": {
              "type": "object",
              "description": "The cadence with the action that was most recently completed on this person before the success",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "latest_step": {
              "type": "object",
              "description": "The step of the cadence's action that was most recently completed on this person before the success",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "counts": {
              "type": "object",
              "properties": {
                "total_emails": {
                  "type": "integer",
                  "description": "The total number of emails made in this success window"
                },
                "total_calls": {
                  "type": "integer",
                  "description": "The total number of calls made in this success window"
                },
                "total_other_touches": {
                  "type": "integer",
                  "description": "The total number of other touches made in this success window"
                }
              },
              "additionalProperties": false
            }
          },
          "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](/docs/providers/salesloft/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
