Google Apps Script Scripts API

The Scripts API from Google Apps Script — 1 operation(s) for scripts.

Operations 1

POST /v1/scripts/{scriptId}:run Google Apps Script Run Script #

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/google-apps-script-scripts-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

google-apps-script-scripts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Apps Script Processes Scripts API
  description: The Apps Script API manages Google Apps Script projects, deployments, versions, and processes. It supports creating script projects, updating content, managing deployments, monitoring execution processes, and remotely running script functions.
  version: v1
  contact:
    name: Google
    url: https://developers.google.com/apps-script/api/concepts
servers:
- url: https://script.googleapis.com
tags:
- name: Scripts
paths:
  /v1/scripts/{scriptId}:run:
    post:
      operationId: runScript
      summary: Google Apps Script Run Script
      description: Runs a function in an Apps Script project.
      parameters:
      - name: scriptId
        in: path
        required: true
        schema:
          type: string
        example: '500123'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExecutionRequest'
            examples:
              RunscriptRequestExample:
                summary: Default runScript request
                x-microcks-default: true
                value:
                  function: example_value
                  parameters: []
                  sessionState: example_value
                  devMode: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
              examples:
                Runscript200Example:
                  summary: Default runScript 200 response
                  x-microcks-default: true
                  value:
                    done: true
                    response: example_value
                    error:
                      code: 10
                      message: example_value
      tags:
      - Scripts
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Operation:
      type: object
      properties:
        done:
          type: boolean
          example: true
        response:
          type: object
          example: example_value
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
          example: example_value
    ExecutionRequest:
      type: object
      properties:
        function:
          type: string
          example: example_value
        parameters:
          type: array
          items: {}
          example: []
        sessionState:
          type: string
          example: example_value
        devMode:
          type: boolean
          example: true