Skip to main content
PUT
Update a resource (partial)

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Path Parameters

id
string
required

Body

application/json
_id
string
userId
string
assetKey
string
assetType
string
assetValue
string
scanId
string
metadata
object
category
string
interestScore
number
Required range: 0 <= x <= 1
confidence
number
Required range: 0 <= x <= 1
analysis
string
technologies
object[]
notableObservations
string[]
relationships
string[]
whyInteresting
string
potentialVulnerabilities
object[]
architectureMermaid
string
chainingOpportunities
object[]
endpoints
object[]
insights
object[]
cves
object[]
classifiedAt
any
lastAnalysisAt
any
reconVersion
integer
Required range: 0 <= x <= 9007199254740991
response
string
changedResponse
string
lastFetchedAt
any
jsRecon
object
jsReconAnalyzedAt
any
lastNotifiedJsBodyHash
string
lastNotifiedJsAt
any
type
enum<string>
default:other
Available options:
authorization_issue,
api_endpoint,
auth_workflow,
sensitive_functionality,
business_logic_concern,
other
title
string
description
string
default:""
priority
enum<string>
default:medium
Available options:
low,
medium,
high,
critical
status
enum<string>
default:new
Available options:
new,
analyzing,
investigating,
validating,
closed
createdAt
any
updatedAt
any

Response

The updated resource.

userId
string
required
assetKey
string
required
metadata
object
required
type
enum<string>
default:other
required
Available options:
authorization_issue,
api_endpoint,
auth_workflow,
sensitive_functionality,
business_logic_concern,
other
title
string
required
description
string
default:""
required
priority
enum<string>
default:medium
required
Available options:
low,
medium,
high,
critical
status
enum<string>
default:new
required
Available options:
new,
analyzing,
investigating,
validating,
closed
createdAt
any
required
updatedAt
any
required
_id
string
assetType
string
assetValue
string
scanId
string
category
string
interestScore
number
Required range: 0 <= x <= 1
confidence
number
Required range: 0 <= x <= 1
analysis
string
technologies
object[]
notableObservations
string[]
relationships
string[]
whyInteresting
string
potentialVulnerabilities
object[]
architectureMermaid
string
chainingOpportunities
object[]
endpoints
object[]
insights
object[]
cves
object[]
classifiedAt
any
lastAnalysisAt
any
reconVersion
integer
Required range: 0 <= x <= 9007199254740991
response
string
changedResponse
string
lastFetchedAt
any
jsRecon
object
jsReconAnalyzedAt
any
lastNotifiedJsBodyHash
string
lastNotifiedJsAt
any