Perk · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cost centers API
8 actions
8 updates
phrasing
extends
openapi/perk-cost-centers-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Perk's API. It is a proposal applied on top of the contract, not a document Perk publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/cost_centers'].get
$.paths['/cost_centers'].post
$.paths['/cost_centers/bulk_update'].patch
$.paths['/cost_centers/{id}'].get
$.paths['/cost_centers/{id}'].patch
$.paths['/cost_centers/{id}/access'].put
$.paths['/cost_centers/{id}/users'].put
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 Cost centers API
version: 1.0.0
extends: openapi/perk-cost-centers-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/cost_centers'].get
update:
x-apievangelist-phrasing:
intent: List cost centers
effect: read
questions:
- What cost centers exist in my organization?
- Where can I see every cost center at once?
instructions:
- text: List all cost centers in my organization.
- text: Show me every cost center and its type.
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers'].post
update:
x-apievangelist-phrasing:
intent: Create a cost center
effect: write
questions:
- How do I add a new cost center with an approver?
- Can a new cost center apply to all companies?
instructions:
- text: Create a cost center named {name}.
slots:
name: requestBody.name
- text: Create cost center {name} with approver {approver_id} and ERP code {erp_code}.
slots:
name: requestBody.name
approver_id: requestBody.approver_id
erp_code: requestBody.erp_code
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers/bulk_update'].patch
update:
x-apievangelist-phrasing:
intent: Archive or retype many cost centers at once
effect: write
questions:
- Can I archive several cost centers in one request?
- Is there a way to change the cost object type for a batch of cost centers?
instructions:
- text: Archive cost centers {id_list}.
slots:
id_list: requestBody.id_list
- text: Set the type of cost centers {id_list} to {type}.
slots:
id_list: requestBody.id_list
type: requestBody.type
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get one cost center's details
effect: read
questions:
- Who is the approver and delegate on a specific cost center?
- Which users are assigned to a given cost center?
instructions:
- text: Show cost center {id}.
slots:
id: path.id
- text: Get the approver, delegate and users of cost center {id}.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a cost center
effect: write
questions:
- How do I rename an existing cost center?
- Can I set a delegate with an expiry date on a single cost center?
instructions:
- text: Rename cost center {id} to {name}.
slots:
id: path.id
name: requestBody.name
- text: Make {delegate_id} the delegate on cost center {id} until {delegate_expiry}.
slots:
delegate_id: requestBody.delegate_id
id: path.id
delegate_expiry: requestBody.delegate_expiry
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers/{id}/access'].put
update:
x-apievangelist-phrasing:
intent: Set who can use a cost center
effect: write
questions:
- Can I restrict a cost center to specific groups?
- What access types can a cost center have?
instructions:
- text: Set access on cost center {id} to {access_type}.
slots:
id: path.id
access_type: requestBody.access_type
- text: Limit cost center {id} to groups {group_ids} with access type {access_type}.
slots:
id: path.id
group_ids: requestBody.group_ids
access_type: requestBody.access_type
method: generated
generated: '2026-11-16'
- target: $.paths['/cost_centers/{id}/users'].put
update:
x-apievangelist-phrasing:
intent: Replace the users assigned to a cost center
effect: write
questions:
- How do I replace the full list of users on a cost center?
- Will users I leave out be removed from the cost center?
instructions:
- text: Assign exactly users {user_ids} to cost center {id}.
slots:
user_ids: requestBody.user_ids
id: path.id
- text: Remove everyone from cost center {id}.
slots:
id: path.id
method: generated
generated: '2026-11-16'
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/perk-cost-centers-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.