---
title: "Changes to Create an agent policy"
method: POST
path: "/api/fleet/agent_policies"
---

# Changes to Create an agent policy

`POST /api/fleet/agent_policies`

> Every recorded change to this endpoint, newest first.
> 176 revisions in range; 20 not diffed.

## Timeline

Changed in 1 of 176 revisions.

- **2026-09-18** `18986b50fb8e` — 4 info

## Changes

- **2026-09-18** `18986b50fb8e` — 4 info
  - added the new optional request property `download_source_ids`
  - request property `download_source_id` deprecated
  - added the optional property `item/download_source_ids` to the response with the `200` status
  - response property `item/download_source_id` deprecated

---

[Operation](https://skmtc.dev/elastic/apis/kibana-apis/docs/api/fleet/agent_policies/post.md) · [API](https://skmtc.dev/elastic/apis/kibana-apis.md) · [Page](https://skmtc.dev/elastic/apis/kibana-apis/changes/api/fleet/agent_policies/post)
