v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Automation

List Scripts

List all the scripts. Global Scripts - All user will have access to Corestack's Marketplace Scripts (Can view and execute). Account - All users under that account will have access (Can view and execute). Only Account admins can update/delete. Tenant - Users with access to the specific tenant will have access scripts (Can view and execute). Tenant admins can update/delete. Private - User who created will only have access.

get/operation/automation/scripts/{tenant_id}

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Query parameters

types'chef' | 'ansible' | 'puppet' | 'shell'

Script types to filter. Allowed Values: chef, ansible, puppet, shell

category'Application' | 'Languages' | 'Database' | 'Security' | 'System' | 'Web Server' | 'Others'

Script types to filter. Allowed Values: Application, Languages, Database, Security, System, Web Server, Others

limitinteger

Number of records to display

pageinteger

Page number

Response

Success

total_scriptsstring required

Total number of scripts available

total_pagesstring required

Total number of pages

Example response

{
  "scripts": {
    "platform": [
      "linux"
    ]
  }
}