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

# Get My Permissions

> Return the authenticated user's effective permission flags for a board.

Flags are resolved via ``resolve_permissions(agent_flags, preset_flags,
board_overrides)`` — the exact same path used by runtime permission
checks. Board overrides that restrict flags (ceiling model) appear as
``False``.

Legacy agents (``permissions`` column non-null, flat list) are mapped
through ``map_legacy_permissions`` first. Agents with no granular data
at all default to the full registry (True for everything), matching the
historical "full access" compat path.



## OpenAPI

````yaml /openapi.json get /api/v1/me/permissions
openapi: 3.1.0
info:
  description: >-
    Okto Pulse REST API schema generated from okto-pulse-core 0.2.0 source for
    docs.oktolabs.ai.
  title: Okto Pulse
  version: 0.2.0
servers: []
security: []
paths:
  /api/v1/me/permissions:
    get:
      tags:
        - me
      summary: Get My Permissions
      description: |-
        Return the authenticated user's effective permission flags for a board.

        Flags are resolved via ``resolve_permissions(agent_flags, preset_flags,
        board_overrides)`` — the exact same path used by runtime permission
        checks. Board overrides that restrict flags (ceiling model) appear as
        ``False``.

        Legacy agents (``permissions`` column non-null, flat list) are mapped
        through ``map_legacy_permissions`` first. Agents with no granular data
        at all default to the full registry (True for everything), matching the
        historical "full access" compat path.
      operationId: get_my_permissions_api_v1_me_permissions_get
      parameters:
        - description: Board to resolve permissions against
          in: query
          name: board_id
          required: true
          schema:
            description: Board to resolve permissions against
            title: Board Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionsResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    PermissionsResponse:
      properties:
        board_id:
          title: Board Id
          type: string
        flags:
          additionalProperties: true
          title: Flags
          type: object
        preset_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Preset Name
      required:
        - board_id
        - preset_name
        - flags
      title: PermissionsResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````