Spendesk · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Spendesk Public Analytical fields and cost centers API

17 actions 17 updates phrasing extends openapi/spendesk-analytical-fields-and-cost-centers-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Spendesk's API. It is a proposal applied on top of the contract, not a document Spendesk publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 17 · first 16 shown; the file carries all of them

$.info
$.paths['/v1/analytical-fields'].get
$.paths['/v1/analytical-fields/{fieldId}/values'].get
$.paths['/v1/cost-centers'].get
$.paths['/v1/cost-centers'].post
$.paths['/v1/cost-centers/{costCenterId}'].put
$.paths['/v1/cost-centers/{costCenterId}'].delete
$.paths['/v2/analytical-fields'].get
$.paths['/v2/analytical-fields'].post
$.paths['/v2/analytical-fields/{fieldId}'].get
$.paths['/v2/analytical-fields/{fieldId}'].delete
$.paths['/v2/analytical-fields/{fieldId}'].patch
$.paths['/v2/analytical-fields/{fieldId}/values'].get
$.paths['/v2/analytical-fields/{fieldId}/values'].post
$.paths['/v2/analytical-fields/{fieldId}/values/{valueId}'].get
$.paths['/v2/analytical-fields/{fieldId}/values/{valueId}'].delete

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 Spendesk Public Analytical fields and cost centers API
  version: 1.0.0
