Generated by API Evangelist
Written by API Evangelist tooling for Sage HR's API. It is a proposal applied on top of the contract, not a document Sage HR publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Sage HR Policies API
version: 1.0.0
extends: openapi/sage-hr-policies-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/leave-management/kit-days'].get
update:
x-apievangelist-phrasing:
intent: View an employee's KIT days
effect: read
questions:
- How many KIT days has an employee used under a leave policy?
- Can I see an employee's KIT days for a policy?
instructions:
- text: Show KIT days for employee {employee_id} under policy {policy_id}.
slots:
employee_id: query.employee_id
policy_id: query.policy_id
- text: List KIT days used by {employee_id} on policy {policy_id}.
slots:
employee_id: query.employee_id
policy_id: query.policy_id
method: generated
generated: '2026-11-22'
- target: $.paths['/leave-management/kit-days'].post
update:
x-apievangelist-phrasing:
intent: Add a KIT day to a leave
effect: write
questions:
- How do I add a single KIT day to an employee's leave?
- Can I record a multi-day KIT period?
instructions:
- text: Add a KIT day to employee {employee_id}'s leave on policy {policy_id} for {date}.
slots:
employee_id: requestBody.employee_id
policy_id: requestBody.policy_id
date: requestBody.date
- text: Record a KIT period from {date_from} to {date_to} for {employee_id} on policy {policy_id}.
slots:
date_from: requestBody.date_from
date_to: requestBody.date_to
employee_id: requestBody.employee_id
policy_id: requestBody.policy_id
method: generated
generated: '2026-11-22'
- target: $.paths['/leave-management/kit-days/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Approve, decline or cancel a KIT day
effect: write
questions:
- How do I approve or decline a KIT day?
- Can I cancel a KIT day that was already recorded?
instructions:
- text: Set KIT day {id} to {status}.
slots:
id: path.id
status: requestBody.status
- text: Approve KIT day {id} with status {status}.
slots:
id: path.id
status: requestBody.status
method: generated
generated: '2026-11-22'
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.