Skip to main content
GET
List organization reports

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 the X-API-KEY header:

Example Request

Query Parameters

Response

Success Response

Response Fields

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=100 for bulk data retrieval to minimize API calls
  • Always check for the cursor field 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 Z suffix)
  • Use both startDate and endDate for 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 onlyRejected filter 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

X-API-KEY
string
header
required

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

limit
number
required
Required range: 1 <= x <= 20
cursor
number | null
status
enum<string>
Available options:
TODO,
IN_PROGRESS,
CLOSED
searchQuery
string
reporterQuery
string
excludeAutomation
boolean
default:false
onlyRejected
boolean
default:false
reviewStatuses
enum<string>[]
Available options:
APPROVE,
REJECT,
SKIP,
ESCALATE
reviewedByUserId
number | null
startDate
string
endDate
string
brandIds
number[]

Response

Successful response

reports
object[]
required
nextCursor
number | null
required