POST
/v0/documentCollections/createCollectionCreate CollectionCreate a new collection. The API key used will be added to the collection for future Requests
Request body
application/json
object
collaboratorsarray of objectrequiredA list of collaborator emails and roles that will have access to the agent.
Show child attributes
Show array items
emailstringrequiredrolestringrequireddescriptionstringrequiredAn in depth name for the agent's function. Useful for routing requests to the right agent.
namestringrequiredA descriptive name for the collection.
{
"collaborators": [
{
"email": "string",
"role": "editor"
}
],
"description": "string",
"name": "string"
}Responses
objectdocumentCollections_CreateCollectionResponse
CreateCollectionResponse
collectionIdstring · uuidrequired{
"collectionId": "00000000-0000-0000-0000-000000000000"
}