---
title: "Create job blueprint"
method: POST
path: "/job-blueprint"
tags: ["Job Blueprints"]
---

# Create job blueprint

`POST /job-blueprint`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/job-blueprint`
- Auth: API key in header `Authorization`

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` string

## Request body

- ModelsJobBlueprintResponse
  - `aid` integer
  - `created` string
  - `created_by` string
  - `description` string
  - `id` string
  - `modified` string
  - `name` string
  - `spec` ModelsJobBlueprintSpec
    - `auth` string
    - `config` object
    - `monitoring` object
    - `quiet` object
  - `updated_by` string
  - `workflow_id` string
  - `workflow_slug` string

## Response `201`

Created job blueprint

- object
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
    - `aid` integer
    - `created` string
    - `created_by` string
    - `description` string
    - `id` string
    - `modified` string
    - `name` string
    - `spec` ModelsJobBlueprintSpec
      - `auth` string
      - `config` object
      - `monitoring` object
      - `quiet` object
    - `updated_by` string
    - `workflow_id` string
    - `workflow_slug` string
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/job-blueprint/post.md)

---

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