Deputy · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Deputy V1 Resource Leave Rules API
17 actions
17 updates
phrasing
extends
openapi/deputy-leaverules-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Deputy's API. It is a proposal applied on top of the contract, not a document Deputy publishes.
What the actions change
x-apievangelist-phrasing
Targets 17 · first 16 shown; the file carries all of them
$.info
$.paths['/resource/LeaveRules'].get
$.paths['/resource/LeaveRules'].put
$.paths['/resource/LeaveRules'].post
$.paths['/resource/LeaveRules/BULK'].post
$.paths['/resource/LeaveRules/INFO'].get
$.paths['/resource/LeaveRules/PREDICT'].post
$.paths['/resource/LeaveRules/QUERY'].post
$.paths['/resource/LeaveRules/{id}'].get
$.paths['/resource/LeaveRules/{id}'].put
$.paths['/resource/LeaveRules/{id}'].post
$.paths['/resource/LeaveRules/{id}'].delete
$.paths['/resource/LeaveRules/{id}/COMMENTS'].get
$.paths['/resource/LeaveRules/{id}/COMMENTS'].post
$.paths['/resource/LeaveRules/{id}/COMMENTS/{commentId}'].delete
$.paths['/resource/LeaveRules/{id}/HISTORY'].get
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 Deputy V1 Resource Leave Rules API
version: 1.0.0
extends: openapi/deputy-leaverules-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 16
- target: $.paths['/resource/LeaveRules'].get
update:
x-apievangelist-phrasing:
intent: List leave rules
effect: read
questions:
- What leave rules are set up for our leave policies?
- Can I see all leave entitlement rules in one list?
instructions:
- text: List all leave rules.
- text: Show every leave entitlement rule we have.
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules'].put
update:
x-apievangelist-phrasing:
intent: Create a leave rule with a PUT
effect: write
questions:
- How do I create a leave rule using the legacy PUT endpoint?
- Can I replace a leave rule by its ID with a PUT request?
instructions:
- text: Create leave rule {name} of type {type} with ID {id}.
slots:
name: requestBody.Name
type: requestBody.Type
id: requestBody.Id
- text: PUT a new leave entitlement rule {id} named {name}, type {type}, modified {modified}.
slots:
id: requestBody.Id
name: requestBody.Name
type: requestBody.Type
modified: requestBody.Modified
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules'].post
update:
x-apievangelist-phrasing:
intent: Create a leave rule with a POST
effect: write
questions:
- Can I create a leave rule with a POST to the legacy endpoint?
- What does the POST create call need for a new leave entitlement rule?
instructions:
- text: POST a new leave rule {name} of type {type} with ID {id}.
slots:
name: requestBody.Name
type: requestBody.Type
id: requestBody.Id
- text: Create a leave entitlement rule {id} called {name}, type {type}, modified {modified}.
slots:
id: requestBody.Id
name: requestBody.Name
type: requestBody.Type
modified: requestBody.Modified
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/BULK'].post
update:
x-apievangelist-phrasing:
intent: Bulk create or update leave rules
effect: write
questions:
- How do I create many leave rules in one request?
- Can I update existing leave entitlement rules in bulk?
instructions:
- text: Bulk create or update these leave rules.
- text: Upsert this batch of leave entitlement rules.
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/INFO'].get
update:
x-apievangelist-phrasing:
intent: Get leave rule field metadata
effect: read
questions:
- Which fields and types does a leave rule record have?
- What associations exist on the leave rules resource?
instructions:
- text: Show the field metadata for leave rules.
- text: Get the leave rule field list and types.
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/PREDICT'].post
update:
x-apievangelist-phrasing:
intent: Predict-match a leave rule
effect: read
questions:
- Can I find an existing leave rule before creating one?
- Which leave entitlement rule matches a partial payload?
instructions:
- text: Predict-match leave rule {name} of type {type} with ID {id}.
slots:
name: requestBody.Name
type: requestBody.Type
id: requestBody.Id
- text: Find the existing leave entitlement rule matching {name}, type {type}, modified {modified}.
slots:
name: requestBody.Name
type: requestBody.Type
modified: requestBody.Modified
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/QUERY'].post
update:
x-apievangelist-phrasing:
intent: Search leave rules
effect: read
questions:
- How do I find leave rules that grant a certain entitlement?
- Can I sort and page through leave entitlement rules?
instructions:
- text: Search leave rules matching {search}.
slots:
search: requestBody.search
- text: Find leave entitlement rules sorted by {sort}, {max} at a time.
slots:
sort: requestBody.sort
max: requestBody.max
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a leave rule
effect: read
questions:
- What entitlement does a specific leave rule grant?
- Can I fetch one leave rule by its ID?
instructions:
- text: Get leave rule {id}.
slots:
id: path.id
- text: Show the leave entitlement rule with ID {id}.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}'].put
update:
x-apievangelist-phrasing:
intent: Replace a leave rule (legacy PUT)
effect: write
questions:
- How do I fully replace a leave rule with a PUT request?
- Can I overwrite a leave entitlement rule by its ID?
instructions:
- text: PUT leave rule {id} named {name}, type {type}, modified {modified}.
slots:
id: path.id
name: requestBody.Name
type: requestBody.Type
modified: requestBody.Modified
- text: Replace the entire leave entitlement rule {id} with {name}, type {type}.
slots:
id: path.id
name: requestBody.Name
type: requestBody.Type
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update a leave rule (legacy POST)
effect: write
questions:
- Can I partially update a leave rule with a POST to the legacy endpoint?
- What does the POST update call need for an existing leave entitlement rule?
instructions:
- text: 'POST an update to leave rule {id}: name {name}, type {type}, modified {modified}.'
slots:
id: path.id
name: requestBody.Name
type: requestBody.Type
modified: requestBody.Modified
- text: Patch the existing leave entitlement rule {id} with {name}, type {type}.
slots:
id: path.id
name: requestBody.Name
type: requestBody.Type
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a leave rule
effect: destructive
questions:
- How do I delete a leave rule?
- Can I remove a leave entitlement rule by its ID?
instructions:
- text: Delete leave rule {id}.
slots:
id: path.id
- text: Remove the leave entitlement rule with ID {id}.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}/COMMENTS'].get
update:
x-apievangelist-phrasing:
intent: List comments on a leave rule
effect: read
questions:
- What comments have been left on a leave rule?
- Can I see the notes attached to a leave entitlement rule?
instructions:
- text: List comments on leave rule {id}.
slots:
id: path.id
- text: Show the notes on leave entitlement rule {id}.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}/COMMENTS'].post
update:
x-apievangelist-phrasing:
intent: Add a comment to a leave rule
effect: write
questions:
- How do I add a comment to a leave rule?
- Can I annotate a leave entitlement rule with a note?
instructions:
- text: Add comment {comment} to leave rule {id}.
slots:
comment: requestBody.Comment
id: path.id
- text: Comment {comment} on leave entitlement rule {id}.
slots:
comment: requestBody.Comment
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}/COMMENTS/{commentId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a comment on a leave rule
effect: destructive
questions:
- How do I remove a comment from a leave rule?
- Can I delete a note on a leave entitlement rule?
instructions:
- text: Delete comment {commentId} from leave rule {id}.
slots:
commentId: path.commentId
id: path.id
- text: Remove the note {commentId} on leave entitlement rule {id}.
slots:
commentId: path.commentId
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}/HISTORY'].get
update:
x-apievangelist-phrasing:
intent: Get change history of a leave rule
effect: read
questions:
- Who changed a leave rule and when?
- Can I see the change history of a leave entitlement rule?
instructions:
- text: Show the change history of leave rule {id}.
slots:
id: path.id
- text: List the edits made to leave entitlement rule {id}.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/resource/LeaveRules/{id}/HISTORY/travel/{timestamp}'].get
update:
x-apievangelist-phrasing:
intent: Get a leave rule as it was at a past time
effect: read
questions:
- Can I see a leave rule as it existed before a change?
- What did a leave entitlement rule look like at a given timestamp?
instructions:
- text: Get leave rule {id} as it was at {timestamp}.
slots:
id: path.id
timestamp: path.timestamp
- text: Travel to leave entitlement rule {id} at {timestamp} and show it.
slots:
id: path.id
timestamp: path.timestamp
method: generated
generated: '2026-11-17'
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/deputy-leaverules-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.