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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

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

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json