---
title: "Get Admission Rule Details"
url: "https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598/operations/AdmissionRulesController_find"
---

> Full API specification: https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598.md

# Get Admission Rule Details

`GET` `/tenants/admission-rules/{id}`

Operation ID: `AdmissionRulesController_find`

Retrieves detailed information about a specific admission rule including its configuration, rule logic, time constraints, and type (ALLOW/DENY/CUSTOM).

## Path parameters

- `id` (string, uuid, required) - The unique identifier (UUID) of the admission rule

## Responses

- `200` - Successfully retrieved the admission rule
- `401` - Unauthorized - Invalid or missing authentication token
- `403` - Forbidden - Insufficient permissions. Requires OWNER, ADMIN, or AUDITOR role.
- `404` - Admission rule not found with the provided ID

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Cipherscale API
  version: "1.0"
servers:
  - url: https://public-api.cipherscale.com/qa
    description: Cipherscale Public API Server
paths:
  /tenants/admission-rules/{id}:
    get:
      operationId: AdmissionRulesController_find
      summary: Get Admission Rule Details
      description: Retrieves detailed information about a specific admission rule
        including its configuration, rule logic, time constraints, and type
        (ALLOW/DENY/CUSTOM).
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the admission rule
          schema:
            format: uuid
            type: string
      responses:
        "200":
          description: Successfully retrieved the admission rule
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AdmissionRuleDto"
        "401":
          description: Unauthorized - Invalid or missing authentication token
        "403":
          description: Forbidden - Insufficient permissions. Requires OWNER, ADMIN, or
            AUDITOR role.
        "404":
          description: Admission rule not found with the provided ID
      tags:
        - Admission Rules
      security:
        - ApiKeyAuth: []
security:
  - ApiKeyAuth: []
components:
  schemas:
    AdmissionRuleDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        name:
          type: string
        type:
          enum:
            - ALLOW
            - DENY
            - CUSTOM
          type: string
        hasTimeConstraint:
          type: boolean
        rule:
          type: string
      required:
        - id
        - createdAt
        - updatedAt
        - name
        - type
        - hasTimeConstraint
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
```
