---
agentTools:
  projectIndex: https://bakrypt.readme.io/llms.txt
---

# Collections API

Read-Only API and minting operations.

<https://bakrypt.io/v1/collections/> || <https://testnet.bakrypt.io/v1/collections/>

## GET -  /v1/collections/ - List of assets per collection.

Use this endpoint to load a list of assets per collection. The result is paginated to one collection per page, and it can filter data by passing specific arguments in the URL.

[block:html]
{
  "html": "<h5>URL params.</h5>\n<p>/v1/collections/?status=confirmed&sort=-created_on. Use “-” for DESC ordering</p>\n<ul>\n  <li><b>status</b>: preauth, waiting, processing, royalties, burning, rejected, error, refund,</li>\n    canceled, stand-by, confirmed\n    <li><b>is_auto</b>: 0 or 1 || true or false</li>\n<li><b>has_royalties</b>: 0 or 1 || true or false</li>\n<li><b>search</b>:  Search term to lookup by collection UUID, transaction’s UUID, deposit\naddress, or policy id\n<li><b>sort</b>: created_on, updated_on </li>\n    <li><b>page</b>: page number of the paginated results</li>\n</ul>\n<style></style>"
}
[/block]

## GET - /v1/collections/$uuid/ - Collection Detail

Use this endpoint to get a list of all assets for a collection.

## POST - /v1/collections/$uuid/mint/ - Mint Operation

Mint on-demand non-confirmed transaction associated with the asset. Use this endpoint to "manually" mint the transaction for the asset or collection.

[block:html]
{
  "html": "<h5>URL params.</h5>\n<p>Transaction can be forced to be minted. This will generate a new \npolicy and set a new invalid_slot. Mint operation can only be forced once.</p>\n<p>/v1/collections/?force=true</p>\n<ul>\n  <li><b>force</b>: true or false</li>\n</ul>\n<style></style>"
}
[/block]

## POST -  /v1/collections/$uuid/refund/ - Refund Operation

Refund non-confirmed transactions associated with the asset. The transaction will be refunded and later canceled.