Oracle Essbase Scripts API

Manage calculation and MDX scripts

GitHub OpenAPI

Operations 13

GET /applications/{applicationName}/databases/{databaseName}/scripts Oracle Essbase List Scripts #
POST /applications/{applicationName}/databases/{databaseName}/scripts Oracle Essbase Create Script #
GET /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName} Oracle Essbase Get Script #
PUT /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName} Oracle Essbase Update Script #
DELETE /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName} Oracle Essbase Delete Script #
POST /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/copy Copy Calc Script #
POST /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/rename Rename Calc Script #
GET /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/rtsv Get Essbase Script RTSVs #
GET /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/content Get Essbase Script Contents #
POST /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/validate Validate Calc Script #
GET /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions Get Essbase Script Permissions #
POST /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions Add Calc Script Permissions #
DELETE /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions/{userGroupId} Remove Calc Script Permissions #

Documentation

Specifications

Schemas & Data

Other Resources

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/oracle-essbase:oracle-essbase-scripts-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

oracle-essbase-scripts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oracle Essbase REST Scripts API
  description: RESTful API for managing and interacting with Oracle Essbase applications, databases, and performing analytical operations. Enables automation of Essbase resource management with endpoints for applications, databases, calculations, data loads, user management, sessions, jobs, files, scripts, filters, partitions, connections, datasources, dimensions, outline viewer, locks, scenarios, server properties, and more. All communication occurs over secured HTTP.
  version: 21.0.0
  contact:
    name: Oracle Support
    url: https://support.oracle.com
  license:
    name: Oracle Technology Network License
    url: https://www.oracle.com/legal/terms/
  x-provider: oracle-essbase
servers:
- url: https://{host}:{port}/essbase/rest/v1
  description: Oracle Essbase REST API server
  variables:
    host:
      default: localhost
      description: Essbase server hostname
    port:
      default: '9001'
      description: Essbase server port
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Scripts
  description: Manage calculation and MDX scripts
