---
title: "POST /v1b3/projects/{projectId}/jobs/{jobId}:snapshot"
method: POST
path: "/v1b3/projects/{projectId}/jobs/{jobId}:snapshot"
tags: ["projects"]
---

# POST /v1b3/projects/{projectId}/jobs/{jobId}:snapshot

`POST /v1b3/projects/{projectId}/jobs/{jobId}:snapshot`

Snapshot the state of a streaming job.

## Path parameters

- `projectId` string, required
- `jobId` string, required

## Request body

- SnapshotJobRequest — Request to create a snapshot of a job.
  - `location` string — The location that contains this job.
  - `description` string — User specified description of the snapshot. Maybe empty.
  - `ttl` string, google-duration — TTL for the snapshot.
  - `snapshotSources` boolean — If true, perform snapshots for sources which support this.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataflow.md) · [All operations](https://skmtc.net/google/apis/dataflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataflow/versions/f065de7a0dba/schema)
