Skip to main content
POST
Look up reports by asset content

Overview

Search for existing reports within your organization by asset contents. Use this to check whether a report already exists before creating a new one with Report Create.

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.

Body

application/json
assetContents
string[]
required

Asset contents to look up — URLs, handles, addresses. Each is normalized the way ChainPatrol normalizes assets, so https://Bad.Site/ matches a report holding the canonical form.

slug
string

Organization slug. Optional for organization-scoped API keys, which resolve the organization from the key itself. Required when your credentials can reach more than one organization.

reportedByCustomer
boolean
limit
integer
default:50

Maximum number of reports to return, newest first. Defaults to 50, maximum 100. Compare with totalCount to tell whether the results were truncated.

Required range: 1 <= x <= 100

Response

Successful response

reports
object[]
required
totalCount
number
required

Total number of reports matching the search, ignoring limit. A value greater than reports.length means the results were truncated.