Delinea · Schema

ScriptModelV2

Script

Privileged Access ManagementSecrets ManagementIdentity SecurityDevOpsCybersecurity

Properties

Name Type Description
additionalData object
concurrencyId string Script Global Id
description string Script Description
isActive boolean Whether the Script is Active
name string Script Name
script string Script Text
scriptCategoryId integer Script Category Id
scriptCategoryName string Script Category Name
scriptId integer Script Id
scriptType object
usageCount integer Usage Count
View JSON Schema on GitHub

JSON Schema

delinea-script-model-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-script-model-v2-schema.json",
  "title": "ScriptModelV2",
  "description": "Script",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-script-api-openapi.yml#/components/schemas/ScriptModelV2",
  "properties": {
    "additionalData": {
      "$ref": "#/$defs/ScriptAdditionalDataModel"
    },
    "concurrencyId": {
      "description": "Script Global Id",
      "type": "string"
    },
    "description": {
      "description": "Script Description",
      "type": "string"
    },
    "isActive": {
      "description": "Whether the Script is Active",
      "type": "boolean"
    },
    "name": {
      "description": "Script Name",
      "type": "string"
    },
    "script": {
      "description": "Script Text",
      "type": "string"
    },
    "scriptCategoryId": {
      "description": "Script Category Id",
      "type": "integer",
      "format": "int32"
    },
    "scriptCategoryName": {
      "description": "Script Category Name",
      "type": "string"
    },
    "scriptId": {
      "description": "Script Id",
      "type": "integer",
      "format": "int32"
    },
    "scriptType": {
      "$ref": "#/$defs/UserScriptType"
    },
    "usageCount": {
      "description": "Usage Count",
      "type": "integer",
      "format": "int32"
    }
  },
  "type": "object",
  "$defs": {
    "ScriptAdditionalDataModel": {
      "description": "Additional data for this script including parameters and settings",
      "properties": {
        "sqlSettings": {
          "$ref": "#/$defs/ScriptSqlAdditionalDataModel"
        },
        "sshSettings": {
          "$ref": "#/$defs/ScriptSshAdditionalDataModel"
        }
      },
      "type": "object"
    },
    "ScriptSqlAdditionalDataModel": {
      "description": "Additional settings for SQL scripts",
      "properties": {
        "database": {
          "description": "The database name to connect to",
          "type": "string"
        },
        "parameters": {
          "description": "Parameters for this sql script",
          "items": {
            "$ref": "#/$defs/ScriptSqlParamModel"
          },
          "type": "array"
        },
        "passwordChangerId": {
          "description": "Which password changer this is used with",
          "type": "integer",
          "format": "int32"
        },
        "passwordChangerName": {
          "description": "Which password changer this is used with",
          "type": "string"
        },
        "port": {
          "description": "A specific port to use",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "type": "object"
    },
    "ScriptSqlParamModel": {
      "description": "Parameters for this sql script",
      "properties": {
        "parameterDbType": {
          "$ref": "#/$defs/ScriptSqlParamType"
        },
        "parameterName": {
          "description": "ParameterName",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ScriptSqlParamType": {
      "description": "ParameterDbType",
      "properties": {},
      "type": "string",
      "enum": [
        "AnsiString",
        "Binary",
        "Byte",
        "Boolean",
        "Currency",
        "Date",
        "DateTime",
        "Decimal",
        "Double",
        "Guid",
        "Int16",
        "Int32",
        "Int64",
        "Object",
        "SByte",
        "Single",
        "String",
        "Time",
        "UInt16",
        "UInt32",
        "UInt64",
        "VarNumeric",
        "AnsiStringFixedLength",
        "StringFixedLength",
        "Xml",
        "DateTime2",
        "DateTimeOffset"
      ]
    },
    "ScriptSshAdditionalDataModel": {
      "description": "Additional settings for SSH scripts",
      "properties": {
        "doNotUseEnvironment": {
          "description": "Do not use environment variables in script",
          "type": "boolean"
        },
        "lineEnding": {
          "$ref": "#/$defs/SshScriptLineEndingType"
        },
        "parameters": {
          "description": "Any parameters that can be used in the script",
          "items": {
            "$ref": "#/$defs/ScriptSshParameterModel"
          },
          "type": "array"
        },
        "port": {
          "description": "The port that should be used by an SSH script",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "type": "object"
    },
    "ScriptSshParamType": {
      "description": "ParameterSshType",
      "properties": {},
      "type": "string",
      "enum": [
        "Intrepreted",
        "Literal"
      ]
    },
    "ScriptSshParameterModel": {
      "description": "Any parameters that can be used in the script",
      "properties": {
        "parameterName": {
          "description": "ParameterName",
          "type": "string"
        },
        "parameterSshType": {
          "$ref": "#/$defs/ScriptSshParamType"
        }
      },
      "type": "object"
    },
    "SshScriptLineEndingType": {
      "description": "The type of line ending that should be sent to the script",
      "properties": {},
      "type": "string",
      "enum": [
        "NewLine",
        "CarriageReturn",
        "CarriageReturnNewLine"
      ]
    },
    "UserScriptType": {
      "description": "Script Type (Powershell = 1, SQL = 2, SSH = 3)",
      "properties": {},
      "type": "string",
      "enum": [
        "PowerShell",
        "SQL",
        "SSH"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/delinea-script-model-v2"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.