Create collection

Create a collection or a sub-collection.

POST https://cotlet.dev/api/v1/bluedot/collections

write Confirm

Does what the + next to Collections does. The default access decides who in the workspace sees the collection, so it reaches other people. There is no tool to delete a collection, because Bluedot deletes every recording inside it. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_collection
NameTypeDescription
title string required string Collection title.
workspace_id string string Workspace ID from list_workspaces. Leave out to use your current workspace.
parent_collection_id string string Create it inside this collection. A sub-collection takes the access of its parent.
everyone_access string string Default access for Everyone at Bluedot: full_access, can_upload, can_view or no_access. Leave out to keep Bluedot's default.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/bluedot/collections \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workspace_id":"w_90c1d7","title":"Acme","everyone_access":"can_view"}'
Python
result = client.call("bluedot", "create_collection", {"workspace_id":"w_90c1d7","title":"Acme","everyone_access":"can_view"})
Node.js
const result = await cotlet.call('bluedot', 'create_collection', {"workspace_id":"w_90c1d7","title":"Acme","everyone_access":"can_view"});
CLI
cotlet call bluedot create_collection --data '{"workspace_id":"w_90c1d7","title":"Acme","everyone_access":"can_view"}'

Example response

JSON

{
  "collection_id": "c_a02e51f9",
  "title": "Acme",
  "parent_collection_id": null,
  "everyone_access": "can_view"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.