List organization assets
Organization Assets
List Organization Assets
List all assets belonging to your organization with optional filtering by type, group, and search query. Supports pagination.
GET
List organization assets
Documentation Index
Fetch the complete documentation index at: https://chainpatrol-knowledge-update-chainpatrol-vs-blockaid-comple.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
List all assets belonging to your organization with optional filtering by type, group, and search query. The organization is automatically inferred from your API key. This endpoint supports pagination for efficient handling of large asset collections.Quick Start
Authentication
All organization endpoints require an API key with organization access. Include your API key in theX-API-KEY header:
Example Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | No | Filter by asset type: URL, ADDRESS, PAGE, DISCORD, TELEGRAM, TWITTER, INSTAGRAM, MEDIUM, GITHUB, YOUTUBE, LINKEDIN, TWITCH, TIKTOK, EMAIL |
| groupId | number | No | Filter by group ID. Use -1 for ungrouped assets only. Omit to include all assets regardless of group assignment. |
| query | string | No | Search query to filter assets by content. Performs a case-insensitive search across asset content, name, and description fields. |
| per_page | number | No | Number of assets to return per page. Valid range: 1-1000. Default: 100. Use larger values for bulk operations and smaller values for responsive UI pagination. |
| next_page | string | No | Cursor token for fetching the next page of results. This value is returned in the response when more results are available. Pass it in subsequent requests to continue pagination. |
Response
Success Response
Response Fields
| Field | Type | Description |
|---|---|---|
| assets | array | Array of asset objects belonging to your organization |
| assets[].id | number | Unique identifier for the asset |
| assets[].content | string | The actual asset content (URL, address, handle, etc.) |
| assets[].type | string | Asset type classification |
| assets[].status | string | Asset status, typically ALLOWED for organization assets |
| assets[].name | string | Display name for the asset (optional) |
| assets[].description | string | Description of the asset (optional, can be null) |
| assets[].group | object | Group object containing id and name if asset is assigned to a group, null if ungrouped |
| assets[].createdAt | string | ISO 8601 timestamp when the asset was created |
| assets[].updatedAt | string | ISO 8601 timestamp when the asset was last updated |
| next_page | string | Cursor token for the next page of results. Undefined/null when no more results are available. |
Pagination
To fetch all assets, use thenext_page cursor returned in each response:
Filtering Examples
Filter by Type
Get only URL assets:Filter by Group
Get assets in a specific group:Search Assets
Search for assets containing “wallet”:Combine Filters
Get URL assets in group 1 containing “main”:Error Responses
401 Unauthorized
Returned when the API key is missing, invalid, or doesn’t have organization access:400 Bad Request
Returned when query parameters are invalid:Best Practices
Pagination
- Use
per_page=500or higher for bulk operations to minimize API calls - Use
per_page=50-100for UI pagination for responsive user experience - Always check for
next_pagein the response to determine if more results exist
Filtering
- Apply filters server-side rather than fetching all assets and filtering client-side
- Combine filters to narrow down results efficiently
- Use the
queryparameter for user-driven search features
Performance
- Cache asset lists when appropriate to reduce API calls
- Use appropriate
per_pagevalues based on your use case - Consider implementing incremental loading for large datasets
Notes
- Organization is automatically determined from your API key
- All timestamps are in ISO 8601 format with UTC timezone
- Asset
statusfor organization assets is typicallyALLOWED - The
groupfield isnullwhen an asset is not assigned to any group - The
next_pagecursor is opaque and should not be parsed or modified
Authorizations
Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.
Query Parameters
Available options:
URL, PAGE, ADDRESS, DISCORD, LINKEDIN, TWITTER, FACEBOOK, YOUTUBE, REDDIT, TELEGRAM, GOOGLE_APP_STORE, APPLE_APP_STORE, AMAZON_APP_STORE, MICROSOFT_APP_STORE, TIKTOK, INSTAGRAM, THREADS, MEDIUM, CHROME_WEB_STORE, MOZILLA_ADDONS, OPERA_ADDONS, EMAIL, PATREON, OPENSEA, FARCASTER, IPFS, GOOGLE_FORM, WHATSAPP, DISCORD_USER, QUORA, GITHUB, TEACHABLE, SUBSTACK, DEBANK, TAWK_TO, JOTFORM, PRIMAL, BLUESKY, SNAPCHAT, DESO, PINTEREST, FLICKR, GALXE, VELOG, NPM, PYPI, HEX, DOCKER_HUB, VOCAL_MEDIA, TECKFINE, TENDERLY, HACKMD, ETSY, ZAZZLE, BASENAME, BILIBILI_TV, VIMEO, DAILYMOTION, PHONE_NUMBER, SLACK, CALENDLY, NGROK, RARIBLE, RUST_PACKAGE, FLATHUB, VIDLII, VEVIOZ, ISSUU, SOUNDCLOUD, ZAPPER, REDNOTE, SAMSUNG_APP_STORE, HUAWEI_APP_STORE, XIAOMI_APP_STORE, TENCENT_APP_STORE, OPPO_APP_STORE, VIVO_APP_STORE, F_DROID, GOOGLE_AD, BING_AD, TWITCH, BEHANCE, ZORA, META_AD, SIGNAL, DEVIANTART, BANDCAMP, ARCHIVE_ORG, FIVE_HUNDRED_PX The number of assets to return per page (max 1000)
Required range:
1 <= x <= 1000Cursor for fetching the next page of results