cURL
curl --request POST \ --url https://api.quiva.ai/compute/collections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "my-collection", "description": "A collection for my compute resources", "collection_type": "function" } '
{ "body": { "collection_type": "function", "description": "A collection for my compute resources", "name": "my-collection", "subject": "compute.123456789.collection", "type": "created", "modified": 1714378974 } }
Creates a new compute collection
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Collection to create
Collection name
Collection description
Collection type
Collection created successfully
Show child attributes