Affise · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Documentation Admin Adcosts API

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

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/3.1/adcosts'].get
$.paths['/3.1/adcosts'].post
$.paths['/3.1/adcosts'].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 Documentation Admin Adcosts API
  version: 1.0.0
extends: openapi/affise-admin-adcosts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/3.1/adcosts'].get
  update:
    x-apievangelist-phrasing:
      intent: Get ad cost data for an offer
      effect: read
      questions:
      - What did my campaigns spend on a particular offer?
      - Can I page through ad cost data for an offer?
      instructions:
      - text: Get ad cost data for offer {offer_id}.
        slots:
          offer_id: query.offer_id
      - text: Show page {page} of ad costs for offer {offer_id}, {limit} per page.
        slots:
          page: query.page
          offer_id: query.offer_id
          limit: query.limit
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/adcosts'].post
  update:
    x-apievangelist-phrasing:
      intent: Record or update ad costs
      effect: write
      questions:
      - How do I record the ad spend I paid an affiliate?
      - Can I update an existing ad cost entry?
      instructions:
      - text: Record ad costs {costs} for offer {offer_id} by affiliate {affiliate_id} on {date} with sub8 {sub8}.
        slots:
          costs: requestBody.costs
          offer_id: requestBody.offer_id
          affiliate_id: requestBody.affiliate_id
          date: requestBody.date
          sub8: requestBody.sub8
      - text: Update the ad cost entry for {offer_id}, affiliate {affiliate_id}, date {date}, sub8 {sub8}.
        slots:
          offer_id: requestBody.offer_id
          affiliate_id: requestBody.affiliate_id
          date: requestBody.date
          sub8: requestBody.sub8
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/adcosts'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete ad costs
      effect: destructive
      questions:
      - Can I remove an ad cost entry I recorded by mistake?
      - What's the way to delete ad spend for one affiliate on a date?
      instructions:
      - text: Delete ad costs for offer {offer_id} by affiliate {affiliate_id} on {date} with sub8 {sub8}.
        slots:
          offer_id: requestBody.offer_id
          affiliate_id: requestBody.affiliate_id
          date: requestBody.date
          sub8: requestBody.sub8
      - text: Remove the ad cost entry for {offer_id}, affiliate {affiliate_id}, date {date}, sub8 {sub8}.
        slots:
          offer_id: requestBody.offer_id
          affiliate_id: requestBody.affiliate_id
          date: requestBody.date
          sub8: requestBody.sub8
      method: generated
      generated: '2026-11-24'

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/affise-admin-adcosts-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.