> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/developer-tools-and-resources/api-reference/auto-testing-policies-apis/adding-new-test-to-the-policy.md).

# Adding new Test to the policy

{% openapi src="/files/VBPTHz32gf6kg23zl1Yz" path="/policies/{policyId}/test" method="post" %}
[swagger.yaml](https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-71a7b53bf4c9b1b16b02074169344b7d3948c267%2Fswagger.yaml?alt=media)
{% endopenapi %}
