Xata · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Xata Branches API

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

What the actions change

x-apievangelist-phrasing

Targets 12

$.info
$.paths['/organizations/{organizationID}/projects/{projectID}/branches'].get
$.paths['/organizations/{organizationID}/projects/{projectID}/branches'].post
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].get
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].delete
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].patch
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/credentials'].get
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/credentials/rotate'].post
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/metrics'].post
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/restore'].post
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/logs'].post
$.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/postgres-config'].get

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 Xata Branches API
  version: 1.0.0
extends: openapi/xata-branches-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: 11
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's branches
      effect: read
      questions:
      - Which branches exist in my Xata project?
      - Can I see the status and connection string of every branch?
      instructions:
      - text: List all branches in project {projectID} of org {organizationID}.
        slots:
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Show every branch of project {projectID} in org {organizationID}.
        slots:
          projectID: path.projectID
          organizationID: path.organizationID
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a branch
      effect: write
      questions:
      - How do I create a new branch from an existing parent?
      - Can I scale a new branch to zero when idle?
      instructions:
      - text: Create a branch named {name} in project {projectID} of org {organizationID} in {mode} mode.
        slots:
          name: requestBody.name
          projectID: path.projectID
          organizationID: path.organizationID
          mode: requestBody.mode
      - text: Create branch {name} in {mode} mode with description {description}.
        slots:
          name: requestBody.name
          mode: requestBody.mode
          description: requestBody.description
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get details of a branch
      effect: read
      questions:
      - What is the status of a particular branch?
      - How do I get the connection string for a branch?
      instructions:
      - text: Show details for branch {branchID} in project {projectID}, org {organizationID}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Get the status and connection string of branch {branchID}.
        slots:
          branchID: path.branchID
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a branch
      effect: destructive
      questions:
      - How do I permanently delete a branch and its data?
      - Is deleting a branch reversible?
      instructions:
      - text: Delete branch {branchID} from project {projectID} in org {organizationID}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Permanently remove branch {branchID}.
        slots:
          branchID: path.branchID
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a branch's configuration
      effect: write
      questions:
      - How do I scale replicas or change the instance type of a branch?
      - Can I hibernate a branch or change its storage size?
      instructions:
      - text: Set the instance type of branch {branchID} in project {projectID} of org {organizationID} to {instanceType}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
          instanceType: requestBody.instanceType
      - text: Scale branch {branchID} to {replicas} replicas.
        slots:
          branchID: path.branchID
          replicas: requestBody.replicas
      - text: Set hibernate to {hibernate} on branch {branchID}.
        slots:
          hibernate: requestBody.hibernate
          branchID: path.branchID
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/credentials'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a branch's database credentials
      effect: read
      questions:
      - Where do I find the database credentials for a branch?
      - Can I fetch branch credentials for a specific username?
      instructions:
      - text: Get the database credentials for branch {branchID} in project {projectID} of org {organizationID}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Fetch branch {branchID} credentials for username {username}.
        slots:
          branchID: path.branchID
          username: query.username
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/credentials/rotate'].post
  update:
    x-apievangelist-phrasing:
      intent: Rotate a branch's database credentials
      effect: write
      questions:
      - How do I rotate the database user credentials for a branch?
      - Can I rotate credentials for a specific username?
      instructions:
      - text: Rotate the credentials for username {username} on branch {branchID} in project {projectID} of org {organizationID}.
        slots:
          username: requestBody.username
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Rotate branch {branchID} database credentials for {username}.
        slots:
          branchID: path.branchID
          username: requestBody.username
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/metrics'].post
  update:
    x-apievangelist-phrasing:
      intent: Get time-series metrics for a branch
      effect: read
      questions:
      - What does CPU and memory usage look like for a branch over time?
      - Can I get aggregated metrics for specific instances?
      instructions:
      - text: Get {metrics} for branch {branchID} in project {projectID} of org {organizationID} from {start} to {end} with aggregations {aggregations}.
        slots:
          metrics: requestBody.metrics
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
          start: requestBody.start
          end: requestBody.end
          aggregations: requestBody.aggregations
      - text: Show {metrics} for instances {instances} of branch {branchID}.
        slots:
          metrics: requestBody.metrics
          instances: requestBody.instances
          branchID: path.branchID
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/restore'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a branch from a backup
      effect: write
      questions:
      - How do I spin up a new branch from an existing backup?
      - Can I restore a backup into a new branch with its own configuration?
      instructions:
      - text: Create a backup branch named {name} from branch {branchID} in project {projectID} of org {organizationID}.
        slots:
          name: requestBody.name
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Restore backup of branch {branchID} into a new branch {name} with description {description}.
        slots:
          branchID: path.branchID
          name: requestBody.name
          description: requestBody.description
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/logs'].post
  update:
    x-apievangelist-phrasing:
      intent: Read a branch's logs
      effect: read
      questions:
      - How do I debug a branch by reading its logs?
      - Can I filter a branch's logs by time and type?
      instructions:
      - text: Show logs for branch {branchID} in project {projectID} of org {organizationID} from {start} to {end}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
          start: requestBody.start
          end: requestBody.end
      - text: Get branch {branchID} logs matching {filters}.
        slots:
          branchID: path.branchID
          filters: requestBody.filters
      method: generated
      generated: '2026-11-22'
- target: $.paths['/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/postgres-config'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a branch's PostgreSQL configuration
      effect: read
      questions:
      - What PostgreSQL configuration parameters are set on a branch?
      - Can I see the current values of branch configuration parameters?
      instructions:
      - text: Show the PostgreSQL configuration for branch {branchID} in project {projectID} of org {organizationID}.
        slots:
          branchID: path.branchID
          projectID: path.projectID
          organizationID: path.organizationID
      - text: Get the current values of branch {branchID} configuration parameters.
        slots:
          branchID: path.branchID
      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/xata-branches-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.