LangSmith · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LangSmith Gateway Policies API

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

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/v1/platform/gateway-policies'].get
$.paths['/v1/platform/gateway-policies'].post
$.paths['/v1/platform/gateway-policies/{id}'].get
$.paths['/v1/platform/gateway-policies/{id}'].delete
$.paths['/v1/platform/gateway-policies/{id}'].patch

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 LangSmith Gateway Policies API
  version: 1.0.0
extends: openapi/langsmith-gateway-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: 5
- target: $.paths['/v1/platform/gateway-policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List gateway spend policies
      effect: read
      questions:
      - Which spend-cap policies are in my organization?
      - Is the current spend per gateway policy shown?
      instructions:
      - text: List all gateway policies.
      - text: Show every non-deleted spend-cap policy.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/platform/gateway-policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a gateway policy
      effect: write
      questions:
      - How do I cap spend for certain users through the LLM Gateway?
      - Can I create a default spend-cap policy that rolls out to many users?
      instructions:
      - text: Create a {policy_type} policy named {name} with matchers {subject_matchers}.
        slots:
          policy_type: requestBody.policy_type
          name: requestBody.name
          subject_matchers: requestBody.subject_matchers
      - text: Create a spend-cap policy {name} with action {action} and config {config}.
        slots:
          name: requestBody.name
          action: requestBody.action
          config: requestBody.config
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/platform/gateway-policies/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a gateway policy
      effect: read
      questions:
      - What are the settings of one gateway policy?
      - Can I see the current spend for a single policy?
      instructions:
      - text: Get gateway policy {id}.
        slots:
          id: path.id
      - text: Show the spend-cap policy {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/platform/gateway-policies/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a gateway policy
      effect: destructive
      questions:
      - How do I remove a spend-cap policy?
      - Does deleting a default spend-cap also delete its children?
      instructions:
      - text: Delete gateway policy {id}.
        slots:
          id: path.id
      - text: Soft-delete spend-cap policy {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/platform/gateway-policies/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a gateway policy
      effect: write
      questions:
      - Can I change the priority of an existing gateway policy?
      - Does editing a default spend-cap update its children?
      instructions:
      - text: Set the priority of gateway policy {id} to {priority}.
        slots:
          id: path.id
          priority: requestBody.priority
      - text: Update the action of policy {id} to {action}.
        slots:
          id: path.id
          action: requestBody.action
      method: generated
      generated: '2026-11-22'

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/langsmith-gateway-policies-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.