> ## 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: Calendar Availabilities Index

> Get calendar availabilities. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get calendar availabilities.

<Info>
  Tool ID: `salesloft_calendar_availabilities_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_calendar_availabilities_index',
  {
    "start_date": "2026-01-15T12:00:00Z",
    "end_date": "2026-01-15T12:00:00Z",
    "duration": 123
  },
);

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

### CLI

```bash theme={null}
deepline tools execute salesloft_calendar_availabilities_index --input '{
  "start_date": "2026-01-15T12:00:00Z",
  "end_date": "2026-01-15T12:00:00Z",
  "duration": 123
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "calendar_date": "2026-01-15",
    "meeting_duration": 123,
    "total_available_count": 123
  }
}
```

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

## Input reference

Fetches available time slots for a user's calendar within the specified date range. This endpoint returns periods of free time that can be used for scheduling meetings. The endpoint validates date ranges and duration values, and returns availability data based on the user's calendar settings and existing events.

| Name                 | Type      | Required | Default | Details                                  |
| -------------------- | --------- | -------- | ------- | ---------------------------------------- |
| `payload.start_date` | `string`  | Yes      | —       | Availability start date                  |
| `payload.end_date`   | `string`  | Yes      | —       | Availability end date                    |
| `payload.duration`   | `integer` | Yes      | —       | Duration of desired open time in minutes |
| `payload.client_tz`  | `string`  | No       | —       | Browser timezone                         |
| `payload.with_slots` | `boolean` | No       | —       | Include available slots                  |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetches available time slots for a user's calendar within the specified date range. This endpoint returns periods of free time that can be used for scheduling meetings. The endpoint validates date ranges and duration values, and returns availability data based on the user's calendar settings and existing events.",
    "properties": {
      "start_date": {
        "type": "string",
        "description": "Availability start date"
      },
      "end_date": {
        "type": "string",
        "description": "Availability end date"
      },
      "duration": {
        "type": "integer",
        "description": "Duration of desired open time in minutes"
      },
      "client_tz": {
        "type": "string",
        "description": "Browser timezone"
      },
      "with_slots": {
        "type": "boolean",
        "description": "Include available slots"
      }
    },
    "required": [
      "start_date",
      "end_date",
      "duration"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                     | Type      | Required | Default | Details                                              |
| -------------------------------------------------------- | --------- | -------- | ------- | ---------------------------------------------------- |
| `result.data`                                            | `object`  | Yes      | —       | Provider response payload.                           |
| `result.data.calendar_date`                              | `string`  | No       | —       | Calendar date of availability window Format: `date`. |
| `result.data.meeting_duration`                           | `integer` | No       | —       | Duration of meeting request in minutes               |
| `result.data.total_available_count`                      | `integer` | No       | —       | Number of available windows                          |
| `result.data.calendar_available_times`                   | `array`   | No       | —       | Availability Windows                                 |
| `result.data.calendar_available_times[].start_time`      | `string`  | No       | —       | Window start time Format: `date-time`.               |
| `result.data.calendar_available_times[].end_time`        | `string`  | No       | —       | Window end time Format: `date-time`.                 |
| `result.data.calendar_available_times[].available_count` | `integer` | No       | —       | Number of windows available                          |
| `result.data.calendar_available_times[].slots`           | `array`   | No       | —       | Available slots                                      |
| `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": "object",
        "description": "Provider response payload.",
        "properties": {
          "calendar_date": {
            "type": "string",
            "description": "Calendar date of availability window",
            "format": "date"
          },
          "meeting_duration": {
            "type": "integer",
            "description": "Duration of meeting request in minutes"
          },
          "total_available_count": {
            "type": "integer",
            "description": "Number of available windows"
          },
          "calendar_available_times": {
            "type": "array",
            "description": "Availability Windows",
            "items": {
              "type": "object",
              "properties": {
                "start_time": {
                  "type": "string",
                  "description": "Window start time",
                  "format": "date-time"
                },
                "end_time": {
                  "type": "string",
                  "description": "Window end time",
                  "format": "date-time"
                },
                "available_count": {
                  "type": "integer",
                  "description": "Number of windows available"
                },
                "slots": {
                  "type": "array",
                  "description": "Available slots",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "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)
