Interface PermissionService
-
- All Implemented Interfaces:
public interface PermissionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
PermissionService.WithRawResponse
A view of PermissionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PermissionService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. PermissionCreatePage
create(PermissionCreateParams params)
NOTE: Calling this endpoint requires an .. abstract PermissionCreatePage
create(PermissionCreateParams params, RequestOptions requestOptions)
PermissionRetrieveResponse
retrieve(PermissionRetrieveParams params)
NOTE: This endpoint requires an .. abstract PermissionRetrieveResponse
retrieve(PermissionRetrieveParams params, RequestOptions requestOptions)
PermissionDeleteResponse
delete(PermissionDeleteParams params)
NOTE: This endpoint requires an .. abstract PermissionDeleteResponse
delete(PermissionDeleteParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract PermissionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
PermissionCreatePage 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 PermissionCreatePage create(PermissionCreateParams params, RequestOptions requestOptions)
-
retrieve
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 PermissionRetrieveResponse retrieve(PermissionRetrieveParams params, RequestOptions requestOptions)
-
delete
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 PermissionDeleteResponse delete(PermissionDeleteParams params, RequestOptions requestOptions)
-
-
-
-