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

# List Orgs

> Get all organizations accessible to the authenticated user



## OpenAPI

````yaml get /api/organizations
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/organizations:
    get:
      tags:
        - Authentication
        - Organizations
      summary: List organizations
      description: Get all organizations accessible to the authenticated user
      operationId: listOrganizations
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationListResponse'
components:
  schemas:
    OrganizationListResponse:
      properties:
        organizations:
          items:
            $ref: '#/components/schemas/DiscoveredOrganizationResponse'
          type: array
          title: Organizations
          description: Available organizations
      type: object
      required:
        - organizations
      title: OrganizationListResponse
      description: List of available organizations
    DiscoveredOrganizationResponse:
      properties:
        organization_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Organization Id
          description: Organization identifier
        organization_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Organization Name
          description: Organization display name
        organization_slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Organization Slug
          description: Organization URL slug
        membership_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Membership Type
          description: User's membership type
        membership_details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Membership Details
          description: Additional membership information
      type: object
      title: DiscoveredOrganizationResponse
      description: Organization discovered for user

````