Docs
list_queue_slots
Read the weekly queue slots of the workspace's channel accounts (or one, with `channelAccountId`): the days and local times, in the workspace's time zone, that add_to_queue fills. Each queue also lists its next free slot times. Days are 0 = Monday ... 6 = Sunday.
Read the weekly queue slots of the workspace's channel accounts (or one, with channelAccountId): the days and local times, in the workspace's time zone, that add_to_queue fills. Each queue also lists its next free slot times. Days are 0 = Monday ... 6 = Sunday.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"channelAccountId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"timeZone": {
"type": "string"
},
"queues": {
"items": {
"additionalProperties": false,
"properties": {
"channelAccountId": {
"format": "uuid",
"type": "string"
},
"slots": {
"items": {
"additionalProperties": false,
"properties": {
"dayOfWeek": {
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"localTime": {
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"id": {
"format": "uuid",
"type": "string"
},
"day": {
"type": "string"
}
},
"required": [
"dayOfWeek",
"localTime",
"id",
"day"
],
"type": "object"
},
"type": "array"
},
"nextFree": {
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
}
},
"required": [
"channelAccountId",
"slots",
"nextFree"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"timeZone",
"queues"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List queue slots"
}