Interface NamespaceService
-
- All Implemented Interfaces:
public interface NamespaceServiceCreate, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceNamespaceService.WithRawResponseA view of NamespaceService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract NamespaceService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract NamespaceServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Unitcreate(NamespaceCreateParams params)Create a private skill namespace owned by the authenticated org and receive a one-time bearer token used by the case-skills publisher. abstract Unitcreate(NamespaceCreateParams params, RequestOptions requestOptions)Unitretrieve(String id)Read skill namespace Unitretrieve(String id, NamespaceRetrieveParams params, RequestOptions requestOptions)Unitretrieve(String id, NamespaceRetrieveParams params)abstract Unitretrieve(NamespaceRetrieveParams params, RequestOptions requestOptions)Unitretrieve(NamespaceRetrieveParams params)Unitretrieve(String id, RequestOptions requestOptions)Unitlist()List all active skill namespaces owned by the authenticated organization. abstract Unitlist(NamespaceListParams params, RequestOptions requestOptions)Unitlist(NamespaceListParams params)Unitlist(RequestOptions requestOptions)Unitdelete(String id)Delete skill namespace Unitdelete(String id, NamespaceDeleteParams params, RequestOptions requestOptions)Unitdelete(String id, NamespaceDeleteParams params)abstract Unitdelete(NamespaceDeleteParams params, RequestOptions requestOptions)Unitdelete(NamespaceDeleteParams params)Unitdelete(String id, RequestOptions requestOptions)Unitpublish(String id, NamespacePublishParams params)Upload a tree of skill files for the namespace. Unitpublish(String id, NamespacePublishParams params, RequestOptions requestOptions)Unitpublish(NamespacePublishParams params)abstract Unitpublish(NamespacePublishParams params, RequestOptions requestOptions)Unitpull(String id)Returns the active version's file manifest with short-lived presigned S3 URLs. Unitpull(String id, NamespacePullParams params, RequestOptions requestOptions)Unitpull(String id, NamespacePullParams params)abstract Unitpull(NamespacePullParams params, RequestOptions requestOptions)Unitpull(NamespacePullParams params)Unitpull(String id, RequestOptions requestOptions)UnitrotateToken(String id)Rotate skill namespace token UnitrotateToken(String id, NamespaceRotateTokenParams params, RequestOptions requestOptions)UnitrotateToken(String id, NamespaceRotateTokenParams params)abstract UnitrotateToken(NamespaceRotateTokenParams params, RequestOptions requestOptions)UnitrotateToken(NamespaceRotateTokenParams params)UnitrotateToken(String id, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract NamespaceService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract NamespaceService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
Unit create(NamespaceCreateParams params)
Create a private skill namespace owned by the authenticated org and receive a one-time bearer token used by the case-skills publisher.
-
create
abstract Unit create(NamespaceCreateParams params, RequestOptions requestOptions)
-
retrieve
Unit retrieve(String id, NamespaceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Unit retrieve(String id, NamespaceRetrieveParams params)
-
retrieve
abstract Unit retrieve(NamespaceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Unit retrieve(NamespaceRetrieveParams params)
-
retrieve
Unit retrieve(String id, RequestOptions requestOptions)
-
list
abstract Unit list(NamespaceListParams params, RequestOptions requestOptions)
-
list
Unit list(NamespaceListParams params)
-
list
Unit list(RequestOptions requestOptions)
-
delete
Unit delete(String id, NamespaceDeleteParams params, RequestOptions requestOptions)
-
delete
Unit delete(String id, NamespaceDeleteParams params)
-
delete
abstract Unit delete(NamespaceDeleteParams params, RequestOptions requestOptions)
-
delete
Unit delete(NamespaceDeleteParams params)
-
delete
Unit delete(String id, RequestOptions requestOptions)
-
publish
Unit publish(String id, NamespacePublishParams params)
Upload a tree of skill files for the namespace. Authenticated by the namespace bearer token. Atomic at the version-bump level: a partial upload leaves the namespace pinned to the previous version.
-
publish
Unit publish(String id, NamespacePublishParams params, RequestOptions requestOptions)
-
publish
Unit publish(NamespacePublishParams params)
-
publish
abstract Unit publish(NamespacePublishParams params, RequestOptions requestOptions)
-
pull
Unit pull(String id)
Returns the active version's file manifest with short-lived presigned S3 URLs. Sandboxes use this to materialize the tree at /workspace/.agents/skills/ before opencode boots.
-
pull
Unit pull(String id, NamespacePullParams params, RequestOptions requestOptions)
-
pull
Unit pull(String id, NamespacePullParams params)
-
pull
abstract Unit pull(NamespacePullParams params, RequestOptions requestOptions)
-
pull
Unit pull(NamespacePullParams params)
-
pull
Unit pull(String id, RequestOptions requestOptions)
-
rotateToken
Unit rotateToken(String id)
Rotate skill namespace token
-
rotateToken
Unit rotateToken(String id, NamespaceRotateTokenParams params, RequestOptions requestOptions)
-
rotateToken
Unit rotateToken(String id, NamespaceRotateTokenParams params)
-
rotateToken
abstract Unit rotateToken(NamespaceRotateTokenParams params, RequestOptions requestOptions)
-
rotateToken
Unit rotateToken(NamespaceRotateTokenParams params)
-
rotateToken
Unit rotateToken(String id, RequestOptions requestOptions)
-
-
-
-