Source: https://cli.nylas.com/docs/commands/calendar-availability-check

# nylas calendar availability check

Check participant availability for a time window.

Written by [Qasim Muhammad](https://cli.nylas.com/authors/qasim-muhammad) Staff SRE

Published February 13, 2026

Updated June 21, 2026

## What does nylas calendar availability check do?

The nylas calendar availability check command queries free/busy data for one or more participants within a time window. Pass --start and --end as ISO 8601 timestamps and --emails as a comma-separated list of email addresses. Returns busy slots and free windows. Works with Google Calendar, Outlook, Exchange, Yahoo, iCloud, and IMAP providers.

## Usage

```bash
nylas calendar availability check --start START --end END --emails EMAILS
```

## Flags

| Flag | Description |
| --- | --- |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --start | Start of time window (ISO 8601) |
| --end | End of time window (ISO 8601) |
| --emails | Comma-separated email addresses |
| --duration(-d) | Duration from start (e.g., '8h', '1d', '7d') |

## Examples

The nylas calendar availability check command queries free/busy data for one or more participants within a time window.

### Check if a slot is free for two people

```bash
nylas calendar availability check --start 2026-03-27T10:00:00Z --end 2026-03-27T11:00:00Z --emails alice@example.com,bob@example.com
```

### Find free windows in a day as JSON

```bash
nylas calendar availability check --start 2026-03-27T08:00:00Z --end 2026-03-27T18:00:00Z --emails team@example.com --json
```

## Example output

```text
Availability  2026-07-01 09:00 - 2026-07-01 17:00

alice@example.com
  busy  10:00-10:30
  busy  14:00-15:00

bob@example.com
  busy  11:00-11:30

Free for both: 09:00-10:00, 15:00-17:00
```

## Troubleshooting

### Availability returns empty results

The participant's calendar may not share free/busy data. Google Workspace and Microsoft 365 support free/busy lookups by default; personal accounts may not.

### Invalid time format error

Use ISO 8601 format: 2026-03-27T10:00:00Z. Include the timezone offset or Z for UTC.

## Related commands

[nylas calendar ai analyzeAnalyze meeting patterns and get AI recommendations.](https://cli.nylas.com/docs/commands/calendar-ai-analyze)

[nylas calendar ai conflicts checkCheck a proposed meeting for scheduling conflicts with AI analysis.](https://cli.nylas.com/docs/commands/calendar-ai-conflicts-check)

[nylas calendar ai reschedule aiAI-powered meeting rescheduling with alternative suggestions.](https://cli.nylas.com/docs/commands/calendar-ai-reschedule-ai)

[nylas calendar events createCreate a new calendar event with participants, location, and description.](https://cli.nylas.com/docs/commands/calendar-events-create)

[nylas calendar events deleteDelete a calendar event by ID.](https://cli.nylas.com/docs/commands/calendar-events-delete)

[nylas calendar events listList upcoming calendar events.](https://cli.nylas.com/docs/commands/calendar-events-list)

## Recommended guides

[Book meeting rooms from the CLIBook meeting rooms from the CLI by listing calendar resources, using each room email as a calendar ID, and adding it as an event participant with less setup.](https://cli.nylas.com/guides/book-meeting-rooms-cli)

[Google Calendar API Sync TokensUse Google Calendar API sync tokens for incremental event sync, handle the 410 GONE full-resync, and read calendars from the CLI.](https://cli.nylas.com/guides/google-calendar-api-sync-tokens)

[Microsoft Graph calendarView ExplainedQuery the Microsoft Graph calendarView endpoint for events in a date range with recurrences expanded. Compare it to list events and read calendars from the CLI.](https://cli.nylas.com/guides/microsoft-graph-calendar-view)

[Microsoft Graph getSchedule Free/BusyCall the Microsoft Graph getSchedule action to read free/busy for Outlook and Exchange calendars, then check availability across providers from the CLI.](https://cli.nylas.com/guides/microsoft-graph-get-schedule)

[Google Workspace CLI: Limits and AlternativeWhat gws covers, where its OAuth scope limits and pre-1.0 status bite, and when a multi-provider email and calendar CLI is the better fit.](https://cli.nylas.com/guides/google-workspace-cli-alternative)

[SavvyCal vs Nylas: Scheduling ComparedSavvyCal is a scheduling SaaS for end users. Nylas is the API and CLI for building scheduling into your product across Google, Microsoft, and iCloud calendars.](https://cli.nylas.com/guides/savvycal-vs-nylas)

Run `nylas calendar availability check --help` for full help output.
