List Assets
List all assets for a given organization.
External Documentation
To learn more, visit the Cobalt documentation.
Basic Parameters
Parameter | Description |
---|---|
Asset Type | Returns assets of chosen asset type. |
X Org Token | The ID of the organization the assets belong to. Can be obtained by the List Organizations action. |
Advanced Parameters
Parameter | Description |
---|---|
Cursor | Specifies the pagination cursor for the next page. |
Limit | Number of results per page, valid range is 1-100. |
Sort | Sorts the returning assets by chosen type. |
Tag | Returns assets with specified tags. Multiple tags can be specified by a comma seperated list. |
Example Output
{
"data": [
{
"resource": {
"id": "as_GZgcehapJUNh6mjNuqsE4T",
"title": "Acme Corp. HR System",
"description": "HR system of the Acme Corp. holding sensitive employee data",
"asset_type": "web",
"logo": "https://s3.amazonaws.com/acmecorp/uploads/attachment/file/12345/cat.jpeg?something=1",
"technology_stack": [
{
"title": "React 18.0.0"
}
],
"attachments": [
{
"id": "at_LA5GcEL4HRitFGCHREqmzL",
"file_name": "rainbow.jpeg",
"download_url": "https://s3.amazonaws.com/acmecorp/uploads/attachment/file/12345/rainbow.jpeg?something=1"
}
],
"tags": [
{
"name": "tag1"
}
]
},
"links": {
"ui": {
"url": "https://api.us.cobalt.io/links/eyJ0eXBlIjoic29tZXRoaW5nIiwib3JnU2x1ZyI6ImNvYmFsdCIsInBlbnRlc3RUYWciOiJz="
}
}
}
],
"pagination": {
"next_page": "/assets?cursor=a1b2c3d4",
"prev_page": "/assets?cursor=4d3c2b1a"
}
}
Workflow Library Example
List Assets with Cobalt and Send Results Via Email