Delinea Script API

View Scripts

GitHub OpenAPI

Operations 12

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

GET /v2/userscripts Search user scripts · Search scripts #
Ask an LLM
“Which PowerShell, SQL or SSH scripts are stored in Secret Server?”
“Can I search scripts by category or type?”
Tell an agent
Search scripts matching {searchText}.
Find {scriptType} scripts in category {scriptCategoryId}.
POST /v2/userscripts Create a user script · Create Script #
Ask an LLM
“How do I add a new PowerShell script to Secret Server?”
“Can I create a SQL script through the API?”
Tell an agent
Create a script with {data}.
Add a new user script using {data}.
GET /v1/userscripts/categories Search script categories · Search script categories #
Ask an LLM
“What script categories exist in Secret Server?”
“Can I find a script category by name?”
Tell an agent
Search script categories for {searchText}.
List script categories.
GET /v2/userscripts/{scriptId} Get a user script · Get Script #
Ask an LLM
“How do I read the full definition of one script?”
“Can I fetch a script by its ID?”
Tell an agent
Get script {scriptId}.
Show the full definition of script {scriptId}.
GET /v2/userscripts/history/{scriptHistoryId} Get an older version of a script · Get Script from History #
Ask an LLM
“Can I retrieve a previous version of a script from history?”
“How do I view an older script revision?”
Tell an agent
Get script history item {scriptHistoryId}.
Show the older version of the script in history {scriptHistoryId}.
GET /v1/userscripts/audit Search script audit · Search script audit #
Ask an LLM
“Who changed a script and when?”
“Can I audit script edits?”
Tell an agent
Search script audit for script {scriptId}.
Show audit entries for script {scriptId}.
GET /v1/userscripts/usage Search where a script is used · Search script usage #
Ask an LLM
“Where is a particular script being used?”
“Can I find all references to one script?”
Tell an agent
Find where script {scriptId} is used.
Show usages of script {scriptId} of type {usageType}.
PATCH /v1/userscripts/{scriptId} Update a user script · Update Script #
Ask an LLM
“How do I change the definition of an existing script?”
“Can I patch a script's model?”
Tell an agent
Update script {scriptId} with {data}.
Patch the existing script {scriptId}.
POST /v2/userscripts/test-ps-script Test a PowerShell script · Test PowerShell Script #
Ask an LLM
“Can I test a PowerShell script to check it runs?”
“What happens if I test a script without a script ID?”
Tell an agent
Test PowerShell script {data}.
Run a basic PowerShell test script.
POST /v2/userscripts/test-sql-script Test a SQL script · Test SQL Script #
Ask an LLM
“Can I test a SQL script to check it runs?”
“What if I test a SQL script without a script ID?”
Tell an agent
Test SQL script {data}.
Run a basic SQL test script.
POST /v2/userscripts/test-ssh-script Test PowerShell, SQL or SSH scripts · Test Scripts #
Ask an LLM
“Can I test a PowerShell, SQL or SSH script in one call?”
“What does the generic script test run if I omit the script ID?”
Tell an agent
Test PowerShell, SQL or SSH script {data}.
Run a generic script test without a script ID.
PUT /v1/userscripts/{scriptId}/parameters Update a script's parameters · Update Script Parameters #
Ask an LLM
“How do I change the parameters or settings of a script?”
“Can I update variable parameters on a script?”
Tell an agent
Update the parameters of script {scriptId} with {data}.
Replace the settings on script {scriptId}.

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/delinea:delinea-script-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

delinea-script-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secret Server Rest Script API
  description: REST API documentation for Secret Server. This document describes how to use the REST API. All requests require an authentication token; please see the authentication document for more information. The Swagger specification for this API is also available.
  termsOfService: https://delinea.com/eula
  contact:
    name: Support
    url: https://delinea.com
  version: 11.7.2
servers:
- url: /SecretServer/api
security:
- BearerToken: []
tags:


# --- truncated at 32 KB (51 KB total) ---
# Full source: https://artifacts.apis.io/delinea/openapi/delinea-script-api-openapi.yml