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

# Get Organization

> Get organization details.



## OpenAPI

````yaml get /orgs/{org_id}
openapi: 3.1.0
info:
  title: Flow API
  description: Content-addressing backend with Git-like versioning
  version: 1.0.0
servers:
  - url: https://api.yertle.com
    description: Production
security: []
paths:
  /orgs/{org_id}:
    get:
      tags:
        - organizations
      summary: Get Organization
      description: Get organization details.
      operationId: get_organization_orgs__org_id__get
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            title: Org Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OrganizationResponse:
      properties:
        id:
          type: string
          title: Id
          description: Organization ID
        name:
          type: string
          title: Name
          description: Organization name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Organization description
        public_id:
          type: string
          title: Public Id
          description: URL-friendly public identifier
        invite_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Invite Mode
          description: Invite mode (open or restricted)
        is_public:
          type: boolean
          title: Is Public
          description: Whether the org is published for anonymous read
          default: false
        role:
          anyOf:
            - type: string
              enum:
                - owner
                - editor
                - viewer
            - type: 'null'
          title: Role
          description: Current user's role
        member_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Member Count
          description: Number of members
        node_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Node Count
          description: Number of nodes
        root_node_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Root Node Id
          description: ID of the organization's root node
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update timestamp
      type: object
      required:
        - id
        - name
        - public_id
        - created_at
        - updated_at
      title: OrganizationResponse
      description: Response model for organization data.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````