Interface PermissionService
-
- All Implemented Interfaces:
public interface PermissionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePermissionService.WithRawResponseA view of PermissionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PermissionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. PermissionCreatePagecreate(PermissionCreateParams params)NOTE: Calling this endpoint requires an .. abstract PermissionCreatePagecreate(PermissionCreateParams params, RequestOptions requestOptions)PermissionRetrieveResponseretrieve(PermissionRetrieveParams params)NOTE: This endpoint requires an .. abstract PermissionRetrieveResponseretrieve(PermissionRetrieveParams params, RequestOptions requestOptions)PermissionDeleteResponsedelete(PermissionDeleteParams params)NOTE: This endpoint requires an .. abstract PermissionDeleteResponsedelete(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)
-
-
-
-