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

# Get an organization



## OpenAPI

````yaml /api-reference/openapi.personal.json get /v1/orgs/{slug}
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/orgs/{slug}:
    get:
      tags:
        - Organization
      summary: Get an organization
      operationId: get_org
      parameters:
        - name: slug
          in: path
          description: Organization slug
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Organization details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgWithRole'
        '401':
          description: Unauthorized
        '403':
          description: Not a member
      security:
        - bearer: []
components:
  schemas:
    OrgWithRole:
      type: object
      description: Organization with the requesting user's role included.
      required:
        - id
        - name
        - slug
        - mfa_required
        - role
        - created_at
        - updated_at
      properties:
        created_at:
          type: string
          format: date-time
        id:
          type: string
          format: uuid
        mfa_required:
          type: boolean
        name:
          type: string
        role:
          $ref: '#/components/schemas/OrgRole'
        slug:
          type: string
        updated_at:
          type: string
          format: date-time
    OrgRole:
      type: string
      description: Organization membership role.
      enum:
        - owner
        - admin
        - member
        - viewer
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````