Collections a skill retrieves from
GET /skills/{action_id}/collections
GET
/skills/{action_id}/collections
What this skill can look things up in while it runs.
The collections themselves are managed at /voice/collections; this is
the link between one skill and them.
Authorizations
Parameters
Path Parameters
action_id
required
Skill or workflow action_id.
string
Skill or workflow action_id.
Header Parameters
Responses
200
Successful Response
object
data
required
A LIST result from voice, normalised so items is always present.
Voice is inconsistent about whether a list comes back bare or under a named
key (collections, files, routes, chats, …). Both are preserved:
the original key is kept for anyone reading voice’s docs, and items
always holds the same rows so a client can page one way.
object
items
Array
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string