Fastly Servers API

The Servers API from Fastly — 2 operation(s) for servers.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /service/{service_id}/pool/{pool_id}/server List servers in a load balancer pool · List Servers #
Ask an LLM
“Which backend servers are in a load balancer pool?”
“Can I see every server behind a pool in my service?”
Tell an agent
List servers in pool {pool_id} of service {service_id}.
Show the backends behind load balancer pool {pool_id}.
POST /service/{service_id}/pool/{pool_id}/server Add a server to a load balancer pool · Create Server #
Ask an LLM
“How do I add a backend server to a pool?”
“Can I put a new server into a load balancer pool without activating a new service version?”
Tell an agent
Add a server to pool {pool_id} in service {service_id}.
Put a new backend into load balancer pool {pool_id}.
GET /service/{service_id}/pool/{pool_id}/server/{server_id} Get one server in a load balancer pool · Get Server #
Ask an LLM
“What are the settings of a specific server in a pool?”
“Can I look up one backend server by its ID?”
Tell an agent
Get server {server_id} in pool {pool_id} of service {service_id}.
Show backend server {server_id} from load balancer pool {pool_id}.
PATCH /service/{service_id}/pool/{pool_id}/server/{server_id} Update a server in a load balancer pool · Update Server #
Ask an LLM
“Can I change the weight or status of a server in a pool?”
“How do I edit one backend server in a load balancer pool?”
Tell an agent
Update server {server_id} in pool {pool_id} of service {service_id}.
Change the settings of backend server {server_id} in load balancer pool {pool_id}.
DELETE /service/{service_id}/pool/{pool_id}/server/{server_id} Remove a server from a load balancer pool · Delete Server #
Ask an LLM
“How do I take a backend server out of a pool?”
“Can I remove a server from a load balancer pool?”
Tell an agent destructive · confirm first
Delete server {server_id} from pool {pool_id} in service {service_id}.
Remove backend server {server_id} from load balancer pool {pool_id}.

Documentation

📖
Documentation
https://www.fastly.com/documentation/reference/api/services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/purging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/logging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/metrics-stats/
📖
Documentation
https://www.fastly.com/documentation/reference/api/tls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/vcl-services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/account/
📖
Documentation
https://www.fastly.com/documentation/reference/api/auth-tokens/
📖
Documentation
https://www.fastly.com/documentation/reference/api/acls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/dictionaries/
📖
Documentation
https://www.fastly.com/documentation/guides/compute/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ngwaf/
📖
Documentation
https://www.fastly.com/documentation/reference/api/domain-management/
📖
Documentation
https://www.fastly.com/documentation/reference/api/products/
📖
Documentation
https://www.fastly.com/documentation/reference/api/observability/
📖
Documentation
https://www.fastly.com/documentation/reference/api/api-security/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ddos-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/client-side-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/publishing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/load-balancing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/utils/
📖
Documentation
https://www.fastly.com/products/ai
📖
Documentation
https://www.fastly.com/products/object-storage

Specifications

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/fastly:fastly-servers-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

fastly-servers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fastly Load Balancing Servers API
  description: 'The Fastly Load Balancing API spreads traffic across multiple backends

    automatically. It exposes Directors bound to VCL service versions for locked

    configurations with multiple director groups, and Dynamic Server Pools that

    allow servers to be added or removed without activating new service versions.'
  version: 1.0.0
servers:
- url: https://api.fastly.com
security:
- FastlyKey: []
tags:
- name: Servers
paths:
  /service/{service_id}/pool/{pool_id}/server:
    parameters:
    - in: path
      name: service_id
      required: true
      schema:
        type: string
    - in: path
      name: pool_id
      required: true
      schema:
        type: string
    get:
      tags:
      - Servers
      summary: List Servers
      operationId: listPoolServers
      responses:
        '200':
          description: A list of servers
    post:
      tags:
      - Servers
      summary: Create Server
      operationId: createPoolServer
      responses:
        '201':
          description: Server created
  /service/{service_id}/pool/{pool_id}/server/{server_id}:
    parameters:
    - in: path
      name: service_id
      required: true
      schema:
        type: string
    - in: path
      name: pool_id
      required: true
      schema:
        type: string
    - in: path
      name: server_id
      required: true
      schema:
        type: string
    get:
      tags:
      - Servers
      summary: Get Server
      operationId: getPoolServer
      responses:
        '200':
          description: A server
    patch:
      tags:
      - Servers
      summary: Update Server
      operationId: updatePoolServer
      responses:
        '200':
          description: Updated
    delete:
      tags:
      - Servers
      summary: Delete Server
      operationId: deletePoolServer
      responses:
        '204':
          description: Deleted
components:
  securitySchemes:
    FastlyKey:
      type: apiKey
      in: header
      name: Fastly-Key