---
title: "Trigger a template export job"
method: POST
path: "/jobs"
tags: ["Jobs", "Beta"]
---

# Trigger a template export job

`POST /jobs`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/jobs`
- Auth: API key in header `X-ESCAPE-API-KEY`

Schedules the same export job as the product UI (SAAS_EXPORT_TEMPLATE): PDF/report blocks, optional scan and issue scope. Use GET /jobs/{jobId} to read status and artefact download URLs when completed.

## Request body

- object
  - `blocks` object[], required: Report blocks to include, in order.
    - `kind` 'ASSETS_SUMMARY' | 'COMPLIANCE_COVERAGE' | 'COMPLIANCE_CRA' | 'COMPLIANCE_CWE' | 'COMPLIANCE_DORA' | 'COMPLIANCE_FEDRAMP' | 'COMPLIANCE_GDPR' | 'COMPLIANCE_HIPAA' | 'COMPLIANCE_HITRUST_CSF' | 'COMPLIANCE_IEC62443' | 'COMPLIANCE_ISO27001' | 'COMPLIANCE_MITRE_ATTACK' | 'COMPLIANCE_NIS2' | 'COMPLIANCE_NIST' | 'COMPLIANCE_OWASP' | 'COMPLIANCE_OWASP_ASVS' | 'COMPLIANCE_OWASP_LLM' | 'COMPLIANCE_PCI_DSS' | 'COMPLIANCE_PSD2' | 'COMPLIANCE_SOC2' | 'COMPLIANCE_WASC' | 'ISSUE_DETAIL' | 'ISSUE_LIST' | 'ISSUE_SUMMARY' | 'PROFILE_SUMMARY' | 'SCAN_HISTORY_TREND' | 'SCAN_SUMMARY', required
  - `name` string: Report name (optional).
  - `scanId` string, uuid: Restrict scope to a scan (optional).
  - `dry` boolean: If true, validates selection only and does not schedule a job.
  - `notify` boolean: If false, skip the email notification when the report is ready. Defaults to true.
  - `assetWhere` unknown
  - `profileWhere` unknown
  - `issueWhere` unknown

## Response `200`

OK

- object
  - `id` string, uuid, required: ID of the scheduled export job (template generation).

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