extends: openapi/spendesk-analytical-fields-and-cost-centers-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['/v1/analytical-fields'].get
  update:
    x-apievangelist-phrasing:
      intent: List analytical fields
      effect: read
      questions:
      - What analytical fields exist in my company?
      - Can I include archived analytical fields in the list?
      instructions:
      - text: List analytical fields in company {company}.
        slots:
          company: header.X-Company-Id
      - text: Show analytical fields including archived ones.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/analytical-fields/{fieldId}/values'].get
  update:
    x-apievangelist-phrasing:
      intent: List values of an analytical field
      effect: read
      questions:
      - What values are set on a given analytical field?
      - Can I include archived values of an analytical field?
      instructions:
      - text: List values of analytical field {field}.
        slots:
          field: path.fieldId
      - text: Show values of analytical field {field} including archived ones.
        slots:
          field: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/cost-centers'].get
  update:
    x-apievangelist-phrasing:
      intent: List cost centers
      effect: read
      questions:
      - Which cost centers exist in my company?
      - Can I include archived cost centers?
      instructions:
      - text: List cost centers in company {company}.
        slots:
          company: header.X-Company-Id
      - text: Show cost centers {ids} including archived ones.
        slots:
          ids: query.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/cost-centers'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a cost center
      effect: write
      questions:
      - How do I create a new cost center?
      - Who can own a cost center when I create it?
      instructions:
      - text: Create cost center {name} owned by {owner} with co-owners {coOwners}.
        slots:
          name: requestBody.name
          owner: requestBody.owner
          coOwners: requestBody.coOwnerIds
      - text: Add a new cost center {name} for company {company}.
        slots:
          name: requestBody.name
          company: header.X-Company-Id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/cost-centers/{costCenterId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a cost center
      effect: write
      questions:
      - How do I rename an existing cost center?
      - Can I change the owner of a cost center?
      instructions:
      - text: Update cost center {costCenter} to name {name}, owner {owner}, co-owners {coOwners}.
        slots:
          costCenter: path.costCenterId
          name: requestBody.name
          owner: requestBody.owner
          coOwners: requestBody.coOwnerIds
      - text: Rename existing cost center {costCenter} to {name}.
        slots:
          costCenter: path.costCenterId
          name: requestBody.name
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/cost-centers/{costCenterId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a cost center
      effect: destructive
      questions:
      - How do I delete a cost center?
      - Can I remove a cost center I no longer use?
      instructions:
      - text: Delete cost center {costCenter}.
        slots:
          costCenter: path.costCenterId
      - text: Remove cost center {costCenter} from company {company}.
        slots:
          costCenter: path.costCenterId
          company: header.X-Company-Id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields'].get
  update:
    x-apievangelist-phrasing:
      intent: List analytical fields (v2)
      effect: read
      questions:
      - Which analytical fields does the v2 API return, excluding expense categories?
      - Can I fetch several analytical fields by ID with the v2 list?
      instructions:
      - text: List analytical fields in company {company} via v2.
        slots:
          company: header.X-Company-Id
      - text: Fetch analytical fields {ids} with the v2 list.
        slots:
          ids: query.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an analytical field (v2)
      effect: write
      questions:
      - How do I create a new analytical field?
      - Can a v2 analytical field be mandatory or splittable?
      instructions:
      - text: Create analytical field {name} in company {company}.
        slots:
          name: requestBody.name
          company: header.X-Company-Id
      - text: Add v2 analytical field {name} with mandatory {required} and splittable {splittable}.
        slots:
          name: requestBody.name
          required: requestBody.isRequired
          splittable: requestBody.isSplittable
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an analytical field (v2)
      effect: read
      questions:
      - How do I look up one analytical field by ID?
      - Can I fetch a v2 analytical field that is the expense categories field?
      instructions:
      - text: Get analytical field {field} in company {company} via v2.
        slots:
          field: path.fieldId
          company: header.X-Company-Id
      - text: Show v2 analytical field {field}.
        slots:
          field: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an analytical field (v2)
      effect: destructive
      questions:
      - How do I archive an analytical field without deleting its values?
      - Can I delete a v2 analytical field that is the expense categories field?
      instructions:
      - text: Archive analytical field {field} in company {company} via v2.
        slots:
          field: path.fieldId
          company: header.X-Company-Id
      - text: Delete v2 analytical field {field}.
        slots:
          field: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an analytical field (v2)
      effect: write
      questions:
      - How do I rename an existing analytical field?
      - Can I make a v2 analytical field mandatory?
      instructions:
      - text: Rename analytical field {field} to {name} in company {company} via v2.
        slots:
          field: path.fieldId
          name: requestBody.name
          company: header.X-Company-Id
      - text: Set v2 analytical field {field} mandatory to {required}.
        slots:
          field: path.fieldId
          required: requestBody.isRequired
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}/values'].get
  update:
    x-apievangelist-phrasing:
      intent: List values of an analytical field (v2)
      effect: read
      questions:
      - How do I page through all values of an analytical field?
      - Can I get the next page of v2 analytical field values?
      instructions:
      - text: List values of analytical field {field} in company {company} via v2.
        slots:
          field: path.fieldId
          company: header.X-Company-Id
      - text: Get {limit} values of v2 analytical field {field} starting at cursor {cursor}.
        slots:
          limit: query.limit
          field: path.fieldId
          cursor: query.cursor
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}/values'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a value to an analytical field (v2)
      effect: write
      questions:
      - How do I add a new value to an analytical field?
      - Can I create a value on a yes/no analytical field?
      instructions:
      - text: Add value {value} to analytical field {field} in company {company} via v2.
        slots:
          value: requestBody.value
          field: path.fieldId
          company: header.X-Company-Id
      - text: Create a new value {value} on v2 analytical field {field}.
        slots:
          value: requestBody.value
          field: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}/values/{valueId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an analytical field value
      effect: read
      questions:
      - Can I read a single value of an analytical field by its ID?
      - How fresh is analytical field value data, and do archived values count?
      instructions:
      - text: Get analytical field value {valueId} on field {fieldId}.
        slots:
          valueId: path.valueId
          fieldId: path.fieldId
      - text: Show me one value of analytical field {fieldId}.
        slots:
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}/values/{valueId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an analytical field value (v2)
      effect: destructive
      questions:
      - How do I archive a value of an analytical field?
      - Can I archive a value on a yes/no analytical field?
      instructions:
      - text: Archive value {value} of analytical field {field} in company {company} via v2.
        slots:
          value: path.valueId
          field: path.fieldId
          company: header.X-Company-Id
      - text: Delete v2 analytical field value {value} on field {field}.
        slots:
          value: path.valueId
          field: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/analytical-fields/{fieldId}/values/{valueId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Rename an analytical field value
      effect: write
      questions:
      - Can I rename a value used in expenses for reporting?
      - Is it safe to edit a yes/no analytical field value?
      instructions:
      - text: Rename analytical field value {valueId} on field {fieldId} to {value}.
        slots:
          valueId: path.valueId
          fieldId: path.fieldId
          value: requestBody.value
      - text: Update the name of value {valueId} in analytical field {fieldId}.
        slots:
          valueId: path.valueId
          fieldId: path.fieldId
      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.
All 92 tools →

Call it yourself

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