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

# Get all endpoints

> Retrieve all available API endpoints for a specific actor



## OpenAPI

````yaml get /v1/rbac/{actor_id}/endpoints
openapi: 3.0.0
info:
  title: RBAC API
  version: 1.0.0
  description: API for Role-Based Access Control management
servers: []
security:
  - bearerAuth: []
tags:
  - name: RBAC
    description: Role-Based Access Control operations
paths:
  /v1/rbac/{actor_id}/endpoints:
    get:
      tags:
        - RBAC
      summary: Get all endpoints
      description: Retrieve all available API endpoints for a specific actor
      parameters:
        - name: actor_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: Accept-Language
          in: header
          schema:
            type: string
            enum:
              - en
              - de
              - fr
              - it
            default: en
      responses:
        '200':
          description: List of available endpoints
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/APIPermission'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '404':
          description: Actor not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                code: rbac.actor_not_found
                message: Actor not found
components:
  schemas:
    APIPermission:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - user
            - role
        endpoint:
          type: string
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Error code
          example: rbac.invalid_permission
        message:
          type: string
          description: Error message
  responses:
    UnauthorizedError:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: common.unauthorized
            message: Authentication required
    ForbiddenError:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: rbac.insufficient_permissions
            message: Insufficient permissions to perform this action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````