Automattic Jetpack Boost API

The jetpack-boost API from Automattic — 13 operation(s) for jetpack-boost.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

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

POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css Generate a site's cloud CSS · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css #
Ask an LLM
“How do I generate the cloud CSS for my site's Jetpack Boost optimization?”
“Can Boost produce a CSS file that loads from the cloud instead of the server?”
Tell an agent
Generate cloud CSS for site {wpcom_site}.
Create a cloud stylesheet for {wpcom_site} to improve loading performance.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css/update Update a site's cloud CSS · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css/update #
Ask an LLM
“How do I refresh the cloud CSS on a site I already generated?”
“Can I force an update of the cloud stylesheet for a site?”
Tell an agent
Update the cloud CSS for site {wpcom_site}.
Refresh the cloud stylesheet on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/features List Jetpack Boost features · GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/features #
Ask an LLM
“Which Jetpack Boost features are enabled on my site?”
“What performance features does Boost offer for a site?”
Tell an agent
List the Jetpack Boost features for site {wpcom_site}.
Show which Boost features are turned on for {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp Measure a site's LCP · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp #
Ask an LLM
“How do I measure the Largest Contentful Paint of my site?”
“Can Boost test how long it takes a page to render its main content?”
Tell an agent
Measure Largest Contentful Paint for site {wpcom_site}.
Run an LCP test on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp/update Update a site's LCP test · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp/update #
Ask an LLM
“How do I re-run the Largest Contentful Paint test on a site?”
“Can I refresh an existing LCP measurement for a site?”
Tell an agent
Update the Largest Contentful Paint test for site {wpcom_site}.
Re-run the LCP measurement on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores Submit a site speed test · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores #
Ask an LLM
“How do I submit a URL for a site speed test?”
“Can I send a request_id and client when submitting a speed test?”
Tell an agent
Submit a speed test for {url} on site {wpcom_site} with request id {request_id}.
Run a site speed test for {url} on {wpcom_site} using request {request_id} and client {client}.
GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores-history Get a site's speed test history · GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores-history #
Ask an LLM
“What has my site's speed test history looked like over time?”
“Can I see a site's performance history between two dates?”
Tell an agent
Get the speed test history for site {wpcom_site} from {start} to {end}.
Show performance history for {wpcom_site} between {start} and {end}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update Report a post-boost speed score · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update #
Ask an LLM
“How do I send a site speed score back to Jetpack Boost after running a test?”
“Can I submit a new Lighthouse score for my site?”
Tell an agent
Update the speed score on site {wpcom_site}.
Record a new post-optimization score for site {wpcom_site}.
PUT /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update Replace a site's speed test results · PUT /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update #
Ask an LLM
“How do I overwrite a site's speed test results entirely?”
“Can I replace a site's speed scores with a new set?”
Tell an agent
Replace the speed test results for site {wpcom_site}.
Overwrite the performance scores on {wpcom_site}.
PATCH /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update Patch a site speed test update · PATCH /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update #
Ask an LLM
“How do I partially update a site speed test?”
“Can I change just one field of a site speed test?”
Tell an agent
Patch the speed test update for site {wpcom_site}.
Partially update the performance scores on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/{request_id} Get a site speed test result · GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/{request_id} #
Ask an LLM
“What were the results of a specific site speed test?”
“Can I fetch one speed test by its request id?”
Tell an agent
Get speed test {request_id} for site {wpcom_site}.
Show the performance scores from request {request_id} on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports Request a Jetpack Boost report · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports #
Ask an LLM
“How do I request a report on a site's performance?”
“Can I ask for a specific report type for a site?”
Tell an agent
Request a {report_type} report for site {wpcom_site}.
Generate a {report_type} performance report on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id} Get a Jetpack Boost report · GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id} #
Ask an LLM
“What does a specific report on a site say?”
“Can I fetch one report by its id?”
Tell an agent
Get {report_type} report {id} for site {wpcom_site}.
Show the {report_type} report {id} on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id} Submit a Jetpack Boost report result · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id} #
Ask an LLM
“How do I submit the outcome of a site performance report?”
“Can I mark a report as done and send its data?”
Tell an agent
Submit report {id} of type {report_type} for site {wpcom_site} with data {data}.
Mark {report_type} report {id} on {wpcom_site} as {success} with data {data}.
POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/done Mark a Jetpack Boost report as done · POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/done #
Ask an LLM
“How do I mark a site performance report as complete?”
“Can I signal that a report is finished without sending new data?”
Tell an agent
Mark {report_type} report {id} on site {wpcom_site} as done.
Mark {report_type} report {id} on {wpcom_site} as finished.
GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/issues List issues in a Jetpack Boost report · GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/issues #
Ask an LLM
“What issues did a site performance report find?”
“Can I see the problems flagged in a report?”
Tell an agent
List issues in {report_type} report {id} for site {wpcom_site}.
Show the flagged problems in report {id} of type {report_type} on {wpcom_site}.

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/automattic:automattic-jetpack-boost-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

