v1

latestOpenAPI 3.0.02026-07-249055687.1 KB
deprecated

Create a report

This endpoint is deprecated. Use the successor version instead.

Deprecated: Use /orgs/{org_slug}/full-scans instead.

Upload a lockfile to get your project analyzed by Socket. You can upload multiple lockfiles in the same request, but each filename must be unique.

The name of the file must be in the supported list.

For example, these are valid filenames: package.json, folder/package.json and deep/nested/folder/package.json.

This endpoint consumes 100 units of your quota.

This endpoint requires the following org token scopes:

  • report:write
put/report/upload

Query parameters

workspacestring

The workspace of the repository to associate the full-scan with.

Response

ID and URL of the project report

idstring required
urlstring required