---
title: "Get innersource vulnerability sync status for an enterprise"
method: GET
path: "/enterprises/{enterprise}/innersource-vulnerabilities/sync/status/{job_id}"
tags: ["enterprise-admin"]
---

# Get innersource vulnerability sync status for an enterprise

`GET /enterprises/{enterprise}/innersource-vulnerabilities/sync/status/{job_id}`

Get the status of an asynchronous innersource vulnerability sync operation for an enterprise.
Returns 202 with a `Retry-After` header while the sync is still processing, or 200 with
the full sync results once complete.

This endpoint does not support OAuth apps or personal access tokens.

## Path parameters

- `enterprise` string, required
- `job_id` string, required

## Response `200`

Sync operation completed

- union
  - ExternalVulnerabilitySyncResult — Result of an external vulnerability synchronization operation
    - `processed` integer, required — Total number of vulnerabilities processed
    - `created` integer, required — Number of new vulnerabilities created
    - `updated` integer, required — Number of existing vulnerabilities updated
    - `withdrawn` integer, required — Number of vulnerabilities marked as withdrawn
    - `errors` integer, required — Number of vulnerabilities that failed to process
    - `results` object[], required — Detailed result for each processed vulnerability
      - `external_id` string, required — The external ID of the vulnerability (corresponds to the `id` field in the request payload)
      - `status` 'created' | 'updated' | 'withdrawn' | 'error', required — The processing status
      - `ghsa_id` string — The advisory ID assigned to the vulnerability. For innersource vulnerabilities this is a GHIS ID. Present for successful operations.
      - `error` string — Error message (present only when status is 'error')
  - object
    - `status` 'error'
    - `error` string

## Other responses

- `202` — Sync operation is still processing
- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
