Docs

List Operations Plugins

GET
/v1/operations/plugins

List available operations plugins (builtin + custom) for a project, with their operations and risk tiers.

Authorization

AuthorizationBearer <token>

API key for authentication, must be provided as a Bearer token. Generate an API key at https://alien.dev/api-keys

In: header

Query Parameters

workspace?string

Workspace name or ID. Required for user/session/OAuth requests. Optional for API keys because API keys are workspace-scoped; if provided with an API key, it must identify the key's workspace.

Match^(?:ws_[0-9a-zA-Z]{24}|(?!ws[-_])[a-z0-9](-?[a-z0-9])*)$
Length4 <= length <= 100
project*string

Filter by project ID or name.

Lengthlength <= 100
deployment?string

Only the plugins this deployment declares, at their declared versions.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/operations/plugins?project=my-project"
{  "plugins": [    {      "name": "string",      "version": "string",      "tier": "read-only",      "builtin": true,      "operations": [        {          "name": "string",          "tier": "read-only",          "description": "string",          "inputSchema": {            "property1": null,            "property2": null          },          "outputSchema": {            "property1": null,            "property2": null          },          "timeoutSeconds": 1,          "retries": {            "maxAttempts": 1,            "intervalSeconds": 0          },          "verification": {            "changes": "string",            "pollOperation": "string",            "pollParamsFromResult": {              "property1": "string",              "property2": "string"            },            "successField": "string",            "successValue": "string",            "retry": {              "maxAttempts": 1,              "intervalSeconds": 0            },            "timeoutSeconds": 1          },          "sensitiveOutput": {            "kind": "none"          },          "requiredPermissions": [            "string"          ],          "permissions": {            "azure": [],            "aws": [              {                "effect": "Allow",                "actions": [                  "string"                ],                "resources": [                  "string"                ],                "condition": {                  "property1": {                    "property1": "string",                    "property2": "string"                  },                  "property2": {                    "property1": "string",                    "property2": "string"                  }                },                "reason": "string"              }            ],            "gcp": [              {                "permissions": [                  "string"                ],                "scope": "projects/${projectName}",                "reason": "string"              }            ]          },          "kubernetesPermissions": {            "schemaVersion": 1,            "rules": [              {                "apiGroup": "string",                "resource": "string",                "verbs": [                  "get"                ],                "resourceNames": [],                "reason": "string"              }            ]          }        }      ]    }  ]}