Crowdsec · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Service Blocklists API
17 actions
17 updates
phrasing
extends
openapi/crowdsec-blocklists-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Crowdsec's API. It is a proposal applied on top of the contract, not a document Crowdsec publishes.
What the actions change
x-apievangelist-phrasing
Targets 17 · first 16 shown; the file carries all of them
$.info
$.paths['/blocklists'].get
$.paths['/blocklists'].post
$.paths['/blocklists/search'].post
$.paths['/blocklists/{blocklist_id}'].get
$.paths['/blocklists/{blocklist_id}'].delete
$.paths['/blocklists/{blocklist_id}'].patch
$.paths['/blocklists/{blocklist_id}/upload'].post
$.paths['/blocklists/{blocklist_id}/ips'].post
$.paths['/blocklists/{blocklist_id}/ips/bulk_overwrite'].post
$.paths['/blocklists/{blocklist_id}/ips/delete'].post
$.paths['/blocklists/{blocklist_id}/download'].get
$.paths['/blocklists/{blocklist_id}/subscribers'].get
$.paths['/blocklists/{blocklist_id}/subscribers'].post
$.paths['/blocklists/{blocklist_id}/subscribers/{entity_id}'].delete
$.paths['/blocklists/{blocklist_id}/shares'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Service Blocklists API
version: 1.0.0
extends: openapi/crowdsec-blocklists-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 16
- target: $.paths['/blocklists'].get
update:
x-apievangelist-phrasing:
intent: List blocklists
effect: read
questions:
- Which blocklists do I own or share?
- Can I list only private blocklists?
instructions:
- text: List my blocklists.
- text: List blocklists in category {category}.
slots:
category: query.category
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists'].post
update:
x-apievangelist-phrasing:
intent: Create a blocklist
effect: write
questions:
- How do I create a blocklist of IPs?
- Can I add references and tags to a new blocklist?
instructions:
- text: Create blocklist {name} described as {description}.
slots:
name: requestBody.name
description: requestBody.description
- text: Create blocklist {name} with label {label} and description {description}.
slots:
name: requestBody.name
label: requestBody.label
description: requestBody.description
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/search'].post
update:
x-apievangelist-phrasing:
intent: Search blocklists
effect: read
questions:
- Which blocklists contain IPs from a given country?
- Can I search blocklists by behavior or source?
instructions:
- text: Search blocklists for {query}.
slots:
query: requestBody.query
- text: Find blocklists with behavior {behaviors} in countries {targeted_countries}.
slots:
behaviors: requestBody.behaviors
targeted_countries: requestBody.targeted_countries
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a blocklist's details
effect: read
questions:
- What is the description of a blocklist?
- Can I see a blocklist's details without its content?
instructions:
- text: Show blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
- text: Get the details of blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a blocklist
effect: destructive
questions:
- How do I delete a blocklist I no longer use?
- Can I force-delete a blocklist that others subscribe to?
instructions:
- text: Delete blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
- text: Force delete blocklist {blocklist_id} with force {force}.
slots:
blocklist_id: path.blocklist_id
force: query.force
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a blocklist's details
effect: write
questions:
- Can I change the description of a blocklist?
- Is it possible to set a CTI query on an existing blocklist?
instructions:
- text: Change the description of blocklist {blocklist_id} to {description}.
slots:
blocklist_id: path.blocklist_id
description: requestBody.description
- text: Set the CTI query on blocklist {blocklist_id} to {from_cti_query}.
slots:
blocklist_id: path.blocklist_id
from_cti_query: requestBody.from_cti_query
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/upload'].post
update:
x-apievangelist-phrasing:
intent: Replace a blocklist's content
effect: write
questions:
- How do I upload a new IP list to a blocklist?
- Can I ignore invalid IPs when uploading a blocklist?
instructions:
- text: Upload {file} as the content of blocklist {blocklist_id}.
slots:
file: requestBody.file
blocklist_id: path.blocklist_id
- text: Replace blocklist {blocklist_id} content with {file}, ignoring invalid IPs.
slots:
blocklist_id: path.blocklist_id
file: requestBody.file
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/ips'].post
update:
x-apievangelist-phrasing:
intent: Add IPs to a blocklist
effect: write
questions:
- How do I add IPs to an existing blocklist?
- Can I set an expiration when adding IPs to a blocklist?
instructions:
- text: Add {ips} to blocklist {blocklist_id}.
slots:
ips: requestBody.ips
blocklist_id: path.blocklist_id
- text: Add {ips} to blocklist {blocklist_id} with expiration {expiration}.
slots:
ips: requestBody.ips
blocklist_id: path.blocklist_id
expiration: requestBody.expiration
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/ips/bulk_overwrite'].post
update:
x-apievangelist-phrasing:
intent: Replace a blocklist's content
effect: write
questions:
- Can I overwrite a blocklist's content entirely?
- What happens to IPs already in the blocklist when I bulk overwrite it?
instructions:
- text: Overwrite blocklist {blocklist_id} content with {ips}.
slots:
blocklist_id: path.blocklist_id
ips: requestBody.ips
- text: Replace the entire content of blocklist {blocklist_id} with {ips}, expiring {expiration}.
slots:
blocklist_id: path.blocklist_id
ips: requestBody.ips
expiration: requestBody.expiration
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/ips/delete'].post
update:
x-apievangelist-phrasing:
intent: Remove IPs from a blocklist
effect: destructive
questions:
- How do I remove IPs from a blocklist?
- Can I delete several IPs from a blocklist at once?
instructions:
- text: Delete {ips} from blocklist {blocklist_id}.
slots:
ips: requestBody.ips
blocklist_id: path.blocklist_id
- text: Remove the listed IPs from blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/download'].get
update:
x-apievangelist-phrasing:
intent: Download a blocklist's content
effect: read
questions:
- How do I download a blocklist as plain text?
- Can I download a blocklist only if it changed since a date?
instructions:
- text: Download the content of blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
- text: Download blocklist {blocklist_id} if it changed since {if_modified_since}.
slots:
blocklist_id: path.blocklist_id
if_modified_since: header.if-modified-since
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/subscribers'].get
update:
x-apievangelist-phrasing:
intent: List who subscribes to a blocklist
effect: read
questions:
- Which organizations subscribe to my blocklist?
- Can I see the subscribers of a blocklist within my organization?
instructions:
- text: List the subscribers of blocklist {blocklist_id}.
slots:
blocklist_id: path.blocklist_id
- text: Show page {page} of blocklist {blocklist_id} subscribers.
slots:
page: query.page
blocklist_id: path.blocklist_id
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/subscribers'].post
update:
x-apievangelist-phrasing:
intent: Subscribe to a blocklist
effect: write
questions:
- How do I subscribe my engines to a blocklist?
- Can I choose the remediation type when subscribing to a blocklist?
instructions:
- text: Subscribe {entity_type} {ids} to blocklist {blocklist_id}.
slots:
entity_type: requestBody.entity_type
ids: requestBody.ids
blocklist_id: path.blocklist_id
- text: Subscribe {entity_type} {ids} to blocklist {blocklist_id} with remediation {remediation}.
slots:
entity_type: requestBody.entity_type
ids: requestBody.ids
blocklist_id: path.blocklist_id
remediation: requestBody.remediation
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/subscribers/{entity_id}'].delete
update:
x-apievangelist-phrasing:
intent: Unsubscribe from a blocklist
effect: destructive
questions:
- How do I stop my engines from using a blocklist?
- Can I unsubscribe a single engine from a blocklist shared with my organization?
instructions:
- text: Unsubscribe {entity_id} from blocklist {blocklist_id}.
slots:
entity_id: path.entity_id
blocklist_id: path.blocklist_id
- text: Stop {entity_id} from using blocklist {blocklist_id}.
slots:
entity_id: path.entity_id
blocklist_id: path.blocklist_id
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/shares'].post
update:
x-apievangelist-phrasing:
intent: Share a blocklist with other organizations
effect: write
questions:
- How do I share a blocklist with another organization?
- Can I give read-write access when sharing a blocklist?
instructions:
- text: Share blocklist {blocklist_id} with organizations {organizations}.
slots:
blocklist_id: path.blocklist_id
organizations: requestBody.organizations
- text: Give organizations {organizations} read-write access to blocklist {blocklist_id}.
slots:
organizations: requestBody.organizations
blocklist_id: path.blocklist_id
method: generated
generated: '2026-11-20'
- target: $.paths['/blocklists/{blocklist_id}/shares/{unshare_organization_id}'].delete
update:
x-apievangelist-phrasing:
intent: Unshare a blocklist with an organization
effect: destructive
questions:
- How do I stop sharing a blocklist with another organization?
- Can I force unshare a blocklist that other organizations still subscribe to?
instructions:
- text: Unshare blocklist {blocklist_id} with organization {unshare_organization_id}.
slots:
blocklist_id: path.blocklist_id
unshare_organization_id: path.unshare_organization_id
- text: Remove my organization's share of blocklist {blocklist_id} ({unshare_organization_id}).
slots:
blocklist_id: path.blocklist_id
unshare_organization_id: path.unshare_organization_id
method: generated
generated: '2026-11-20'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/crowdsec-blocklists-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
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.
A second provider on the same verified email joins the account you already have.