IntegrationsGoogle workspaceActions
Query Google Calendar free/busy
Query free/busy information for calendars the connected principal can access.
calendar.freebusy.query · Google Workspace · v1
Details
Scopes
https://www.googleapis.com/auth/calendar.freebusy
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
time_min | string | Yes | minLength 10; maxLength 64 |
time_max | string | Yes | minLength 10; maxLength 64 |
items | array<object> | Yes | minItems 1; maxItems 50 |
items[] | object | Yes | additionalProperties false |
items[].id | string | Yes | minLength 1; maxLength 256 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
calendars | array<object> | Yes | maxItems 50 |
calendars[] | object | Yes | additionalProperties false |
calendars[].id | string | Yes | minLength 1; maxLength 256 |
calendars[].busy | array<object> | Yes | maxItems 250 |
calendars[].busy[] | object | Yes | additionalProperties false |
calendars[].busy[].start | string | Yes | maxLength 64 |
calendars[].busy[].end | string | Yes | maxLength 64 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"time_min": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"time_max": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
},
"required": [
"id"
]
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"time_min",
"time_max",
"items"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"calendars": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"busy": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"maxLength": 64
},
"end": {
"type": "string",
"maxLength": 64
}
},
"required": [
"start",
"end"
]
},
"maxItems": 250
}
},
"required": [
"id",
"busy"
]
},
"maxItems": 50
}
},
"required": [
"calendars"
]
}