Skip to content

LangfuseOrganization ​

langfuseorganizations.langfuse.palena.ai/v1alpha1

Manages a Langfuse organization via the Admin API.

Spec ​

FieldTypeDescription
instanceRefObjectReferenceReference to the parent LangfuseInstance
displayNamestringOrganization name in Langfuse
membersOrganizationMembersSpecMembership configuration

OrganizationMembersSpec ​

FieldTypeDefaultDescription
managedExclusivelyboolfalseIf true, removes unlisted users
users[]OrganizationMemberSpecList of members

OrganizationMemberSpec ​

FieldTypeDescription
emailstringUser's email address
rolestringowner, admin, member, or viewer

Status ​

FieldTypeDescription
readyboolWhether the organization is fully synced
organizationIdstringLangfuse internal organization ID
memberCountintTotal number of members
syncedMembersintNumber of confirmed synced members
projectCountintNumber of LangfuseProject CRs referencing this org
conditions[]ConditionStandard Kubernetes conditions

Conditions ​

TypeDescription
ReadyOrganization exists and is synced
SyncedSpec matches Langfuse state
MembersSyncedAll members are at desired state

Finalizer ​

langfuse.palena.ai/organization-cleanup

On deletion:

  1. Blocks if any LangfuseProject CRs reference this organization
  2. Deletes the organization via the Admin API
  3. Removes the finalizer

Example ​

yaml
apiVersion: langfuse.palena.ai/v1alpha1
kind: LangfuseOrganization
metadata:
  name: ml-platform
  namespace: langfuse
spec:
  instanceRef:
    name: production
  displayName: "ML Platform Team"
  members:
    managedExclusively: false
    users:
      - email: "alice@example.com"
        role: owner
      - email: "bob@example.com"
        role: admin
      - email: "carol@example.com"
        role: member
NAME          READY   ORG ID        MEMBERS   AGE
ml-platform   true    org_abc123    3         2d

Released under the Apache 2.0 License.