List organization reports
Organization Reports
List Organization Reports
List all reports belonging to your organization with optional filtering and pagination. Organization is determined from your API key.
GET
List organization reports
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
Retrieve security reports for your organization. This endpoint returns all reports submitted for your organization, including details about reported assets, proposals, and their current status. The organization is automatically inferred from your API key.Quick Start
Authentication
Include your API key in theX-API-KEY header:
Example Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | No | Number of reports to return per page (1-100, default: 50) |
| cursor | string | No | Cursor for pagination. Pass the cursor from the previous response to get the next page. |
| startDate | string | No | Filter reports created after this date (ISO 8601 format) |
| endDate | string | No | Filter reports created before this date (ISO 8601 format) |
| onlyRejected | boolean | No | If true, only return reports with rejected proposals (default: false) |
Response
Success Response
Response Fields
| Field | Type | Description |
|---|---|---|
| reports | array | Array of report objects for your organization |
| reports[].id | string | Unique identifier for the report |
| reports[].createdAt | string | ISO 8601 timestamp when the report was created |
| reports[].status | string | Overall status of the report (PENDING, APPROVED, REJECTED) |
| reports[].assets | array | Array of assets included in the report |
| reports[].proposals | array | Array of proposals associated with the report |
| cursor | string | Cursor for the next page of results (undefined if no more results) |
Pagination
Use the cursor-based pagination to fetch all reports:Filtering Examples
Filter by Date Range
Get reports from a specific time period:Filter Only Rejected Reports
Get reports that have rejected proposals:Combine Filters
Get rejected reports from a specific date range: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:Use Cases
Monitor Recent Reports
Track Rejected Reports
Export Reports to CSV
Best Practices
Pagination
- Use
limit=100for bulk data retrieval to minimize API calls - Always check for the
cursorfield to determine if more results exist - Store the cursor if you need to resume pagination later
Date Filtering
- Always use ISO 8601 format for dates:
YYYY-MM-DDTHH:mm:ss.sssZ - Include timezone information (typically UTC with
Zsuffix) - Use both
startDateandendDatefor precise time ranges
Performance
- Cache report data when appropriate to reduce API calls
- Use date filters to limit the result set size
- Consider polling intervals if monitoring for new reports (5-10 minutes recommended)
Notes
- Organization is automatically determined from your API key
- All timestamps are in ISO 8601 format with UTC timezone
- The
onlyRejectedfilter shows reports with at least one rejected proposal, but the report may contain other approved proposals - Reports are ordered by creation date (newest first)
- The cursor 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
Required range:
1 <= x <= 20Available options:
TODO, IN_PROGRESS, CLOSED Available options:
APPROVE, REJECT, SKIP, ESCALATE