---
title: "Create a report"
method: PUT
path: "/report/upload"
tags: ["deprecated"]
deprecated: true
---

# Create a report

`PUT /report/upload`

> **Deprecated.**

**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/createorgfullscan) 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

## Query parameters

- `workspace` string

## Response `200`

ID and URL of the project report

- object
  - `id` string, required
  - `url` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
