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

# Get Graph

> Return the full authorization graph for the current workspace.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/access-control/graph
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/access-control/graph:
    get:
      tags:
        - v1
        - protected
        - access-control
      summary: Get Graph
      description: Return the full authorization graph for the current workspace.
      operationId: get_graph_v1_access_control_graph_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    GraphResponse:
      properties:
        edges:
          items:
            additionalProperties: true
            type: object
          title: Edges
          type: array
        enabled:
          title: Enabled
          type: boolean
        nodes:
          items:
            $ref: '#/components/schemas/GraphNode'
          title: Nodes
          type: array
        stats:
          $ref: '#/components/schemas/GraphStats'
      required:
        - enabled
        - nodes
        - edges
        - stats
      title: GraphResponse
      type: object
    GraphNode:
      properties:
        color:
          title: Color
          type: string
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
        id:
          title: Id
          type: string
        kind:
          enum:
            - agent
            - collection
            - mcp
          title: Kind
          type: string
        name:
          title: Name
          type: string
        subtitle:
          title: Subtitle
          type: string
      required:
        - id
        - kind
        - name
        - subtitle
        - color
      title: GraphNode
      type: object
    GraphStats:
      properties:
        direct_exception_count:
          title: Direct Exception Count
          type: integer
        governed_skill_count:
          title: Governed Skill Count
          type: integer
        rule_count:
          title: Rule Count
          type: integer
      required:
        - governed_skill_count
        - rule_count
        - direct_exception_count
      title: GraphStats
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````