Elnora AI Organization API

The Organization API from Elnora AI — 13 operation(s) for organization.

GitHub OpenAPI

Operations 14

GET /organizations Get current user's organizations #
GET /organizations/{organizationId} Get organization by ID #
PUT /organizations/{organizationId} Update organization #
GET /organizations/{organizationId}/billing-status Get billing status for an organization #
POST /organizations/{organizationId}/exports Request an org-wide data export (JSON + CSV + original file formats + AI memory) #
GET /organizations/{organizationId}/exports/{jobId} Get the status of an export job #
GET /organizations/{organizationId}/exports/{jobId}/download Download a completed export bundle — redirects to a freshly signed, short-lived… #
PATCH /organizations/{organizationId}/kb-autotidy Toggle the org's self-managing-KB autonomous curation (on-upload ingest +… #
GET /organizations/{organizationId}/members Get organization members #
DELETE /organizations/{organizationId}/members/{membershipId} Remove a member from an organization #
PUT /organizations/{organizationId}/members/{membershipId}/role Update a member's role within an organization #
GET /organizations/{organizationId}/members/directory Member-accessible directory for the Share modal typeahead (KB Access V2 / ) #
PUT /organizations/{organizationId}/set-default Set an organization as the user's default (loaded on login) #
POST /organizations/{organizationId}/switch Switch the user's active organization and return a new JWT #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elnora-ai:elnora-ai-organization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elnora-ai-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elnora Organization API
  version: v1
  description: 'The Elnora core REST API. Authenticate with an API key in the `X-API-Key` header (or `Authorization: Bearer`). Base URL: https://platform.elnora.ai/api/v1.'
servers:
- url: https://platform.elnora.ai/api/v1
  description: Production
security:
- ApiKey: []
- Bearer: []
tags:
- name: Organization
paths:
  /organizations:
    get:
      tags:
      - Organization
      summary: Get current user's organizations
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
      operationId: getOrganizations
      x-operation-id-source: derived
  /organizations/{organizationId}:
    get:
      tags:
      - Organization
      summary: Get organization by ID
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationId
      x-operation-id-source: derived
    put:
      tags:
      - Organization
      summary: Update organization
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganization'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: putOrganizationsByOrganizationId
      x-operation-id-source: derived
  /organizations/{organizationId}/billing-status:
    get:
      tags:
      - Organization
      summary: Get billing status for an organization
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationIdBillingStatus
      x-operation-id-source: derived
  /organizations/{organizationId}/exports:
    post:
      tags:
      - Organization
      summary: Request an org-wide data export (JSON + CSV + original file formats + AI memory)
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '202':
          description: Accepted
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: postOrganizationsByOrganizationIdExports
      x-operation-id-source: derived
  /organizations/{organizationId}/exports/{jobId}:
    get:
      tags:
      - Organization
      summary: Get the status of an export job
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: jobId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgExportJob'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationIdExportsByJobId
      x-operation-id-source: derived
  /organizations/{organizationId}/exports/{jobId}/download:
    get:
      tags:
      - Organization
      summary: Download a completed export bundle — redirects to a freshly signed, short-lived…
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: jobId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '302':
          description: Redirect
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
            text/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationIdExportsByJobIdDownload
      x-operation-id-source: derived
  /organizations/{organizationId}/kb-autotidy:
    patch:
      tags:
      - Organization
      summary: Toggle the org's self-managing-KB autonomous curation (on-upload ingest +…
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateKbAutotidy'
      responses:
        '200':
          description: Success
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: patchOrganizationsByOrganizationIdKbAutotidy
      x-operation-id-source: derived
  /organizations/{organizationId}/members:
    get:
      tags:
      - Organization
      summary: Get organization members
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationMember'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationIdMembers
      x-operation-id-source: derived
  /organizations/{organizationId}/members/{membershipId}:
    delete:
      tags:
      - Organization
      summary: Remove a member from an organization
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: membershipId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: deleteOrganizationsByOrganizationIdMembersByMembershipId
      x-operation-id-source: derived
  /organizations/{organizationId}/members/{membershipId}/role:
    put:
      tags:
      - Organization
      summary: Update a member's role within an organization
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: membershipId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganizationMemberRole'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: putOrganizationsByOrganizationIdMembersByMembershipIdRole
      x-operation-id-source: derived
  /organizations/{organizationId}/members/directory:
    get:
      tags:
      - Organization
      summary: Member-accessible directory for the Share modal typeahead (KB Access V2 / )
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: q
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrgMemberLookup'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: getOrganizationsByOrganizationIdMembersDirectory
      x-operation-id-source: derived
  /organizations/{organizationId}/set-default:
    put:
      tags:
      - Organization
      summary: Set an organization as the user's default (loaded on login)
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseMessage'
      operationId: putOrganizationsByOrganizationIdSetDefault
      x-operation-id-source: derived
  /organizations/{organizationId}/switch:
    post:
      tags:
      - Organization
      summary: Switch the user's active organization and return a new JWT
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postOrganizationsByOrganizationIdSwitch
      x-operation-id-source: derived
