Interface PermissionServiceAsync
-
- All Implemented Interfaces:
public interface PermissionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
PermissionServiceAsync.WithRawResponse
A view of PermissionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PermissionServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<PermissionCreatePageAsync>
create(PermissionCreateParams params)
NOTE: Calling this endpoint requires an .. abstract CompletableFuture<PermissionCreatePageAsync>
create(PermissionCreateParams params, RequestOptions requestOptions)
CompletableFuture<PermissionRetrieveResponse>
retrieve(PermissionRetrieveParams params)
NOTE: This endpoint requires an .. abstract CompletableFuture<PermissionRetrieveResponse>
retrieve(PermissionRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<PermissionDeleteResponse>
delete(PermissionDeleteParams params)
NOTE: This endpoint requires an .. abstract CompletableFuture<PermissionDeleteResponse>
delete(PermissionDeleteParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract PermissionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<PermissionCreatePageAsync> create(PermissionCreateParams params)
NOTE: Calling this endpoint requires an ../admin-api-keys.
This enables organization owners to share fine-tuned models with other projects in their organization.
-
create
abstract CompletableFuture<PermissionCreatePageAsync> create(PermissionCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<PermissionRetrieveResponse> retrieve(PermissionRetrieveParams params)
NOTE: This endpoint requires an ../admin-api-keys.
Organization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.
-
retrieve
abstract CompletableFuture<PermissionRetrieveResponse> retrieve(PermissionRetrieveParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<PermissionDeleteResponse> delete(PermissionDeleteParams params)
NOTE: This endpoint requires an ../admin-api-keys.
Organization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.
-
delete
abstract CompletableFuture<PermissionDeleteResponse> delete(PermissionDeleteParams params, RequestOptions requestOptions)
-
-
-
-