---
title: "Job Blueprints"
description: "Job Blueprints"
url: "https://www.contentstack.com/docs/developers/apis/lytics-api/job-blueprints"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-20"
---

# Job Blueprints

## List job blueprints

### List job blueprints

**GET** `/v2/job-blueprint`

Lists the account's job blueprints, optionally narrowed to a single workflow.

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.
- **workflow_id** (optional)
  Only return blueprints for this workflow id

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": [
    {
      "aid": 0,
      "created": "string",
      "created_by": "string",
      "description": "string",
      "id": "string",
      "modified": "string",
      "name": "string",
      "spec": {
        "auth": "string",
        "config": {},
        "monitoring": {},
        "quiet": {}
      },
      "updated_by": "string",
      "workflow_id": "string",
      "workflow_slug": "string"
    }
  ],
  "request_id": "string",
  "status": 0
}
```

## Create job blueprint

### Create job blueprint

**POST** `/v2/job-blueprint`

Creates a new account-scoped job blueprint. workflow\_id is required; spec.config must be a JSON object. spec.auth is a soft hint re-validated against the account on save.

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "aid": 0,
    "created": "string",
    "created_by": "string",
    "description": "string",
    "id": "string",
    "modified": "string",
    "name": "string",
    "spec": {
      "auth": "string",
      "config": {},
      "monitoring": {},
      "quiet": {}
    },
    "updated_by": "string",
    "workflow_id": "string",
    "workflow_slug": "string"
  },
  "request_id": "string",
  "status": 0
}
```

## Get job blueprint

### Get job blueprint

**GET** `/v2/job-blueprint/{id}`

Retrieves a single account-scoped job blueprint by id.

#### URL Parameters

- **id** (required)
  Job blueprint ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "aid": 0,
    "created": "string",
    "created_by": "string",
    "description": "string",
    "id": "string",
    "modified": "string",
    "name": "string",
    "spec": {
      "auth": "string",
      "config": {},
      "monitoring": {},
      "quiet": {}
    },
    "updated_by": "string",
    "workflow_id": "string",
    "workflow_slug": "string"
  },
  "request_id": "string",
  "status": 0
}
```

## Update job blueprint

### Update job blueprint

**PUT** `/v2/job-blueprint/{id}`

Updates an existing job blueprint. workflow\_id is immutable; omitted fields are left unchanged.

#### URL Parameters

- **id** (required)
  Job blueprint ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "aid": 0,
    "created": "string",
    "created_by": "string",
    "description": "string",
    "id": "string",
    "modified": "string",
    "name": "string",
    "spec": {
      "auth": "string",
      "config": {},
      "monitoring": {},
      "quiet": {}
    },
    "updated_by": "string",
    "workflow_id": "string",
    "workflow_slug": "string"
  },
  "request_id": "string",
  "status": 0
}
```

## Delete job blueprint

### Delete job blueprint

**DELETE** `/v2/job-blueprint/{id}`

Deletes an account-scoped job blueprint. Jobs already created from it are unaffected.

#### URL Parameters

- **id** (required)
  Job blueprint ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {},
  "request_id": "string",
  "status": 0
}
```