Alpaca · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Broker Rebalancing API

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

What the actions change

x-apievangelist-phrasing

Targets 14

$.info
$.paths['/v1/rebalancing/portfolios'].get
$.paths['/v1/rebalancing/portfolios'].post
$.paths['/v1/rebalancing/portfolios/{portfolio_id}'].get
$.paths['/v1/rebalancing/portfolios/{portfolio_id}'].delete
$.paths['/v1/rebalancing/portfolios/{portfolio_id}'].patch
$.paths['/v1/rebalancing/runs'].get
$.paths['/v1/rebalancing/runs'].post
$.paths['/v1/rebalancing/runs/{run_id}'].get
$.paths['/v1/rebalancing/runs/{run_id}'].delete
$.paths['/v1/rebalancing/subscriptions'].get
$.paths['/v1/rebalancing/subscriptions'].post
$.paths['/v1/rebalancing/subscriptions/{subscription_id}'].get
$.paths['/v1/rebalancing/subscriptions/{subscription_id}'].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 Broker Rebalancing API
  version: 1.0.0
extends: openapi/alpaca-rebalancing-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: 13
- target: $.paths['/v1/rebalancing/portfolios'].get
  update:
    x-apievangelist-phrasing:
      intent: List rebalancing portfolios
      effect: read
      questions:
      - Which rebalancing portfolios exist on my account?
      - Can I find a rebalancing portfolio by name or status?
      instructions:
      - text: List all rebalancing portfolios.
      - text: Find rebalancing portfolios named {name}.
        slots:
          name: query.name
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/portfolios'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a rebalancing portfolio
      effect: write
      questions:
      - How do I create a rebalancing portfolio with specific weights?
      - Can a new rebalancing portfolio have no rebalancing conditions?
      instructions:
      - text: Create rebalancing portfolio {name} with weights {weights}.
        slots:
          name: requestBody.name
          weights: requestBody.weights
      - text: Create rebalancing portfolio {name} with rebalancing conditions {rebalance_conditions}.
        slots:
          name: requestBody.name
          rebalance_conditions: requestBody.rebalance_conditions
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/portfolios/{portfolio_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a rebalancing portfolio
      effect: read
      questions:
      - What weights and conditions does a rebalancing portfolio have?
      - Can I look up one rebalancing portfolio by ID?
      instructions:
      - text: Get rebalancing portfolio {portfolio_id}.
        slots:
          portfolio_id: path.portfolio_id
      - text: Show the weights and conditions of rebalancing portfolio {portfolio_id}.
        slots:
          portfolio_id: path.portfolio_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/portfolios/{portfolio_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Inactivate a rebalancing portfolio
      effect: destructive
      questions:
      - How do I archive a rebalancing portfolio?
      - Can I inactivate a rebalancing portfolio that still has active subscriptions?
      instructions:
      - text: Inactivate rebalancing portfolio {portfolio_id}.
        slots:
          portfolio_id: path.portfolio_id
      - text: Archive rebalancing portfolio {portfolio_id} so it can't be used for new subscriptions.
        slots:
          portfolio_id: path.portfolio_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/portfolios/{portfolio_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a rebalancing portfolio
      effect: write
      questions:
      - How do I change the weights of an existing rebalancing portfolio?
      - Can I change a rebalancing portfolio's cooldown period?
      instructions:
      - text: Update rebalancing portfolio {portfolio_id} weights to {weights}.
        slots:
          portfolio_id: path.portfolio_id
          weights: requestBody.weights
      - text: Set rebalancing portfolio {portfolio_id} cooldown to {cooldown_days} days.
        slots:
          portfolio_id: path.portfolio_id
          cooldown_days: requestBody.cooldown_days
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/runs'].get
  update:
    x-apievangelist-phrasing:
      intent: List rebalancing runs
      effect: read
      questions:
      - What rebalancing runs have been executed on my account?
      - Can I filter rebalancing runs by type or status?
      instructions:
      - text: List all rebalancing runs.
      - text: Show rebalancing runs for account {account_id}.
        slots:
          account_id: query.account_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/runs'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a portfolio rebalance run
      effect: write
      questions:
      - How do I rebalance a portfolio automatically through my subscription?
      - Can I manually rebalance without touching the active subscription?
      - Are rebalance runs executed outside market hours?
      instructions:
      - text: Create a {type} rebalance run for account {account}.
        slots:
          type: requestBody.type
          account: requestBody.account_id
      - text: Start a manual rebalance run of {amount} in account {account} with weights {weights}.
        slots:
          amount: requestBody.amount
          account: requestBody.account_id
          weights: requestBody.weights
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/runs/{run_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a rebalancing run
      effect: read
      questions:
      - What is the status of a particular rebalancing run?
      - Can I look up one rebalancing run by ID?
      instructions:
      - text: Get rebalancing run {run_id}.
        slots:
          run_id: path.run_id
      - text: Show the status of rebalancing run {run_id}.
        slots:
          run_id: path.run_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/runs/{run_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel a rebalancing run
      effect: destructive
      questions:
      - How do I cancel a rebalancing run before it starts?
      - Can I cancel a rebalancing run that is already placing orders?
      instructions:
      - text: Cancel rebalancing run {run_id}.
        slots:
          run_id: path.run_id
      - text: Stop rebalancing run {run_id} before it places orders.
        slots:
          run_id: path.run_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: List rebalancing subscriptions
      effect: read
      questions:
      - Which accounts are subscribed to rebalancing portfolios?
      - Can I see the subscription for one account?
      instructions:
      - text: List all rebalancing subscriptions.
      - text: Show rebalancing subscriptions for account {account_id}.
        slots:
          account_id: query.account_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/subscriptions'].post
  update:
    x-apievangelist-phrasing:
      intent: Subscribe an account to a portfolio
      effect: write
      questions:
      - How do I subscribe an account to a rebalancing portfolio?
      - Can an account have more than one active rebalancing subscription?
      instructions:
      - text: Subscribe account {account_id} to rebalancing portfolio {portfolio_id}.
        slots:
          account_id: requestBody.account_id
          portfolio_id: requestBody.portfolio_id
      - text: Create a rebalancing subscription from account {account_id} to portfolio {portfolio_id}.
        slots:
          account_id: requestBody.account_id
          portfolio_id: requestBody.portfolio_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/subscriptions/{subscription_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a rebalancing subscription
      effect: read
      questions:
      - Is an account currently subscribed to a rebalancing portfolio?
      - Can I look up one rebalancing subscription by ID?
      instructions:
      - text: Get rebalancing subscription {subscription_id}.
        slots:
          subscription_id: path.subscription_id
      - text: Check whether subscription {subscription_id} is active.
        slots:
          subscription_id: path.subscription_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/rebalancing/subscriptions/{subscription_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unsubscribe an account from a portfolio
      effect: destructive
      questions:
      - How do I stop rebalancing on an account by removing its subscription?
      - Can I delete a rebalancing subscription?
      instructions:
      - text: Delete rebalancing subscription {subscription_id}.
        slots:
          subscription_id: path.subscription_id
      - text: Unsubscribe the account from its rebalancing portfolio by deleting subscription {subscription_id}.
        slots:
          subscription_id: path.subscription_id
      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/alpaca-rebalancing-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.