paths:
  /applications/{applicationName}/databases/{databaseName}/scripts:
    get:
      operationId: listScripts
      summary: Oracle Essbase List Scripts
      description: Returns a list of calculation and MDX scripts for the specified database.
      tags:
      - Scripts
      parameters:
      - $ref: '#/components/parameters/applicationName'
      - $ref: '#/components/parameters/databaseName'
      responses:
        '200':
          description: Script list returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScriptList'
        '400':
          description: Bad request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createScript
      summary: Oracle Essbase Create Script
      description: Creates a new calculation or MDX script for the specified database.
      tags:
      - Scripts
      parameters:
      - $ref: '#/components/parameters/applicationName'
      - $ref: '#/components/parameters/databaseName'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScriptInput'
      responses:
        '200':
          description: Script created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Script'
        '400':
          description: Failed to create script.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}:
    get:
      operationId: getScript
      summary: Oracle Essbase Get Script
      description: Returns the content and details of the specified calculation or MDX script.
      tags:
      - Scripts
      parameters:
      - $ref: '#/components/parameters/applicationName'
      - $ref: '#/components/parameters/databaseName'
      - name: scriptName
        in: path
        required: true
        description: Script name.
        schema:
          type: string
      responses:
        '200':
          description: Script details returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Script'
        '400':
          description: Bad request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    put:
      operationId: updateScript
      summary: Oracle Essbase Update Script
      description: Updates the content of an existing calculation or MDX script.
      tags:
      - Scripts
      parameters:
      - $ref: '#/components/parameters/applicationName'
      - $ref: '#/components/parameters/databaseName'
      - name: scriptName
        in: path
        required: true
        description: Script name.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScriptInput'
      responses:
        '200':
          description: Script updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Script'
        '400':
          description: Failed to update script.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteScript
      summary: Oracle Essbase Delete Script
      description: Deletes the specified calculation or MDX script from the database.
      tags:
      - Scripts
      parameters:
      - $ref: '#/components/parameters/applicationName'
      - $ref: '#/components/parameters/databaseName'
      - name: scriptName
        in: path
        required: true
        description: Script name.
        schema:
          type: string
      responses:
        '200':
          description: Script deleted successfully.
        '400':
          description: Failed to delete script.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/copy:
    post:
      tags:
      - Scripts
      summary: Copy Calc Script
      description: Copies the script in the specified application and database and returns the created script. Applicable only for calculation scripts.
      operationId: Scripts.copyScript
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      responses:
        '200':
          description: <p><strong>OK</strong></p><p>Script copied successfully, including script details and links to get, edit, or delete the script and to get its contents.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Script'
            application/xml:
              schema:
                $ref: '#/components/schemas/Script'
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to copy the script. The application, database, or script name may be incorrect, or the specified script name may already exist.</p>
        '415':
          description: <p><strong>Not Acceptable</strong></p><p>The media type isn't supported or wasn't specified.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-scriptops-copy-post
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptops-copy-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScriptCopy'
          application/xml:
            schema:
              $ref: '#/components/schemas/ScriptCopy'
        description: <p>Script copy details.</p>
        required: true
  /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/rename:
    post:
      tags:
      - Scripts
      summary: Rename Calc Script
      description: Renames the script in the specified application and database and returns the created script. Applicable only for calculation scripts.
      operationId: Scripts.renameScript
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      responses:
        '200':
          description: <p><strong>OK</strong></p><p>Script renamed successfully. Includes script details and links to get, edit, or delete the script and to get its contents.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Script'
            application/xml:
              schema:
                $ref: '#/components/schemas/Script'
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to rename the script. The application, database, or script name may be incorrect, or the specified script name may already exist.</p>
        '415':
          description: <p><strong>Not Acceptable</strong></p><p>The media type isn't supported or wasn't specified.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-scriptops-rename-post
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptops-rename-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScriptCopy'
          application/xml:
            schema:
              $ref: '#/components/schemas/ScriptCopy'
        description: <p>Script rename details.</p>
        required: true
  /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/rtsv:
    get:
      tags:
      - Scripts
      summary: Get Essbase Script RTSVs
      description: Returns the runtime substitution variables used in the specified script name.
      operationId: Scripts.getRTSVsForScripts
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: scriptName
        in: path
        description: <p>Script name.</p>
        required: true
        schema:
          type: string
      responses:
        '200':
          description: <p><strong>OK</strong></p><p>List of runtime substitution variables returned successfully.</p>
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RTSVList'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RTSVList'
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to get variables. The application, database, or script name may be incorrect.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-{scriptName}-rtsv-get
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptname-rtsv-get
  /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/content:
    get:
      tags:
      - Scripts
      summary: Get Essbase Script Contents
      description: Returns the contents of the specified script from the specified application and database.
      operationId: Scripts.getScriptContent
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: scriptName
        in: path
        description: <p>Script name.</p>
        required: true
        schema:
          type: string
      - name: file
        in: query
        description: '<p>Type of script file. If omitted, the default is <b>calc</b>. Values can be: <b>calc</b>, <b>mdx</b>, <b>maxl</b>, or <b>report</b>.</p>'
        required: false
        schema:
          type: string
          default: calc
      responses:
        '200':
          description: <strong>OK</strong></p><p>Script content retrieved successfully.</p>
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to get script contents. The application, database, or script name may be incorrect.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-{scriptName}-content-get
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptname-content-get
  /applications/{applicationName}/databases/{databaseName}/scripts/scriptops/validate:
    post:
      tags:
      - Scripts
      summary: Validate Calc Script
      description: Validates the specified script. Applicable only for calculation scripts.
      operationId: Scripts.validateScript
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: file
        in: query
        description: <p>File.</p>
        required: false
        schema:
          type: string
          default: calc
      responses:
        '200':
          description: <strong>OK</strong></p><p>Script validated successfully.</p>
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to validate the script. The application or database name may be incorrect, or the contents may be incomplete for the specified script name.</p>
        '415':
          description: <p><strong>Not Acceptable</strong></p><p>The media type isn't supported or wasn't specified.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-scriptops-validate-post
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptops-validate-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Script'
          application/xml:
            schema:
              $ref: '#/components/schemas/Script'
        description: <p>Script details.</p>
        required: true
  /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions:
    get:
      tags:
      - Scripts
      summary: Get Essbase Script Permissions
      description: Retrieves permissions for the specified script. Applicable only for calculation scripts.
      operationId: Scripts.getScriptPermissions
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: scriptName
        in: path
        description: <p>Script name.</p>
        required: true
        schema:
          type: string
      responses:
        '200':
          description: <strong>OK</strong></p><p>Script permissions retrieved successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserGroupProvisionInfoList'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserGroupProvisionInfoList'
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to get permissions for the script. The application, database, or script name may be incorrect.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-{scriptName}-permissions-get
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptname-permissions-get
    post:
      tags:
      - Scripts
      summary: Add Calc Script Permissions
      description: Adds permissions to the specified script for the specified user or group. Applicable only for calculation scripts.
      operationId: Scripts.addScriptPermission
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: scriptName
        in: path
        description: <p>Script name.</p>
        required: true
        schema:
          type: string
      responses:
        '200':
          description: <strong>OK</strong></p><p>Script permission added successfully.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserGroupProvisionInfo'
            application/xml:
              schema:
                $ref: '#/components/schemas/UserGroupProvisionInfo'
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to add permissions for the script. The application, database, or script name may be incorrect; the user or group ID may be incorrect; or the specified user or group may not have sufficient privileges.</p>
        '415':
          description: <p><strong>Not Acceptable</strong></p><p>The media type isn't supported or wasn't specified.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-{scriptName}-permissions-post
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptname-permissions-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserGroupProvisionInfo'
          application/xml:
            schema:
              $ref: '#/components/schemas/UserGroupProvisionInfo'
        description: <p>User or group details.</p>
        required: true
  /applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions/{userGroupId}:
    delete:
      tags:
      - Scripts
      summary: Remove Calc Script Permissions
      description: Removes permissions from the specified script for the specified user or group. Applicable only for calculation scripts.
      operationId: Scripts.removeScriptPermission
      parameters:
      - name: applicationName
        in: path
        description: <p>Application name.</p>
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: <p>Database name.</p>
        required: true
        schema:
          type: string
      - name: scriptName
        in: path
        description: <p>Script name.</p>
        required: true
        schema:
          type: string
      - name: userGroupId
        in: path
        description: <p>Id of the user or group.</p>
        required: true
        schema:
          type: string
      - name: group
        in: query
        description: <p>True if the userGroupId refers to a group.</p>
        required: true
        schema:
          type: boolean
          default: false
      responses:
        '204':
          description: <strong>No Content</strong></p><p>Script permission removed successfully.</p>
        '400':
          description: <p><strong>Bad Request</strong></p><p>Failed to delete permissions for the script. The application, database, or script name may be incorrect, or the user or group ID may be incorrect.</p>
        '500':
          description: <p>Internal Server Error.</p>
      x-internal-id: applications-{applicationName}-databases-{databaseName}-scripts-{scriptName}-permissions-{userGroupId}-delete
      x-filename-id: applications-applicationname-databases-databasename-scripts-scriptname-permissions-usergroupid-delete
