Export

This document uses the REST API. For more details, see the Authentication for API page.

Get export status

get

Get an export job status

Required permissions

  • View Organization reports (org.report.read)
Path parameters
org_idstring · uuidRequired

Org ID

export_idstring · uuidRequired

Unique export identifier

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
Getting an export job status
application/vnd.api+json
get
GET /rest/orgs/{org_id}/jobs/export/{export_id} HTTP/1.1
Host: api.snyk.io
Accept: */*
{
  "data": {
    "attributes": {
      "created": "2025-07-31T07:29:49.279Z",
      "formats": [
        "csv"
      ],
      "status": "PENDING"
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
  }
}

Start an export

post

Create and start an export for an org

Required permissions

  • View Organization reports (org.report.read)
Path parameters
org_idstring · uuidRequired

Org ID

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
include_deletedstringOptional

Optional parameter to include deleted issues in results

include_deactivatedstringOptional

Optional parameter to include disabled issues in results

Body
Responses
202
Created an Export successfully
application/vnd.api+json
post
POST /rest/orgs/{org_id}/export HTTP/1.1
Host: api.snyk.io
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 548

{
  "data": {
    "attributes": {
      "columns": [
        "ISSUE_SEVERITY_RANK",
        "ISSUE_SEVERITY",
        "SCORE",
        "PROBLEM_TITLE",
        "CVE",
        "CWE",
        "PROJECT_NAME",
        "PROJECT_URL",
        "EXPLOIT_MATURITY",
        "AUTOFIXABLE",
        "FIRST_INTRODUCED",
        "PRODUCT_NAME",
        "ISSUE_URL",
        "ISSUE_STATUS_INDICATOR",
        "ISSUE_TYPE"
      ],
      "dataset": "issue_detail",
      "destination": {
        "file_name": "test_export",
        "type": "snyk"
      },
      "filters": {
        "issues": {
          "introduced": {
            "from": "2024-01-01T00:00:00Z",
            "to": "2024-01-31T00:00:00Z"
          }
        },
        "projects": {
          "environment": [
            "BACKEND",
            "EXTERNAL"
          ],
          "lifecycle": [
            "PRODUCTION"
          ]
        }
      },
      "formats": [
        "csv"
      ]
    },
    "type": "resource"
  }
}
{
  "data": {
    "attributes": {
      "created": "2022-01-14T00:23:50Z"
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "links": {
      "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/jobs/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
    },
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  }
}

Get export results

get

Get an export results

Required permissions

  • View Organization reports (org.report.read)
Path parameters
org_idstring · uuidRequired

Org ID

export_idstring · uuidRequired

Unique export identifier

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
Getting an export job results
application/vnd.api+json
get
GET /rest/orgs/{org_id}/export/{export_id} HTTP/1.1
Host: api.snyk.io
Accept: */*
{
  "data": {
    "attributes": {
      "created": "2025-07-31T07:29:49.279Z",
      "finished": "2025-07-31T07:29:49.279Z",
      "formats": [
        "csv"
      ],
      "introduced_date_range": {
        "from": "2025-07-31T07:29:49.279Z",
        "to": "2025-07-31T07:29:49.279Z"
      },
      "results": [
        {}
      ],
      "row_count": 1,
      "status": "PENDING",
      "updated_date_range": {
        "from": "2025-07-31T07:29:49.279Z",
        "to": "2025-07-31T07:29:49.279Z"
      }
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
  }
}

Get export status

get

Get an export job status

Required permissions

  • View reports (group.report.read)
Path parameters
group_idstring · uuidRequired

Group ID

export_idstring · uuidRequired

Unique export identifier

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
Getting an export job status
application/vnd.api+json
get
GET /rest/groups/{group_id}/jobs/export/{export_id} HTTP/1.1
Host: api.snyk.io
Accept: */*
{
  "data": {
    "attributes": {
      "created": "2025-07-31T07:29:49.279Z",
      "formats": [
        "csv"
      ],
      "status": "PENDING"
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
  }
}

Start an export

post

Create and start an export for a group

Required permissions

  • View reports (group.report.read)
Path parameters
group_idstring · uuidRequired

Group ID

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
include_deletedstringOptional

Optional parameter to include deleted issues in results

include_deactivatedstringOptional

Optional parameter to include disabled issues in results

Body
Responses
202
Created an Export successfully
application/vnd.api+json
post
POST /rest/groups/{group_id}/export HTTP/1.1
Host: api.snyk.io
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 647

{
  "data": {
    "attributes": {
      "columns": [
        "ISSUE_SEVERITY_RANK",
        "ISSUE_SEVERITY",
        "SCORE",
        "PROBLEM_TITLE",
        "CVE",
        "CWE",
        "PROJECT_NAME",
        "PROJECT_URL",
        "EXPLOIT_MATURITY",
        "AUTOFIXABLE",
        "FIRST_INTRODUCED",
        "PRODUCT_NAME",
        "ISSUE_URL",
        "ISSUE_STATUS_INDICATOR",
        "ISSUE_TYPE"
      ],
      "dataset": "issue_detail",
      "destination": {
        "file_name": "test_export",
        "type": "snyk"
      },
      "filters": {
        "general": {
          "orgs": [
            "985cdc6d-a88f-4af8-aa8b-37b22e2425aa",
            "4aa34312-7ded-4fd7-bca8-93eaab3e08d5"
          ]
        },
        "issues": {
          "introduced": {
            "from": "2024-01-01T00:00:00Z",
            "to": "2024-01-31T00:00:00Z"
          }
        },
        "projects": {
          "environment": [
            "BACKEND",
            "EXTERNAL"
          ],
          "lifecycle": [
            "PRODUCTION"
          ]
        }
      },
      "formats": [
        "csv"
      ]
    },
    "type": "resource"
  }
}
{
  "data": {
    "attributes": {
      "created": "2022-01-14T00:23:50Z"
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "links": {
      "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/jobs/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
    },
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  }
}

Get export results

get

Get an export results

Required permissions

  • View reports (group.report.read)
Path parameters
group_idstring · uuidRequired

Group ID

export_idstring · uuidRequired

Unique export identifier

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
Getting an export job results
application/vnd.api+json
get
GET /rest/groups/{group_id}/export/{export_id} HTTP/1.1
Host: api.snyk.io
Accept: */*
{
  "data": {
    "attributes": {
      "created": "2025-07-31T07:29:49.279Z",
      "finished": "2025-07-31T07:29:49.279Z",
      "formats": [
        "csv"
      ],
      "introduced_date_range": {
        "from": "2025-07-31T07:29:49.279Z",
        "to": "2025-07-31T07:29:49.279Z"
      },
      "results": [
        {}
      ],
      "row_count": 1,
      "status": "PENDING",
      "updated_date_range": {
        "from": "2025-07-31T07:29:49.279Z",
        "to": "2025-07-31T07:29:49.279Z"
      }
    },
    "id": "d5b640e5-d88c-4c17-9bf0-93597b7a1ce2",
    "type": "resource"
  },
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "self": "/orgs/826e79b7-0073-44c3-a5ea-e0aa8a3dbf38/export/4d593250-aaf3-48ec-bf5a-1d9a7c0f80db"
  }
}

Last updated

Was this helpful?