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

# Get organization settings

> Read the shared background that guides memory formation across the organization, together with the number of active namespaces.



## OpenAPI

````yaml https://api.supermemory.ai/v5/openapi get /organization
openapi: 3.1.0
info:
  title: supermemory API
  description: >-
    The Memory API for the AI era. OpenAPI operations include x-codeSamples for
    the official TypeScript and Python SDKs (Mintlify-compatible).
  version: 5.0.0
servers:
  - description: Production Server
    url: https://api.supermemory.ai
security:
  - bearerAuth: []
tags:
  - name: Ingest
    description: Ingest documents, files, URLs, conversations, and other content
  - name: Recall (Search)
    description: >-
      Semantic recall across your content — supports memories, hybrid, and
      documents modes
  - name: Profiles
    description: Maintained static, dynamic, and custom-bucket profiles scoped by namespace
  - name: Content Management
    description: List, get, update, and delete content and memories
  - name: Namespaces
    description: List and manage isolated namespaces and their settings
  - name: Connectors
    description: >-
      Sync external sources such as Google Drive, Notion and GitHub into a
      namespace
  - name: Organization
    description: Read and update organization-wide settings
paths:
  /organization:
    get:
      tags:
        - Organization
      summary: Get organization settings
      description: >-
        Read the shared background that guides memory formation across the
        organization, together with the number of active namespaces.
      operationId: getOrganization
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  organizationalContext:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      Shared background that helps Supermemory interpret content
                      consistently across every namespace
                  namespaceCount:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                    description: Number of namespaces in the organization
                required:
                  - organizationalContext
                  - namespaceCount
          description: Organization settings retrieved successfully
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          description: The API key cannot access this endpoint or namespace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal server error
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: |-
            import { Supermemory } from "supermemory";

            const client = new Supermemory(); // reads SUPERMEMORY_API_KEY

            const org = await client.organization.get();
            console.log(org.organizationalContext, org.namespaceCount);
        - lang: python
          label: Python SDK
          source: |-
            from supermemory import Supermemory

            client = Supermemory()  # reads SUPERMEMORY_API_KEY

            org = client.organization.get()
            print(org.organizational_context, org.namespace_count)
        - lang: bash
          label: cURL
          source: |-
            curl "https://api.supermemory.ai/organization" \
              -H "Authorization: Bearer $SUPERMEMORY_API_KEY"
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
          example: Invalid request parameters
        details:
          type: string
          description: Additional error details
          example: Query must be at least 1 character long
      required:
        - error
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.