components:
  schemas:
    ScriptList:
      type: object
      description: List of scripts.
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Script'
    ScriptInput:
      type: object
      description: Input for creating or updating a script.
      required:
      - name
      - content
      properties:
        name:
          type: string
          description: Script name.
        content:
          type: string
          description: Script content (calculation or MDX statements).
    Link:
      type: object
      description: HATEOAS navigation link.
      properties:
        rel:
          type: string
          description: Link relation type.
        href:
          type: string
          format: uri
          description: Link URL.
        method:
          type: string
          description: HTTP method for this link.
        type:
          type: string
          description: Media type of the linked resource.
    Error:
      type: object
      description: Error response from the Essbase REST API.
      properties:
        message:
          type: string
          description: Human-readable error message.
        errorCode:
          type: string
          description: Machine-readable error code.
        details:
          type: string
          description: Additional error details.
    Script:
      type: object
      description: A calculation or MDX script associated with a database.
      properties:
        name:
          type: string
          description: Script name.
        content:
          type: string
          description: Script content (calculation or MDX statements).
        modifiedBy:
          type: string
          description: User who last modified the script.
        modifiedTime:
          type: integer
          format: int64
          description: Last modification timestamp in milliseconds since epoch.
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    RTSVList:
      type: object
      properties:
        totalResults:
          type: integer
          format: int64
        count:
          type: integer
          format: int64
        limit:
          type: integer
          format: int64
        offset:
          type: integer
          format: int64
        items:
          type: array
          items:
            $ref: '#/components/schemas/RTSV'
        hasMore:
          type: boolean
        properties:
          type: object
          additionalProperties:
            type: string
      xml:
        name: result
    UserGroupProvisionInfo:
      type: object
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        id:
          type: string
        name:
          type: string
        role:
          type: string
        group:
          type: boolean
          description: <p><b>true</b> or <b>false</b>. Whether the <b>id</b> refers to a group.</p>
      xml:
        name: permission
    UserGroupProvisionInfoList:
      type: object
      properties:
        totalResults:
          type: integer
          format: int64
        count:
          type: integer
          format: int64
        limit:
          type: integer
          format: int64
        offset:
          type: integer
          format: int64
        items:
          type: array
          items:
            $ref: '#/components/schemas/UserGroupProvisionInfo'
        hasMore:
          type: boolean
        properties:
          type: object
          additionalProperties:
            type: string
      xml:
        name: result
    ScriptCopy:
      type: object
      required:
      - from
      - to
      properties:
        from:
          type: string
          description: <p>Script's original name.</p>
        to:
          type: string
          description: <p>Script's new name.</p>
    RTSV:
      type: object
      description: <p>Details about the runtime substitution variable.</p>
      properties:
        name:
          type: string
          description: <p>Name of the runtime substitution variable.</p>
        description:
          type: string
          description: <p></p>
        allowMissing:
          type: boolean
          description: <p>Set to <b>true</b> to allow data cells for which no data exists, or <b>false</b> to suppress them.</p>
        dimension:
          type: string
          description: <p>The name of the dimension from which this variable pulls information. Supported only if <i>type</i> = MEMBER.</p>
        singleChoice:
          type: boolean
          description: <p>Set to <b>true</b> if only one contextual member selection may be passed to the runtime substitution variable. If there is a single member on the grid or POV, that member is used. If a dimension is on the POV, the active member is used. If a dimension is on the POV and there are multiple members, an error occurs. </p><p>Set to <b>false</b> if all dimension members on the grid or the POV are included.</p>
        type:
          type: string
          description: <p>Specification of whether the variable is for a member, string, or number.</p>
          enum:
          - STRING
          - NUMBER
          - DATE
          - MEMBER
        value:
          type: object
          description: <p>Default value of the runtime substitution variable. RTSV values can be strings,  constants, member names, or member combinations.</p><p>If the RTSV is designed for calcs executed in Smart View, its value must be set to the constant <code>POV</code>, to indicate that only the current data slice present in the spreadsheet grid should be calculated.</p>
        limit:
          type: string
  parameters:
    databaseName:
      name: databaseName
      in: path
      required: true
      description: Essbase database (cube) name.
      schema:
        type: string
    applicationName:
      name: applicationName
      in: path
      required: true
      description: Essbase application name.
      schema:
        type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication using Essbase username and password.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth 2.0 Bearer token authentication for cloud deployments on Oracle Cloud Infrastructure.