Automattic Studio App API

The studio-app API from Automattic — 14 operation(s) for studio-app.

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}/studio-app/sync/backup Start a Studio app backup · POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup #
Ask an LLM
“Can I back up my Studio app site?”
“Can I include only certain paths in a Studio backup?”
Tell an agent
Start a Studio app backup on site {wpcom_site}.
Back up paths {include_path_list} on site {wpcom_site} with options {options}.
GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup Check a Studio app backup · GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup #
Ask an LLM
“Is my Studio app backup finished?”
“Can I check the status of one Studio backup?”
Tell an agent
Check Studio backup {backup_id} on site {wpcom_site}.
Show the status of Studio app backup {backup_id} for site {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/get-latest-rewind-id Get the latest Studio rewind ID · GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/get-latest-rewind-id #
Ask an LLM
“What is the most recent Studio rewind ID for my site?”
“Can I get the latest Studio rewind ID?”
Tell an agent
Get the latest Studio rewind ID for site {wpcom_site}.
Find the most recent Studio rewind ID on site {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import Start a Studio app import · POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import #
Ask an LLM
“Can I import a Studio app site?”
“Can I import only certain paths into Studio?”
Tell an agent
Start a Studio app import on site {wpcom_site}.
Import paths {list_sync_items} into Studio on site {wpcom_site} with options {options}.
GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import Check a Studio app import · GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import #
Ask an LLM
“Is my Studio app import ready?”
“Can I check the status of one Studio import?”
Tell an agent
Check Studio import on site {wpcom_site}.
Show the status of Studio app import for site {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import/initiate Start a Studio app import from an attachment · POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import/initiate #
Ask an LLM
“Can I kick off a Studio import from a Studio site archive?”
“Can I import a Studio site from an attachment ID?”
Tell an agent
Start a Studio import on site {wpcom_site} from attachment {import_attachment_id}.
Import Studio site {import_attachment_id} into site {wpcom_site} with options {options}.
POST /wpcom/v2/studio-app/ai-assistant/chat Chat with the Studio AI assistant · POST /wpcom/v2/studio-app/ai-assistant/chat #
Ask an LLM
“Can I ask the Studio AI assistant a question?”
“What does the Studio AI assistant say in response to my messages?”
Tell an agent
Send messages {messages} to the Studio AI assistant.
Ask the Studio AI assistant {messages}.
GET /wpcom/v2/studio-app/ai-assistant/quota Check the Studio AI assistant quota · GET /wpcom/v2/studio-app/ai-assistant/quota #
Ask an LLM
“How many Studio AI assistant requests am I allowed?”
“Is the Studio AI assistant quota exhausted?”
Tell an agent
Show my Studio AI assistant quota.
Check how many Studio AI assistant requests remain.
GET /wpcom/v2/studio-app/ai-assistant/welcome Get the Studio AI assistant welcome message · GET /wpcom/v2/studio-app/ai-assistant/welcome #
Ask an LLM
“What welcome message does the Studio AI assistant show?”
“Can I read the Studio AI assistant's welcome text?”
Tell an agent
Get the Studio AI assistant welcome message.
Show the Studio AI assistant's welcome text.
GET /wpcom/v2/studio-app/blueprints List Studio app blueprints · GET /wpcom/v2/studio-app/blueprints #
Ask an LLM
“What Studio app blueprints are available?”
“Can I get Studio blueprints in a specific locale?”
Tell an agent
List Studio app blueprints.
List Studio blueprints in locale {locale}.
GET /wpcom/v2/studio-app/feature-flags List Studio app feature flags · GET /wpcom/v2/studio-app/feature-flags #
Ask an LLM
“Which Studio app features are enabled?”
“What feature flags does Studio report?”
Tell an agent
List Studio app feature flags.
Show which Studio features are turned on.
GET /wpcom/v2/studio-app/install.ps1 Download the Studio app install script · GET /wpcom/v2/studio-app/install.ps1 #
Ask an LLM
“Can I download the Studio app install script?”
“Where do I get the Studio app install.ps1 file?”
Tell an agent
Download the Studio app install script.
Get the Studio app install.ps1 file.
GET /wpcom/v2/studio-app/install.sh Get the Studio install.sh shell script · GET /wpcom/v2/studio-app/install.sh #
Ask an LLM
“Where do I get the install.sh shell script for the Studio app?”
“Is there a bash installer for Studio on macOS or Linux?”
Tell an agent
Fetch the Studio app install.sh shell script.
Show me the install.sh bash installer for Studio.
DELETE /wpcom/v2/studio-app/token Revoke the Studio app token · DELETE /wpcom/v2/studio-app/token #
Ask an LLM
“Can I revoke my Studio app token?”
“What happens to Studio app access after I delete the token?”
Tell an agent destructive · confirm first
Revoke my Studio app token.
Delete the Studio app token.
GET /wpcom/v2/studio-app/updates Check Studio app updates · GET /wpcom/v2/studio-app/updates #
Ask an LLM
“Is there a new Studio app update for my platform?”
“Can I check Studio app updates for a specific version and channel?”
Tell an agent
Check Studio app updates for platform {platform} version {version}.
Get Studio app updates for {platform} on {arch} for version {version} in channel {channel}.
GET /wpcom/v2/studio-app/updates/RELEASES Read the Studio app RELEASES file · GET /wpcom/v2/studio-app/updates/RELEASES #
Ask an LLM
“Where is the Studio app RELEASES file?”
“Can I read the Studio app RELEASES file for my platform and version?”
Tell an agent
Read the Studio app RELEASES file for platform {platform} version {version}.
Get the Studio app RELEASES file for {platform} on {arch} for version {version}.

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-studio-app-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-studio-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Studio App API
  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: studio-app
paths:
  /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteStudioAppSyncBackup
      summary: POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup
      tags:
      - studio-app
      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:
                options:
                  type: array
                  default:
                  - all
                  items:
                    type: string
                  description: The types of data to include in the backup
                include_path_list:
                  type: array
                  items:
                    type: string
                  description: List of specific paths to include when using the "paths" option
    get:
      operationId: getWpcomV2SitesbyWpcomSiteStudioAppSyncBackup
      summary: GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/backup
      tags:
      - studio-app
      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: backup_id
        in: query
        required: true
        schema:
          type: string
        description: The identifier of the backup to retrieve the status for
  /wpcom/v2/sites/{wpcom_site}/studio-app/sync/get-latest-rewind-id:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteStudioAppSyncGetLatestRewindId
      summary: GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/get-latest-rewind-id
      tags:
      - studio-app
      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}/studio-app/sync/import:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteStudioAppSyncImport
      summary: POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import
      tags:
      - studio-app
      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:
                options:
                  type: array
                  default:
                  - all
                  items:
                    type: string
                  description: The options for the import
                list_sync_items:
                  type: array
                  items:
                    type: string
                  description: List of specific paths to include when using the "paths" option
    get:
      operationId: getWpcomV2SitesbyWpcomSiteStudioAppSyncImport
      summary: GET /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import
      tags:
      - studio-app
      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}/studio-app/sync/import/initiate:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteStudioAppSyncImportInitiate
      summary: POST /wpcom/v2/sites/{wpcom_site}/studio-app/sync/import/initiate
      tags:
      - studio-app
      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:
                import_attachment_id:
                  type: integer
                  description: The ID of the import attachment containing the Studio site archive
                options:
                  type: array
                  default:
                  - all
                  items:
                    type: string
                  description: The options for the import
                list_sync_items:
                  type: array
                  items:
                    type: string
                  description: List of specific paths to include when using the "paths" option
              required:
              - import_attachment_id
  /wpcom/v2/studio-app/ai-assistant/chat:
    post:
      operationId: postWpcomV2StudioAppAiAssistantChat
      summary: POST /wpcom/v2/studio-app/ai-assistant/chat
      tags:
      - studio-app
      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'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                messages:
                  type: array
                  items: {}
                  description: The messages to send to the AI assistant.
              required:
              - messages
  /wpcom/v2/studio-app/ai-assistant/quota:
    get:
      operationId: getWpcomV2StudioAppAiAssistantQuota
      summary: GET /wpcom/v2/studio-app/ai-assistant/quota
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/ai-assistant/welcome:
    get:
      operationId: getWpcomV2StudioAppAiAssistantWelcome
      summary: GET /wpcom/v2/studio-app/ai-assistant/welcome
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/blueprints:
    get:
      operationId: getWpcomV2StudioAppBlueprints
      summary: GET /wpcom/v2/studio-app/blueprints
      tags:
      - studio-app
      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: locale
        in: query
        required: false
        schema:
          type: string
        description: Locale code for translating titles and excerpts (e.g., fr, es, de)
  /wpcom/v2/studio-app/feature-flags:
    get:
      operationId: getWpcomV2StudioAppFeatureFlags
      summary: GET /wpcom/v2/studio-app/feature-flags
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/install.ps1:
    get:
      operationId: getWpcomV2StudioAppInstallPs1
      summary: GET /wpcom/v2/studio-app/install.ps1
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/install.sh:
    get:
      operationId: getWpcomV2StudioAppInstallSh
      summary: GET /wpcom/v2/studio-app/install.sh
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/token:
    delete:
      operationId: deleteWpcomV2StudioAppToken
      summary: DELETE /wpcom/v2/studio-app/token
      tags:
      - studio-app
      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'
  /wpcom/v2/studio-app/updates:
    get:
      operationId: getWpcomV2StudioAppUpdates
      summary: GET /wpcom/v2/studio-app/updates
      tags:
      - studio-app
      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: platform
        in: query
        required: true
        schema:
          type: string
      - name: arch
        in: query
        required: false
        schema:
          type: string
      - name: studioArch
        in: query
        required: false
        schema:
          type: string
      - name: version
        in: query
        required: true
        schema:
          type: string
      - name: channel
        in: query
        required: false
        schema:
          type: string
          enum:
          - nightly
      - name: product
        in: query
        required: false
        schema:
          type: string
          enum:
          - wordpress-com-studio
          - wordpress-com-studio-cli
          default: wordpress-com-studio
  /wpcom/v2/studio-app/updates/RELEASES:
    get:
      operationId: getWpcomV2StudioAppUpdatesReleases
      summary: GET /wpcom/v2/studio-app/updates/RELEASES
      tags:
      - studio-app
      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: platform
        in: query
        required: true
        schema:
          type: string
      - name: arch
        in: query
        required: false
        schema:
          type: string
      - name: studioArch
        in: query
        required: false
        schema:
          type: string
      - name: version
        in: query
        required: true
        schema:
          type: string
      - name: channel
        in: query
        required: false
        schema:
          type: string
          enum:
          - nightly
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