Class OrganizationsClient

java.lang.Object
com.langfuse.client.resources.organizations.OrganizationsClient

public class OrganizationsClient extends Object
  • Field Details

  • Constructor Details

    • OrganizationsClient

      public OrganizationsClient(ClientOptions clientOptions)
  • Method Details

    • withRawResponse

      public RawOrganizationsClient withRawResponse()
      Get responses with HTTP metadata like headers
    • getOrganizationMemberships

      public MembershipsResponse getOrganizationMemberships()
      Get all memberships for the organization associated with the API key (requires organization-scoped API key)
    • getOrganizationMemberships

      public MembershipsResponse getOrganizationMemberships(RequestOptions requestOptions)
      Get all memberships for the organization associated with the API key (requires organization-scoped API key)
    • updateOrganizationMembership

      public MembershipResponse updateOrganizationMembership(MembershipRequest request)
      Create or update a membership for the organization associated with the API key (requires organization-scoped API key)
    • updateOrganizationMembership

      public MembershipResponse updateOrganizationMembership(MembershipRequest request, RequestOptions requestOptions)
      Create or update a membership for the organization associated with the API key (requires organization-scoped API key)
    • deleteOrganizationMembership

      public MembershipDeletionResponse deleteOrganizationMembership(DeleteMembershipRequest request)
      Delete a membership from the organization associated with the API key (requires organization-scoped API key)
    • deleteOrganizationMembership

      public MembershipDeletionResponse deleteOrganizationMembership(DeleteMembershipRequest request, RequestOptions requestOptions)
      Delete a membership from the organization associated with the API key (requires organization-scoped API key)
    • getProjectMemberships

      public MembershipsResponse getProjectMemberships(String projectId)
      Get all memberships for a specific project (requires organization-scoped API key)
    • getProjectMemberships

      public MembershipsResponse getProjectMemberships(String projectId, RequestOptions requestOptions)
      Get all memberships for a specific project (requires organization-scoped API key)
    • updateProjectMembership

      public MembershipResponse updateProjectMembership(String projectId, MembershipRequest request)
      Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization.
    • updateProjectMembership

      public MembershipResponse updateProjectMembership(String projectId, MembershipRequest request, RequestOptions requestOptions)
      Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization.
    • deleteProjectMembership

      public MembershipDeletionResponse deleteProjectMembership(String projectId, DeleteMembershipRequest request)
      Delete a membership from a specific project (requires organization-scoped API key). The user must be a member of the organization.
    • deleteProjectMembership

      public MembershipDeletionResponse deleteProjectMembership(String projectId, DeleteMembershipRequest request, RequestOptions requestOptions)
      Delete a membership from a specific project (requires organization-scoped API key). The user must be a member of the organization.
    • getOrganizationProjects

      public OrganizationProjectsResponse getOrganizationProjects()
      Get all projects for the organization associated with the API key (requires organization-scoped API key)
    • getOrganizationProjects

      public OrganizationProjectsResponse getOrganizationProjects(RequestOptions requestOptions)
      Get all projects for the organization associated with the API key (requires organization-scoped API key)
    • getOrganizationApiKeys

      public OrganizationApiKeysResponse getOrganizationApiKeys()
      Get all API keys for the organization associated with the API key (requires organization-scoped API key)
    • getOrganizationApiKeys

      public OrganizationApiKeysResponse getOrganizationApiKeys(RequestOptions requestOptions)
      Get all API keys for the organization associated with the API key (requires organization-scoped API key)