Generated by API Evangelist
Written by API Evangelist tooling for Panther's API. It is a proposal applied on top of the contract, not a document Panther publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Panther REST Policy API
version: 1.0.0
extends: openapi/panther-policy-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 5
- target: $.paths['/policies'].get
update:
x-apievangelist-phrasing:
intent: List detection policies
effect: read
questions:
- Which detection policies are enabled and what are their severities?
- Can I list only the policies that apply to a given resource type?
instructions:
- text: List policies with severity {severity}.
slots:
severity: query.severity
- text: Find policies whose name contains {name}.
slots:
name: query.name-contains
method: generated
generated: '2026-11-18'
- target: $.paths['/policies'].post
update:
x-apievangelist-phrasing:
intent: Create a detection policy
effect: write
questions:
- How do I write a new detection policy that runs on every resource type?
- Can I run the policy's tests before saving it?
instructions:
- text: Create policy {id} with body {body} and severity {severity}.
slots:
id: requestBody.id
body: requestBody.body
severity: requestBody.severity
- text: Save policy {id} with body {body}, severity {severity} and tests {tests}.
slots:
id: requestBody.id
body: requestBody.body
severity: requestBody.severity
tests: requestBody.tests
method: generated
generated: '2026-11-18'
- target: $.paths['/policies/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a detection policy
effect: read
questions:
- What body and severity does a specific policy have?
- Can I fetch one policy by its ID?
instructions:
- text: Get policy {id}.
slots:
id: path.id
- text: Show the body and severity of policy {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/policies/{id}'].put
update:
x-apievangelist-phrasing:
intent: Create or update a detection policy
effect: write
questions:
- How do I update an existing policy's body?
- Can I change which outputs a policy sends to?
instructions:
- text: Update policy {id} with body {body} and severity {severity}.
slots:
id: path.id
body: requestBody.body
severity: requestBody.severity
- text: Replace policy {id} with body {body}, severity {severity} and outputs {outputIDs}.
slots:
id: path.id
body: requestBody.body
severity: requestBody.severity
outputIDs: requestBody.outputIDs
method: generated
generated: '2026-11-18'
- target: $.paths['/policies/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a detection policy
effect: destructive
questions:
- How do I delete a detection policy?
- Can I remove a policy by its ID?
instructions:
- text: Delete policy {id}.
slots:
id: path.id
- text: Remove detection policy {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.