---
updatedAt: 2026-09-05T01:44:39.000Z
agentTools:
  projectIndex: https://docs.pennsieve.io/llms.txt
---

# Get compute node permissions

Retrieves the current permission settings for a compute node.

**Permissions:** Accessible by node owner, users with shared access (direct, team, or workspace scope),
and workspace administrators on public accounts (isPublic=true).


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "3.0",
    "title": "Compute Resources API",
    "description": "This is the serverless Compute Resources API\n",
    "termsOfService": "https://docs.pennsieve.io/page/pennsieve-terms-of-use",
    "contact": {
      "name": "Pennsieve Support",
      "email": "support@pennsieve.net"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "servers": [
    {
      "url": "https://api2.pennsieve.io/compute/resources",
      "description": "Production server"
    },
    {
      "url": "https://api2.pennsieve.net/compute/resources",
      "description": "Development server"
    }
  ],
  "externalDocs": {
    "description": "Find more info here",
    "url": "https://docs.pennsieve.io"
  },
  "tags": [
    {
      "name": "Compute Node Access",
      "description": "Who may use a compute node. Access is granted explicitly to users, teams,\nor a whole workspace; a node may also be attached to or detached from an\norganization.\n"
    }
  ],
  "components": {
    "x-amazon-apigateway-integrations": {
      "account-service": {
        "type": "aws_proxy",
        "uri": "${account_service_lambda_arn}",
        "httpMethod": "POST",
        "passthroughBehavior": "when_no_match",
        "contentHandling": "CONVERT_TO_TEXT",
        "payloadFormatVersion": 2
      }
    },
    "securitySchemes": {
      "token_auth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-amazon-apigateway-authorizer": {
          "identitySource": "$request.header.Authorization",
          "authorizerUri": "${authorize_lambda_invoke_uri}",
          "authorizerPayloadFormatVersion": "2.0",
          "authorizerResultTtlInSeconds": 300,
          "type": "request",
          "enableSimpleResponses": true,
          "authorizerCredentials": "${gateway_authorizer_role}"
        }
      }
    },
    "schemas": {
      "computeNodePermissionsResponse": {
        "type": "object",
        "properties": {
          "nodeUuid": {
            "type": "string",
            "description": "UUID of the compute node"
          },
          "accessScope": {
            "type": "string",
            "enum": [
              "private",
              "workspace",
              "shared"
            ],
            "description": "Current access scope level"
          },
          "owner": {
            "type": "string",
            "description": "User ID of the node owner"
          },
          "sharedWithUsers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of user IDs the node is shared with"
          },
          "sharedWithTeams": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of team IDs the node is shared with"
          },
          "organizationId": {
            "type": "string",
            "description": "Organization ID for workspace access scope"
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Incorrect authentication or user has incorrect permissions.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Error": {
        "description": "Server Error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/compute-nodes/{id}/permissions": {
      "get": {
        "summary": "Get compute node permissions",
        "description": "Retrieves the current permission settings for a compute node.\n\n**Permissions:** Accessible by node owner, users with shared access (direct, team, or workspace scope),\nand workspace administrators on public accounts (isPublic=true).\n",
        "x-amazon-apigateway-integration": {
          "$ref": "#/components/x-amazon-apigateway-integrations/account-service"
        },
        "operationId": "getComputeNodePermissions",
        "security": [
          {
            "token_auth": []
          }
        ],
        "tags": [
          "Compute Node Access"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The UUID of the compute node"
          }
        ],
        "responses": {
          "200": {
            "description": "Current permission settings",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/computeNodePermissionsResponse"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "4XX": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "5XX": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  }
}
```