automattic-jetpack-boost-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Jetpack Boost…
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: jetpack-boost
paths:
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostCloudCss
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css/update:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostCloudCssUpdate
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/cloud-css/update
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/features:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteJetpackBoostFeatures
      summary: GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/features
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostLcp
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp/update:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostLcpUpdate
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/lcp/update
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScores
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                request_id:
                  type: string
                client:
                  type: string
              required:
              - url
              - request_id
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores-history:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScoresHistory
      summary: GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores-history
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: start
        in: query
        required: true
        schema: {}
        description: Timestamp of the start of the time range to retrieve the performance history for.
      - name: end
        in: query
        required: true
        schema: {}
        description: Timestamp of the end of the time range to retrieve the performance history for.
      - name: page_size
        in: query
        required: false
        schema: {}
        description: The maximum number of records to retrieve in a single request. Defaults to 100.
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScoresUpdate
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    put:
      operationId: putWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScoresUpdate
      summary: PUT /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    patch:
      operationId: patchWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScoresUpdate
      summary: PATCH /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/update
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/{request_id}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteJetpackBoostSpeedScoresbyRequestId
      summary: GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/speed-scores/{request_id}
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: request_id
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostbyReportTypeReports
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: report_type
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteJetpackBoostbyReportTypeReportsbyId
      summary: GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: report_type
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostbyReportTypeReportsbyId
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: report_type
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                success:
                  type: boolean
                data:
                  type: object
              required:
              - data
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/done:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteJetpackBoostbyReportTypeReportsbyIdDone
      summary: POST /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/done
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: report_type
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/issues:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteJetpackBoostbyReportTypeReportsbyIdIssues
      summary: GET /wpcom/v2/sites/{wpcom_site}/jetpack-boost/{report_type}/reports/{id}/issues
      tags:
      - jetpack-boost
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: report_type
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
components:
  schemas:
    WPRestError:
      type: object
      description: WordPress REST API error envelope (observed on public-api.wordpress.com).
      properties:
        code:
          type: string
          example: rest_unauthorized
        message:
          type: string
          example: Authentication required.
        data:
          type: object
          properties:
            status:
              type: integer
              example: 401
  securitySchemes:
    oauth2:
      type: oauth2
      description: WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration
      flows:
        authorizationCode:
          authorizationUrl: https://public-api.wordpress.com/oauth2-1/authorize
          tokenUrl: https://public-api.wordpress.com/oauth2-1/token
          refreshUrl: https://public-api.wordpress.com/oauth2-1/token
          scopes:
            global: ''
            auth: ''
            openid: ''
            profile: ''
            email: ''
            users: ''
            sites: ''
            posts: ''
            comments: ''
            taxonomy: ''
            follow: ''
            sharing: ''
            freshly-pressed: ''
            notifications: ''
            insights: ''
            read: ''
            stats: ''
            media: ''
            menus: ''
            batch: ''
            videos: ''
    bearerAuth:
      type: http
      scheme: bearer