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

# Get organisations for the current user

> Lists every organisation the current user can access, directly as a member or indirectly through membership of one of its projects.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json get /api/organisations
openapi: 3.0.0
info:
  title: MentionLab Public API v0.3.4-rc
  description: ''
  version: 0.3.4-rc
  contact: {}
servers:
  - url: https://api.mentionlab.io
security: []
tags: []
paths:
  /api/organisations:
    get:
      tags:
        - Organisations
      summary: Get organisations for the current user
      description: >-
        Lists every organisation the current user can access, directly as a
        member or indirectly through membership of one of its projects.
      operationId: OrganisationsController_list
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganisationResponseWithIndirect'
        '400':
          description: >-
            The request failed validation — the body, query or path parameters
            are malformed or out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: The request is missing valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The authenticated principal lacks the required permission, or access
            to the requested organisation/project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    OrganisationResponseWithIndirect:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the organisation
          example: 01234567-89ab-cdef-0123-456789abcdef
        name:
          type: string
          description: Name of the organisation
          example: My Company
        slug:
          type: string
          description: Slug of the organisation
          example: my-organisation
        isDirectMember:
          type: boolean
          description: Whether the user is a direct member of the organisation
          example: true
        config:
          description: Organisation configuration details
          allOf:
            - $ref: '#/components/schemas/OrganisationConfigDto'
        role:
          type: string
          description: Role of the user in the organisation (if direct member)
          enum:
            - org_admin
            - org_editor
            - org_viewer
            - super_org_admin
            - super_viewer
          example: org_admin
        parentOrganisationId:
          type: string
          description: >-
            Parent organisation id when this org is a sub-org. Absent for root
            orgs.
          example: 01234567-89ab-cdef-0123-456789abcdef
        billingMode:
          type: string
          description: >-
            Billing mode for the org. Absent on sub-orgs (inherited from
            parent).
          enum:
            - stripe_self_serve
            - stripe_partner
            - partner_invoice
        status:
          type: string
          description: Account status (active / hard_suspended / frozen)
          enum:
            - active
            - hard_suspended
            - frozen
          example: active
        isSuperOrg:
          type: boolean
          description: >-
            True iff this org has at least one child sub-org (i.e. is a
            super-org)
          example: false
        features:
          description: >-
            Client-visible entitlements granted to the org (e.g. model-gating
            keys). Empty when none.
          example:
            - chat-latest
          type: array
          items:
            type: string
      required:
        - id
        - name
        - isDirectMember
        - status
        - isSuperOrg
        - features
    ApiErrorResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error.
          example: 400
        message:
          type: string
          description: >-
            Human-readable description of the error. Validation failures return
            an array of per-field validation errors instead of a single string.
          example: Validation failed
        error:
          type: string
          description: Short name of the HTTP error.
          example: Bad Request
      required:
        - statusCode
    OrganisationConfigDto:
      type: object
      properties:
        logoUrlDark:
          type: string
          description: Bucket link to the organisation logo for dark theme
          example: https://example.com/logo-dark.svg
        logoUrlLight:
          type: string
          description: Bucket link to the organisation logo for light theme
          example: https://example.com/logo-light.svg

````