Socket · Example Payload

Socket Create Full Scan Example

Supply Chain SecurityOpen Source SecuritySoftware Composition AnalysisSCAMalware DetectionDependency ScanningSBOMnpmPyPIGoMavenCargoNuGetRubyGemsDeveloper Security

Socket Create Full Scan Example is an example object payload from Socket, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.socket.dev/v0/orgs/api-evangelist/full-scans?repo=acme-app&branch=main&commit_hash=abc123&pull_request=42",
    "headers": {
      "Authorization": "Basic c29ja2V0X3lvdXJfYXBpX2tleTo="
    },
    "form_data": [
      { "field": "package.json", "filename": "package.json" },
      { "field": "package-lock.json", "filename": "package-lock.json" },
      { "field": "requirements.txt", "filename": "requirements.txt" }
    ]
  },
  "response": {
    "status": 200,
    "body": {
      "id": "fs_01HZX9YV7C9KJG6Z5W6PT2K4QA",
      "organization_id": "org_01HABCDEFG",
      "repository_id": "repo_01HXYZ",
      "branch": "main",
      "commit_hash": "abc123",
      "pull_request": 42,
      "committer": "kinlane",
      "created_at": "2026-05-25T17:42:00Z",
      "report_url": "https://socket.dev/dashboard/org/api-evangelist/repo/acme-app/full-scan/fs_01HZX9YV7C9KJG6Z5W6PT2K4QA"
    }
  }
}