Langfuse Organizations API

The Organizations API from Langfuse — 4 operation(s) for organizations.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/public/organizations/memberships List members of my organization · Organizations get organization memberships #
Ask an LLM
“Who are the members of the organization my API key belongs to?”
“Can I see the roles of everyone in my organization?”
Tell an agent
List the memberships of my organization.
Show every member of the organization tied to my API key.
PUT /api/public/organizations/memberships Add or change an organization member · Organizations update organization membership #
Ask an LLM
“How do I add a new member to my organization?”
“Can I change an existing organization member's role?”
Tell an agent
Add user {userId} to my organization with role {role}.
Make {userId} an {role} in my organization.
DELETE /api/public/organizations/memberships Remove an organization member · Organizations delete organization membership #
Ask an LLM
“How do I remove someone from my organization?”
“Can I delete a member's organization membership?”
Tell an agent destructive · confirm first
Remove user {userId} from my organization.
Delete {userId}'s organization membership.
GET /api/public/projects/{projectId}/memberships List members of a project · Organizations get project memberships #
Ask an LLM
“Who has access to a particular project?”
“Can I see the roles of project members?”
Tell an agent
List the memberships of project {projectId}.
Show who is in project {projectId}.
PUT /api/public/projects/{projectId}/memberships Add or change a project member · Organizations update project membership #
Ask an LLM
“How do I add a user to a project?”
“Can I change a project member's role?”
Tell an agent
Add user {userId} to project {projectId} with role {role}.
Make {userId} a {role} in project {projectId}.
DELETE /api/public/projects/{projectId}/memberships Remove a project member · Organizations delete project membership #
Ask an LLM
“How do I remove someone from a project?”
“Can I delete a user's project membership?”
Tell an agent destructive · confirm first
Remove user {userId} from project {projectId}.
Delete {userId}'s membership in project {projectId}.
GET /api/public/organizations/projects List my organization's projects · Organizations get organization projects #
Ask an LLM
“What projects exist in my organization?”
“Can I list all projects under my organization?”
Tell an agent
List the projects in my organization.
Show every project my organization owns.
GET /api/public/organizations/apiKeys List my organization's API keys · Organizations get organization api keys #
Ask an LLM
“Which API keys does my organization have?”
“Can I see the organization-scoped API keys?”
Tell an agent
List the API keys of my organization.
Show every organization API key.

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/langfuse:langfuse-organizations-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

langfuse-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: langfuse Organizations API
  version: ''
  description: '## Authentication


    Authenticate with the API using Basic Auth, get API keys in the project settings:


    - username: Langfuse Public Key

    - password: Langfuse Secret Key


    ## Exports


    - OpenAPI spec: https://cloud.langfuse.com/generated/api/openapi.yml'
tags:
- name: Organizations
paths:
  /api/public/organizations/memberships:
    get:
      description: Get all memberships for the organization associated with the API key (requires organization-scoped API key)
      operationId: organizations_getOrganizationMemberships
      tags:
      - Organizations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Organizations get organization memberships
      x-summary-source: derived
    put:
      description: Create or update a membership for the organization associated with the API key (requires organization-scoped API key)
      operationId: organizations_updateOrganizationMembership
      tags:
      - Organizations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipRequest'
      summary: Organizations update organization membership
      x-summary-source: derived
    delete:
      description: Delete a membership from the organization associated with the API key (requires organization-scoped API key)
      operationId: organizations_deleteOrganizationMembership
      tags:
      - Organizations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipDeletionResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteMembershipRequest'
      summary: Organizations delete organization membership
      x-summary-source: derived
  /api/public/projects/{projectId}/memberships:
    get:
      description: Get all memberships for a specific project (requires organization-scoped API key)
      operationId: organizations_getProjectMemberships
      tags:
      - Organizations
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Organizations get project memberships
      x-summary-source: derived
    put:
      description: Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization.
      operationId: organizations_updateProjectMembership
      tags:
      - Organizations
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipRequest'
      summary: Organizations update project membership
      x-summary-source: derived
    delete:
      description: Delete a membership from a specific project (requires organization-scoped API key). The user must be a member of the organization.
      operationId: organizations_deleteProjectMembership
      tags:
      - Organizations
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipDeletionResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteMembershipRequest'
      summary: Organizations delete project membership
      x-summary-source: derived
  /api/public/organizations/projects:
    get:
      description: Get all projects for the organization associated with the API key (requires organization-scoped API key)
      operationId: organizations_getOrganizationProjects
      tags:
      - Organizations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationProjectsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Organizations get organization projects
      x-summary-source: derived
  /api/public/organizations/apiKeys:
    get:
      description: Get all API keys for the organization associated with the API key (requires organization-scoped API key)
      operationId: organizations_getOrganizationApiKeys
      tags:
      - Organizations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationApiKeysResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Organizations get organization api keys
      x-summary-source: derived
components:
  schemas:
    MembershipResponse:
      title: MembershipResponse
      type: object
      properties:
        userId:
          type: string
        role:
          $ref: '#/components/schemas/MembershipRole'
        email:
          type: string
        name:
          type: string
      required:
      - userId
      - role
      - email
      - name
    MembershipsResponse:
      title: MembershipsResponse
      type: object
      properties:
        memberships:
          type: array
          items:
            $ref: '#/components/schemas/MembershipResponse'
      required:
      - memberships
    MembershipRequest:
      title: MembershipRequest
      type: object
      properties:
        userId:
          type: string
        role:
          $ref: '#/components/schemas/MembershipRole'
      required:
      - userId
      - role
    OrganizationApiKeysResponse:
      title: OrganizationApiKeysResponse
      type: object
      properties:
        apiKeys:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationApiKey'
      required:
      - apiKeys
    DeleteMembershipRequest:
      title: DeleteMembershipRequest
      type: object
      properties:
        userId:
          type: string
      required:
      - userId
    MembershipDeletionResponse:
      title: MembershipDeletionResponse
      type: object
      properties:
        message:
          type: string
        userId:
          type: string
      required:
      - message
      - userId
    OrganizationProject:
      title: OrganizationProject
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        metadata:
          type:
          - object
          - 'null'
          additionalProperties: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - name
      - createdAt
      - updatedAt
    OrganizationApiKey:
      title: OrganizationApiKey
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type:
          - string
          - 'null'
          format: date-time
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
        note:
          type:
          - string
          - 'null'
        publicKey:
          type: string
        displaySecretKey:
          type: string
      required:
      - id
      - createdAt
      - publicKey
      - displaySecretKey
    MembershipRole:
      title: MembershipRole
      type: string
      enum:
      - OWNER
      - ADMIN
      - MEMBER
      - VIEWER
    OrganizationProjectsResponse:
      title: OrganizationProjectsResponse
      type: object
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationProject'
      required:
      - projects
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
x-provenance:
  method: harvested
  publisher: Langfuse
  source: https://cloud.langfuse.com/generated/api/openapi.yml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)