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

# Get an organization



## OpenAPI

````yaml https://app.getkontext.io/openapi.json get /v1/organizations/{orgId}
openapi: 3.1.0
info:
  title: Kontext API
  version: 1.0.0
  description: >-
    API documentation for Kontext — generated from Zod schemas in
    @kontext/api-contract
servers:
  - url: https://getkontext.io/api
    description: Production
  - url: http://localhost:5173/api
    description: Development
security:
  - BearerAuth: []
paths:
  /v1/organizations/{orgId}:
    get:
      tags:
        - Organizations
      summary: Get an organization
      parameters:
        - schema:
            type: string
          required: true
          name: orgId
          in: path
      responses:
        '200':
          description: Organization details
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  slug:
                    type: string
                  avatarType:
                    type:
                      - string
                      - 'null'
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - id
                  - name
                  - slug
                  - avatarType
                  - createdAt
                  - updatedAt
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  issues:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                        message:
                          type: string
                        path:
                          type: array
                          items:
                            anyOf:
                              - type: string
                              - type: number
                      required:
                        - code
                        - message
                required:
                  - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  issues:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                        message:
                          type: string
                        path:
                          type: array
                          items:
                            anyOf:
                              - type: string
                              - type: number
                      required:
                        - code
                        - message
                required:
                  - error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key (ktx_key_*) or session Bearer token

````