Spotnana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Company Departments API

7 actions 7 updates phrasing extends openapi/spotnana-departments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Spotnana's API. It is a proposal applied on top of the contract, not a document Spotnana publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v2/companies/{companyId}/departments'].get
$.paths['/v2/companies/{companyId}/departments'].post
$.paths['/v2/companies/{companyId}/departments/{departmentId}'].get
$.paths['/v2/companies/{companyId}/departments/{departmentId}'].put
$.paths['/v2/companies/{companyId}/departments/{departmentId}'].delete
$.paths['/v3/companies/{companyId}/departments/list'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Company Departments API
  version: 1.0.0
extends: openapi/spotnana-departments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v2/companies/{companyId}/departments'].get
  update:
    x-apievangelist-phrasing:
      intent: List a company's departments (v2)
      effect: read
      questions:
      - Which departments exist in my company?
      - Can I look up a department by its external ID?
      instructions:
      - text: List departments in company {companyId}.
        slots:
          companyId: path.companyId
      - text: Find the department in {companyId} with external ID {externalId}.
        slots:
          companyId: path.companyId
          externalId: query.externalId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/departments'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a department
      effect: write
      questions:
      - How do I add a new department to a company?
      - Can I give a new department an external ID?
      instructions:
      - text: Create department {name} in company {companyId}.
        slots:
          name: requestBody.name
          companyId: path.companyId
      - text: Add department {name} to {companyId} with external ID {externalId}.
        slots:
          name: requestBody.name
          companyId: path.companyId
          externalId: requestBody.externalId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/departments/{departmentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a department
      effect: read
      questions:
      - What is the name of a specific department?
      - Can I fetch one department by its ID?
      instructions:
      - text: Get department {departmentId} in company {companyId}.
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
      - text: Show the details of department {departmentId} for {companyId}.
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/departments/{departmentId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a department
      effect: write
      questions:
      - How do I rename an existing department?
      - Can I change a department's external ID?
      instructions:
      - text: Rename department {departmentId} in {companyId} to {name}.
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
          name: requestBody.name
      - text: Set department {departmentId} in {companyId} to external ID {externalId}, keeping name {name}.
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
          externalId: requestBody.externalId
          name: requestBody.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/departments/{departmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a department
      effect: destructive
      questions:
      - How do I remove a department from a company?
      - Can I detach users when deleting a department?
      instructions:
      - text: Delete department {departmentId} from company {companyId}.
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
      - text: 'Remove department {departmentId} in {companyId} and detach users: {detachUsers}.'
        slots:
          departmentId: path.departmentId
          companyId: path.companyId
          detachUsers: query.detachUsers
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v3/companies/{companyId}/departments/list'].post
  update:
    x-apievangelist-phrasing:
      intent: Search departments with v3 search
      effect: read
      questions:
      - Can I search departments by name with the v3 endpoint?
      - Which departments match a search text?
      instructions:
      - text: Search departments in company {companyId} for {searchText}.
        slots:
          companyId: path.companyId
          searchText: requestBody.searchText
      - text: List departments in {companyId} matching {filters}.
        slots:
          companyId: path.companyId
          filters: requestBody.filters
      method: generated
      generated: '2026-11-23'

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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/spotnana-departments-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.