Optimizely Site API

The Site API from Optimizely — 2 operation(s) for site.

Operations 2

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 /api/episerver/v3.0/site List CMS sites · Get a list of sites #
Ask an LLM
“Which sites are configured in my Optimizely CMS instance?”
“Can the Content Delivery API return every site it serves?”
Tell an agent
List all sites.
Show every site defined in the CMS.
GET /api/episerver/v3.0/site/{id} Get a CMS site by ID · Gets the site with the provided identifier #
Ask an LLM
“Can I fetch the settings of one site by its identifier?”
“What does the content API return for a single site?”
Tell an agent
Get site {id}.
Load the site record with identifier {id}.

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/optimizely:optimizely-site-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimizely-site-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EPiServer.ContentApi.Docs Site API
  version: v3
tags:
- name: Site
paths:
  /api/episerver/v3.0/site:
    get:
      tags:
      - Site
      summary: Get a list of sites
      operationId: Site_List
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/siteDefinition'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/problemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/problemDetails'
  /api/episerver/v3.0/site/{id}:
    get:
      tags:
      - Site
      summary: Gets the site with the provided identifier
      operationId: Site_Get
      parameters:
      - name: id
        in: path
        description: The identifier of the site.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/siteDefinition'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/problemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/problemDetails'
components:
  schemas:
    language:
      type: object
      properties:
        displayName:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
    siteDefinition:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        id:
          type: string
          format: uuid
        editLocation:
          type:
          - string
          - 'null'
        contentRoots:
          type:
          - object
          - 'null'
          additionalProperties:
            $ref: '#/components/schemas/contentReference'
        languages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/siteDefinitionLanguage'
        hosts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/hostDefinition'
      additionalProperties: false
    siteDefinitionLanguage:
      type: object
      properties:
        isMasterLanguage:
          type:
          - boolean
          - 'null'
        urlSegment:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
        displayName:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
    content:
      type: object
      properties:
        contentLink:
          $ref: '#/components/schemas/contentReference'
        name:
          type:
          - string
          - 'null'
        language:
          $ref: '#/components/schemas/language'
        existingLanguages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/language'
        masterLanguage:
          $ref: '#/components/schemas/language'
        contentType:
          type:
          - array
          - 'null'
          items:
            type: string
        parentLink:
          $ref: '#/components/schemas/contentReference'
        routeSegment:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
        changed:
          type:
          - string
          - 'null'
          format: date-time
        created:
          type:
          - string
          - 'null'
          format: date-time
        startPublish:
          type:
          - string
          - 'null'
          format: date-time
        stopPublish:
          type:
          - string
          - 'null'
          format: date-time
        saved:
          type:
          - string
          - 'null'
          format: date-time
        status:
          type:
          - string
          - 'null'
      additionalProperties: {}
    problemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    contentReference:
      type: object
      properties:
        id:
          type:
          - integer
          - 'null'
          format: int32
        workId:
          type:
          - integer
          - 'null'
          format: int32
        guidValue:
          type:
          - string
          - 'null'
          format: uuid
        providerName:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
        language:
          $ref: '#/components/schemas/language'
        expanded:
          $ref: '#/components/schemas/content'
      additionalProperties: false
    hostDefinition:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        type:
          type:
          - string
          - 'null'
        language:
          $ref: '#/components/schemas/language'
      additionalProperties: false
x-readme:
  explorer-enabled: true
  proxy-enabled: true