Class AsyncRawProjectsClient
java.lang.Object
com.langfuse.client.resources.projects.AsyncRawProjectsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateProjectRequest request) Create a new project (requires organization-scoped API key)create(CreateProjectRequest request, RequestOptions requestOptions) Create a new project (requires organization-scoped API key)createApiKey(String projectId) Create a new API key for a project (requires organization-scoped API key)createApiKey(String projectId, RequestOptions requestOptions) Create a new API key for a project (requires organization-scoped API key)createApiKey(String projectId, CreateApiKeyRequest request) Create a new API key for a project (requires organization-scoped API key)createApiKey(String projectId, CreateApiKeyRequest request, RequestOptions requestOptions) Create a new API key for a project (requires organization-scoped API key)Delete a project by ID (requires organization-scoped API key).delete(String projectId, RequestOptions requestOptions) Delete a project by ID (requires organization-scoped API key).deleteApiKey(String projectId, String apiKeyId) Delete an API key for a project (requires organization-scoped API key)deleteApiKey(String projectId, String apiKeyId, RequestOptions requestOptions) Delete an API key for a project (requires organization-scoped API key)get()Get Project associated with API key (requires project-scoped API key).get(RequestOptions requestOptions) Get Project associated with API key (requires project-scoped API key).getApiKeys(String projectId) Get all API keys for a project (requires organization-scoped API key)getApiKeys(String projectId, RequestOptions requestOptions) Get all API keys for a project (requires organization-scoped API key)update(String projectId, UpdateProjectRequest request) Update a project by ID (requires organization-scoped API key).update(String projectId, UpdateProjectRequest request, RequestOptions requestOptions) Update a project by ID (requires organization-scoped API key).
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncRawProjectsClient
-
-
Method Details
-
get
Get Project associated with API key (requires project-scoped API key). You can use GET /api/public/organizations/projects to get all projects with an organization-scoped key. -
get
Get Project associated with API key (requires project-scoped API key). You can use GET /api/public/organizations/projects to get all projects with an organization-scoped key. -
create
Create a new project (requires organization-scoped API key) -
create
public CompletableFuture<LangfuseClientHttpResponse<Project>> create(CreateProjectRequest request, RequestOptions requestOptions) Create a new project (requires organization-scoped API key) -
update
public CompletableFuture<LangfuseClientHttpResponse<Project>> update(String projectId, UpdateProjectRequest request) Update a project by ID (requires organization-scoped API key). -
update
public CompletableFuture<LangfuseClientHttpResponse<Project>> update(String projectId, UpdateProjectRequest request, RequestOptions requestOptions) Update a project by ID (requires organization-scoped API key). -
delete
public CompletableFuture<LangfuseClientHttpResponse<ProjectDeletionResponse>> delete(String projectId) Delete a project by ID (requires organization-scoped API key). Project deletion is processed asynchronously. -
delete
public CompletableFuture<LangfuseClientHttpResponse<ProjectDeletionResponse>> delete(String projectId, RequestOptions requestOptions) Delete a project by ID (requires organization-scoped API key). Project deletion is processed asynchronously. -
getApiKeys
Get all API keys for a project (requires organization-scoped API key) -
getApiKeys
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyList>> getApiKeys(String projectId, RequestOptions requestOptions) Get all API keys for a project (requires organization-scoped API key) -
createApiKey
Create a new API key for a project (requires organization-scoped API key) -
createApiKey
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyResponse>> createApiKey(String projectId, RequestOptions requestOptions) Create a new API key for a project (requires organization-scoped API key) -
createApiKey
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyResponse>> createApiKey(String projectId, CreateApiKeyRequest request) Create a new API key for a project (requires organization-scoped API key) -
createApiKey
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyResponse>> createApiKey(String projectId, CreateApiKeyRequest request, RequestOptions requestOptions) Create a new API key for a project (requires organization-scoped API key) -
deleteApiKey
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyDeletionResponse>> deleteApiKey(String projectId, String apiKeyId) Delete an API key for a project (requires organization-scoped API key) -
deleteApiKey
public CompletableFuture<LangfuseClientHttpResponse<ApiKeyDeletionResponse>> deleteApiKey(String projectId, String apiKeyId, RequestOptions requestOptions) Delete an API key for a project (requires organization-scoped API key)
-