Analyses
TypeScript SDK reference for the analyses resource
Warning
The SDKs are in research preview. Their interfaces may change between minor versions until 1.0.
Access this resource from client.analyses.
list
GET /v1/analyses
Analyses in the project.
const result = await client.analyses.list();Arguments:
queryAnalysisListParamsquerypagenumberpage_sizenumberorder_by"created_at" | "updated_at"order"desc" | "asc"user_idstringis_ownerbooleanReturn type by call:
withPagination: true→PaginatedResource<Analysis>withPagination: false→Pagination<Analysis>
show properties (6)hide properties (6)
resultsAnalysis[]requiredshow properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
pagenumberrequiredpage_sizenumberrequiredmorebooleanrequiredWhether more pages follow.
total_observationsnumberrequiredTotal results across all pages.
total_pagesnumberrequiredget
GET /v1/analyses/{analysis_id}
An analysis at HEAD, or at a specific version.
const result = await client.analyses.get(analysisId);Arguments:
analysisIdstringpathrequiredqueryVersionIdentifierParamqueryversion_idstringReturns: Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
recent
GET /v1/analyses/recent
The caller's most recent analysis, with its findings.
const result = await client.analyses.recent();Returns: ExistsResponse<AnalysisExpanded>
show properties (2)hide properties (2)
existsbooleanrequireddataAnalysisExpanded | nullrequiredshow properties (7)hide properties (7)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
findingsFinding[]requiredshow properties (19)hide properties (19)
idstringrequiredcreated_atstringrequiredorigin_finding_idstringrequiredThe finding's original ID, stable across versions and edits.
is_acknowledgedbooleanrequiredWhether a user acknowledged the finding.
typestringrequiredlevelFindingLevelrequirednamestringrequiredexplanationstringrequiredrecommendationstring | nullrequiredpocstring | nullrequiredtoolstringrequiredWhat produced the finding.
node_idstringrequiredThe code graph node the finding is on.
is_borrowedbooleanrequiredWhether the finding was carried over from an earlier version.
location_idstring | nullrequiredThe source location within the node.
created_by_userUserrequiredWho created the finding.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredcode_idstringrequiredThe code version the finding is on.
versionAnalysisVersionRefrequiredThe analysis version the finding belongs to.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsFindingActionsrequiredAvailable actions to take on this finding
show properties (3)hide properties (3)
editActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
undoActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
last_event_kindFindingEventKind | nullrequiredupdate
PATCH /v1/analyses/{analysis_id}
Rename an analysis.
const result = await client.analyses.update(analysisId, name);Arguments:
analysisIdstringpathrequirednamestringbodyrequiredReturns: Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
delete
DELETE /v1/analyses/{analysis_id}
Delete an analysis and all its versions.
const result = await client.analyses.delete(analysisId);Arguments:
analysisIdstringpathrequiredReturns: BooleanResponse
show properties (1)hide properties (1)
successbooleanrequiredcreateRoot
POST /v1/analyses
Create an analysis for uploaded code, or return the project's existing versions of that code. Doesn't run the pipeline.
const result = await client.analyses.createRoot(body);Arguments:
bodyAnalysisCreateRootBodybodyrequiredcode_idstringrequiredon_collision"merge" | "surface" | "force"namestringReturns: AnalysisCreate
One of:
AnalysisCreatedResult
show properties (2)hide properties (2)
is_createdtruerequiredanalysisAnalysisrequiredThe created analysis.
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
AnalysisCollisionResult
show properties (2)hide properties (2)
is_createdfalserequiredcandidatesCollisionVersion[]requiredExisting versions of this code in the project.
show properties (19)hide properties (19)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
analysis_metaAnalysisMetadatarequiredThe analysis this version belongs to.
show properties (5)hide properties (5)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
on_collision"fork" | "merge" | "view"requiredThe suggested way to reuse this version.
createChild
POST /v1/analyses/{analysis_id}/child
Add a version for new code on top of an existing version, and make it HEAD. Findings on unchanged code carry over. Doesn't run the pipeline.
const result = await client.analyses.createChild(analysisId, body);Arguments:
analysisIdstringpathrequiredbodyAnalysisCreateChildBodybodyrequiredversion_idstringcode_idstringrequiredon_collision"merge" | "surface" | "force"Returns: AnalysisCreate
One of:
AnalysisCreatedResult
show properties (2)hide properties (2)
is_createdtruerequiredanalysisAnalysisrequiredThe created analysis.
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
AnalysisCollisionResult
show properties (2)hide properties (2)
is_createdfalserequiredcandidatesCollisionVersion[]requiredExisting versions of this code in the project.
show properties (19)hide properties (19)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
analysis_metaAnalysisMetadatarequiredThe analysis this version belongs to.
show properties (5)hide properties (5)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
on_collision"fork" | "merge" | "view"requiredThe suggested way to reuse this version.
fork
POST /v1/analyses/{analysis_id}/fork
Copy a version of another user's analysis into a new analysis owned by the caller.
const result = await client.analyses.fork(analysisId);Arguments:
analysisIdstringpathrequiredbodyVersionIdentifierBodybody{}version_idstringReturns: Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge
POST /v1/analyses/merge
Merge one version's findings into another, as a new version.
const result = await client.analyses.merge(body);Arguments:
bodyAnalysisMergeBodybodyrequiredfrom_version_idstringrequiredto_version_idstringrequiredReturns: Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
setHead
POST /v1/analyses/{analysis_id}/head
Move an analysis's HEAD to one of its versions.
const result = await client.analyses.setHead(analysisId, body);Arguments:
analysisIdstringpathrequiredbodyAnalysisSetHeadBodybodyrequiredversion_idstringrequiredReturns: Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
lineage
GET /v1/analyses/{analysis_id}/lineage
Get the parent lineage of an analysis. HEAD is used by default as the leaf.
const result = await client.analyses.lineage(analysisId);Arguments:
analysisIdstringpathrequiredqueryVersionIdentifierParamqueryversion_idstringReturns: ResultsResponse<LineageEntry>
show properties (1)hide properties (1)
resultsLineageEntry[]requiredshow properties (10)hide properties (10)
idstringrequiredtriggerstringrequiredcode_idstringrequiredn_findingsnumberrequiredn_remediationsnumberrequiredcreated_atstringrequiredis_headbooleanrequiredparent_indexnumber | nullrequiredparent_version_idstring | nullrequiredmerged_from_version_idstring | nullrequiredentrypoints
GET /v1/analyses/{analysis_id}/entrypoints
A version's entrypoints and their pipeline status.
const result = await client.analyses.entrypoints(analysisId);Arguments:
analysisIdstringpathrequiredqueryVersionIdentifierParamqueryversion_idstringReturns: ResultsResponse<EntryPoint>
show properties (1)hide properties (1)
resultsEntryPoint[]requiredshow properties (6)hide properties (6)
nodeGraphSnapshotNoderequiredThe entrypoint's node in the code graph.
show properties (26)hide properties (26)
idstringrequiredlanguageLanguagerequiredfile_idstringrequiredfile_pathstringrequiredshort_idstringrequirednode_typestringrequiredsub_typestring | nullrequiredsrc_start_posnumberrequiredsrc_end_posnumberrequireddocstringstring | nullrequirednamestringrequiredmerkle_hashstringrequireddm_hashstring | nullrequiredvisibilityNodeVisibility | nullrequiredmutabilitystring | nullrequiredis_virtualbooleanrequiredis_implementedbooleanrequiredsignaturestring | nullrequiredis_callablebooleanrequiredis_declarationbooleanrequiredis_containerbooleanrequiredis_entrypointbooleanrequiredfieldsGraphFieldMetadataItem[]requiredshow properties (6)hide properties (6)
namestringrequiredtypestring | nullrequiredvaluestring | nullrequiredmutabilitystring | nullrequireddiscriminantnumber | nullrequiredconstraintsGraphConstraintItem[]requiredshow properties (2)hide properties (2)
namestringrequiredvaluestring[] | nullrequiredparametersGraphParameterStorageMetadata[]requiredshow properties (10)hide properties (10)
param_indexnumber | nullrequiredstart_bytenumberrequiredis_readbooleanrequiredis_writtenbooleanrequiredfieldstring | nullrequiredfield_start_bytenumber | nullrequiredparam_namestring | nullrequiredtype_namestring | nullrequiredbound_to_ref_posnumber | nullrequiredbound_to_return_indexnumber | nullrequiredreturnsGraphReturnStorageMetadata[]requiredshow properties (7)hide properties (7)
param_indnumberrequiredparam_namestring | nullrequiredtype_namestring | nullrequiredbound_to_fieldstring | nullrequiredbound_to_param_indexnumber | nullrequiredbound_to_ref_posnumber | nullrequiredbound_to_return_indexnumber | nullrequiredlow_level_kindsGraphLowLevelKind[]requiredshow properties (2)hide properties (2)
kindLowLevelKindrequireddepthnumberrequiredcalls between the node and the nearest occurrence; 0 when the node does it itself
is_carriedbooleanrequiredWhether it was analyzed in the parent.
is_analyzedbooleanrequiredWhether it was ever analyzed.
is_analyzed_in_currentbooleanrequiredWhether it was analyzed in this version.
pipeline_statusAnalysisEntrypointStatusrequiredMost recent bevor security pipeline status
n_findingsnumberrequiredNumber of indings on this entrypoint.
listFindings
GET /v1/analyses/{analysis_id}/findings
A version's findings, including staged changes. Incomplete while the pipeline is running.
const result = await client.analyses.listFindings(analysisId);Arguments:
analysisIdstringpathrequiredqueryVersionIdentifierParamqueryversion_idstringReturns: ResultsResponse<Finding>
show properties (1)hide properties (1)
resultsFinding[]requiredshow properties (19)hide properties (19)
idstringrequiredcreated_atstringrequiredorigin_finding_idstringrequiredThe finding's original ID, stable across versions and edits.
is_acknowledgedbooleanrequiredWhether a user acknowledged the finding.
typestringrequiredlevelFindingLevelrequirednamestringrequiredexplanationstringrequiredrecommendationstring | nullrequiredpocstring | nullrequiredtoolstringrequiredWhat produced the finding.
node_idstringrequiredThe code graph node the finding is on.
is_borrowedbooleanrequiredWhether the finding was carried over from an earlier version.
location_idstring | nullrequiredThe source location within the node.
created_by_userUserrequiredWho created the finding.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredcode_idstringrequiredThe code version the finding is on.
versionAnalysisVersionRefrequiredThe analysis version the finding belongs to.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsFindingActionsrequiredAvailable actions to take on this finding
show properties (3)hide properties (3)
editActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
undoActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
last_event_kindFindingEventKind | nullrequiredaddFindings
POST /v1/analyses/{analysis_id}/findings
Stage findings on a version.
const result = await client.analyses.addFindings(analysisId, body);Arguments:
analysisIdstringpathrequiredbodyFindingAddManyBodybodyrequiredversion_idstringfindingsFindingCreateBody[]requiredFindingCreateBody
locationFindingLocationNodeId | FindingLocationPhysical | FindingLocationLogicalrequiredFindingLocationNodeId
strategy"node_id"requirednode_idstringlocation_idstringFindingLocationPhysical
strategy"physical"requireduristringrequiredstartLinenumberstartColumnnumberendLinenumberendColumnnumbercharOffsetnumbercharLengthnumberbyteOffsetnumberbyteLengthnumberFindingLocationLogical
strategy"logical"requiredfully_qualified_namestringrequiredtoolstringYour own annotation of a tool name. Use this to differentiate how findings entered the system and evaluate the performance of each
metadataFindingMetadataBodyFindingMetadataBody
typestringrequiredFinding type
levelFindingLevelrequiredFinding severity
namestringrequiredexplanationstringrequiredrecommendationstringpocstringReturns: ResultsResponse<Finding>
show properties (1)hide properties (1)
resultsFinding[]requiredshow properties (19)hide properties (19)
idstringrequiredcreated_atstringrequiredorigin_finding_idstringrequiredThe finding's original ID, stable across versions and edits.
is_acknowledgedbooleanrequiredWhether a user acknowledged the finding.
typestringrequiredlevelFindingLevelrequirednamestringrequiredexplanationstringrequiredrecommendationstring | nullrequiredpocstring | nullrequiredtoolstringrequiredWhat produced the finding.
node_idstringrequiredThe code graph node the finding is on.
is_borrowedbooleanrequiredWhether the finding was carried over from an earlier version.
location_idstring | nullrequiredThe source location within the node.
created_by_userUserrequiredWho created the finding.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredcode_idstringrequiredThe code version the finding is on.
versionAnalysisVersionRefrequiredThe analysis version the finding belongs to.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsFindingActionsrequiredAvailable actions to take on this finding
show properties (3)hide properties (3)
editActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
undoActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
last_event_kindFindingEventKind | nullrequiredtransitions
GET /v1/analyses/{analysis_id}/transitions
How findings changed between a version and its parent.
const result = await client.analyses.transitions(analysisId);Arguments:
analysisIdstringpathrequiredqueryVersionIdentifierParamqueryversion_idstringReturns: ResultsResponse<FindingTransition>
show properties (1)hide properties (1)
resultsFindingTransition[]requiredshow properties (8)hide properties (8)
idstringrequiredcreated_atstringrequiredbefore_versionAnalysisVersionRefrequiredshow properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredafter_versionAnalysisVersionRefrequiredshow properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredkindFindingTransitionKindrequiredHow the finding changed.
before_findingFindingBare | nullrequiredThe finding before the change.
show properties (11)hide properties (11)
idstringrequiredcreated_atstringrequiredorigin_finding_idstringrequiredThe finding's original ID, stable across versions and edits.
is_acknowledgedbooleanrequiredWhether a user acknowledged the finding.
typestringrequiredlevelFindingLevelrequirednamestringrequiredexplanationstringrequiredrecommendationstring | nullrequiredpocstring | nullrequiredtoolstringrequiredWhat produced the finding.
after_findingFindingBare | nullrequiredThe finding after the change.
show properties (11)hide properties (11)
idstringrequiredcreated_atstringrequiredorigin_finding_idstringrequiredThe finding's original ID, stable across versions and edits.
is_acknowledgedbooleanrequiredWhether a user acknowledged the finding.
typestringrequiredlevelFindingLevelrequirednamestringrequiredexplanationstringrequiredrecommendationstring | nullrequiredpocstring | nullrequiredtoolstringrequiredWhat produced the finding.
changed_fieldsstring[]requiredused when comparing staged changes
run
POST /v1/analyses/{analysis_id}/run
Run the security pipeline on a version's entrypoints. Returns once the run is queued.
const result = await client.analyses.run(analysisId);Arguments:
analysisIdstringpathrequiredbodyAnalysisRunBodybodyOne of:
AnalysisRunStandardBody
version_idstringmode"all" | "first_party"requiredAnalysisRunExplicitBody
version_idstringmode"explicit"requiredscopesstring[]requiredReturn type by call:
withStreaming: true→EventResource<Analysis, AnalysisEventData>withStreaming: false→Analysis
show properties (6)hide properties (6)
idstringrequirednamestringrequiredcreated_atstringrequireduserUserrequiredThe analysis owner.
show properties (4)hide properties (4)
idstringrequiredis_selfbooleanrequiredcreated_atstringrequiredusernamestringrequiredis_ownerbooleanrequiredWhether the caller owns this analysis.
versionAnalysisVersionrequiredThe requested version, HEAD by default.
show properties (17)hide properties (17)
idstringrequiredcreated_atstringrequiredtriggerAnalysisTriggerrequiredHow this version was created.
n_findingsnumberrequiredFindings on this version, including staged changes.
n_remediationsnumberrequiredFindings from the parent version dropped because their code changed.
is_headbooleanrequiredWhether this is the analysis's HEAD.
n_pipeline_processingnumberrequiredNumber of entrypoints currently being processed by Bevor internal pipeline.
n_pipeline_failednumberrequiredNumber of entrypoints that have failed the Bevor internal pipeline
n_pipeline_succeedednumberrequiredNumber of entrypoints that have successfully ran the Bevor internal pipeline
code_versionCodeVersionrequiredThe code this version analyzes.
show properties (8)hide properties (8)
idstringrequiredchain_idnumber | nullrequiredThe chain the contract is deployed on.
version_methodCodeVersionMethodrequiredHow the code was sourced.
version_fingerprintstringrequiredUniquely identifies this code.
statusCodeVersionStatusrequiredProcessing status of the code.
branchstring | nullrequiredcommitGithubCommit | nullrequiredshow properties (4)hide properties (4)
shastringrequiredauthorstringrequiredmessagestringrequiredtimestampstringrequiredrepositoryGithubRepository | nullrequiredshow properties (6)hide properties (6)
idnumberrequirednamestringrequiredis_privatebooleanrequiredaccountGithubAccountrequiredshow properties (4)hide properties (4)
idnumberrequiredloginstringrequiredtypestringrequiredavatar_urlstringrequiredfull_namestringrequiredFull repository name: owner/repo-name
urlstringrequiredGitHub repository URL
merged_from_versionAnalysisVersionRef | nullrequiredThe version merged into this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_from_versionAnalysisVersionRef | nullrequiredThe version this one was forked from.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredparent_versionAnalysisVersionRef | nullrequiredThe previous version in this analysis.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredchild_versionsAnalysisVersionRef[]requiredVersions built on this one.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredmerged_versionsAnalysisVersionRef[]requiredVersions this one was merged into.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredforked_versionsAnalysisVersionRef[]requiredForks of this version.
show properties (2)hide properties (2)
idstringrequiredanalysis_idstringrequiredactionsAnalysisActionsrequiredshow properties (8)hide properties (8)
forkActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
create_childActionDetailsrequiredAdd a version for new code on top of this one.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
deleteActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
run_pipelineActionDetailsrequiredRun Bevor internal pipeline. Can be used to retry failures as well.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_toActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
merge_fromActionDetailsrequiredAdd, edit, or delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
alter_findingsActionDetailsrequiredEdit, add, delete findings.
show properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
set_as_headActionDetailsrequiredshow properties (2)hide properties (2)
is_allowedbooleanrequiredWhether the caller can perform the action.
reasonsstring[]requiredreasons why action is not allowed, if applicable.
Scoped access
client.analyses.with(analysisId) returns these methods with analysisId already bound.