components:
  schemas:
    ResponseMessage:
      type: object
      properties:
        errorCode:
          type:
          - string
          - 'null'
        messages:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    UpdateOrganization:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        pilotStartDate:
          type:
          - string
          - 'null'
          format: date-time
        pilotEndDate:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: false
    OrgMemberLookup:
      type: object
      properties:
        userId:
          type: integer
          format: int32
        email:
          type:
          - string
          - 'null'
        displayName:
          type:
          - string
          - 'null'
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    OrganizationMember:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        userId:
          type: integer
          format: int32
        email:
          type:
          - string
          - 'null'
        displayName:
          type:
          - string
          - 'null'
        role:
          type:
          - string
          - 'null'
        joinedAt:
          type: string
          format: date-time
        invitedBy:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    Organization:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type:
          - string
          - 'null'
        slug:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        pilotStartDate:
          type:
          - string
          - 'null'
          format: date-time
        pilotEndDate:
          type:
          - string
          - 'null'
          format: date-time
        isPilotActive:
          type: boolean
        pilotDaysRemaining:
          type: integer
          format: int32
        role:
          type:
          - string
          - 'null'
        memberCount:
          type:
          - integer
          - 'null'
          format: int32
        isDefault:
          type: boolean
        stripeCustomerId:
          type:
          - string
          - 'null'
        stripeSubscriptionId:
          type:
          - string
          - 'null'
        billingProvisioningStatus:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        terminatedAt:
          type:
          - string
          - 'null'
          format: date-time
        scheduledPurgeAt:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: false
    UpdateOrganizationMemberRole:
      type: object
      properties:
        role:
          type:
          - string
          - 'null'
      additionalProperties: false
    ExportJobStatus:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      type: integer
      format: int32
    OrgExportJob:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        requestedByUserId:
          type: integer
          format: int32
        status:
          $ref: '#/components/schemas/ExportJobStatus'
        requestedAt:
          type: string
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        expiresAt:
          type:
          - string
          - 'null'
          format: date-time
        s3Key:
          type:
          - string
          - 'null'
        sizeBytes:
          type:
          - integer
          - 'null'
          format: int64
        fileCount:
          type:
          - integer
          - 'null'
          format: int32
        error:
          type:
          - string
          - 'null'
      additionalProperties: false
    UpdateKbAutotidy:
      type: object
      properties:
        enabled:
          type: boolean
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: "JWT Authorization header using the Bearer scheme. \n\n Enter 'Bearer' [space] and then your token in the text input below.\n\nExample: \"Bearer 12345abcdef\""
      name: Authorization
      in: header
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Elnora API key (prefixed `elnora_live_`). Create one in the dashboard under Settings → API keys.