---
title: "Changes to Generate AI Template"
method: POST
path: "/v1/template/ai"
---

# Changes to Generate AI Template

`POST /v1/template/ai`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 24 revisions.

- **2025-08-13** `c41cd7ae7718`: 12 warning, 10 info
- **2024-09-22** `407b73d9ce28`: 1 info
- **2024-01-31** `4f557b176ebd`: 2 info
- **2023-12-06** `35be9c1301b7`: 1 info
- **2023-12-05** `5c3748c387f7`: 3 breaking, 11 warning, 9 info

## Changes

- **2025-08-13** `c41cd7ae7718`: 12 warning, 10 info
  - removed the optional property `completion` from the response with the `400` status
  - removed the optional property `completion` from the response with the `401` status
  - removed the optional property `completion` from the response with the `403` status
  - removed the optional property `completion` from the response with the `500` status
  - removed the optional property `name` from the response with the `400` status
  - removed the optional property `name` from the response with the `401` status
  - removed the optional property `name` from the response with the `403` status
  - removed the optional property `name` from the response with the `500` status
  - removed the optional property `template_id` from the response with the `400` status
  - removed the optional property `template_id` from the response with the `401` status
  - removed the optional property `template_id` from the response with the `403` status
  - removed the optional property `template_id` from the response with the `500` status
  - added the new optional request property `disableAutoSave`
  - added the new optional request property `images`
  - added the new optional request property `retest`
  - added the optional property `canRun` to the response with the `200` status
  - added the optional property `comment` to the response with the `200` status
  - added the optional property `feedback` to the response with the `200` status
  - added the optional property `is_valid` to the response with the `200` status
  - added the optional property `retest` to the response with the `200` status
  - added the optional property `retry_count` to the response with the `200` status
  - added the optional property `targets` to the response with the `200` status
- **2024-09-22** `407b73d9ce28`: 1 info
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-01-31** `4f557b176ebd`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
- **2023-12-06** `35be9c1301b7`: 1 info
  - api tag `templates` added
- **2023-12-05** `5c3748c387f7`: 3 breaking, 11 warning, 9 info
  - the response property `completion` became nullable for the status `200`
  - the response property `name` became nullable for the status `200`
  - the response property `template_id` became nullable for the status `200`
  - deleted the `header` request parameter `X-Team-Id`
  - removed the request property `disableAutoSave`
  - removed the request property `images`
  - removed the request property `retest`
  - removed the optional property `canRun` from the response with the `200` status
  - removed the optional property `comment` from the response with the `200` status
  - removed the optional property `feedback` from the response with the `200` status
  - removed the optional property `is_valid` from the response with the `200` status
  - removed the optional property `retest` from the response with the `200` status
  - removed the optional property `retry_count` from the response with the `200` status
  - removed the optional property `targets` from the response with the `200` status
  - api tag `templates` removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - added the optional property `completion` to the response with the `401` status
  - added the optional property `completion` to the response with the `500` status
  - added the optional property `name` to the response with the `401` status
  - added the optional property `name` to the response with the `500` status
  - added the optional property `template_id` to the response with the `401` status
  - added the optional property `template_id` to the response with the `500` status

---

[Operation](https://skmtc.dev/projectdiscovery/apis/pdcp-api/docs/v1/template/ai/post.md) - [API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) - [Page](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/template/ai/post)
