> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Privileges Policy

> Get the current privileges policy configuration (capability and device restrictions).



## OpenAPI

````yaml /sprites/api/openapi.json get /v1/sprites/{name}/policy/privileges
openapi: 3.1.0
info:
  title: Sprites API
  version: 0.1.12
  x-sprite-env-version: 0.0.2
servers:
  - url: https://api.sprites.dev
security: []
paths:
  /v1/sprites/{name}/policy/privileges:
    get:
      tags:
        - Network Policy
      summary: Get Privileges Policy
      description: >-
        Get the current privileges policy configuration (capability and device
        restrictions).
      operationId: sprite_env_get__privileges__policy
      parameters:
        - in: path
          name: name
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivilegesPolicyDoc'
          description: Success
        '404':
          description: Not Found - Resource not found
        '500':
          description: Internal Server Error
      security:
        - bearerAuth: []
components:
  schemas:
    PrivilegesPolicyDoc:
      properties:
        devices:
          description: Device nodes the sprite may access
          items:
            type: string
          type: array
        noNewPrivileges:
          description: Prevent processes from gaining privileges through execve
          type: boolean
        profile:
          description: >-
            Capability profile: `minimal`, `standard` or `privileged`. Empty
            means unrestricted
          type: string
      required: []
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````