There are a few ways to export asset details to CSV:
- You can enable an app called
Export asset metadata
from the App marketplace tab, see this gif for a demo. Please note that this app has a limit of 5,000 assets. - If you need to export details for more than 5,000 assets, we have another app called
Search and export as CSV
(which uses Admin API behind the scenes, so rate-limit applies). This is not readily available via the marketplace so please contact support to enable it. - Our CLI SDK can also be used to export asset details for more than 5,000 assets to a CSV using the Search API (Admin API rate limits apply) e.g.
The above will search for the expressioncld search "public_id=sample" -f metadata -ff public_id,metadata --csv myfile
public_id=sample
and filter the output to just containpublic_id,metadata
fields and output it to "myfile.csv". - You can also create your own custom solution based on our APIs. You can do this by using our Search API, which will allow you to go through your assets and select which fields you'd like to export as CSV. You can also use Admin API resources to achieve the same results, but note with Admin API, the asset type is set as
image
and the delivery type asupload
by default, so you will need to change these values for other types. Therefore, Search API is the recommended approach, as it searches all types by default unless specified.
Note: Both the Search and Admin API are rate-limited, so please make sure you do not exceed your hourly limit. If you do then your limit resets at the top of each hour.
Comments
0 comments
Please sign in to leave a comment.