Class AsyncDevClient


  • public class AsyncDevClient
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<TemplateRes> createTemplateV1​(TemplateReq request)
      Development template endpoint that demonstrates transaction handling and request mirroring.
      java.util.concurrent.CompletableFuture<TemplateRes> createTemplateV1​(TemplateReq request, RequestOptions requestOptions)
      Development template endpoint that demonstrates transaction handling and request mirroring.
      java.util.concurrent.CompletableFuture<java.lang.String> getAgentV1()
      Experimental endpoint for running AI agentic workflows.
      java.util.concurrent.CompletableFuture<java.lang.String> getAgentV1​(RequestOptions requestOptions)
      Experimental endpoint for running AI agentic workflows.
      java.util.concurrent.CompletableFuture<DecodedJwtWithOrgAndUserId> getDecodedJwtV1()
      Returns the complete decoded JWT token information for development purposes.
      java.util.concurrent.CompletableFuture<DecodedJwtWithOrgAndUserId> getDecodedJwtV1​(RequestOptions requestOptions)
      Returns the complete decoded JWT token information for development purposes.
      java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.Object>> getDurableV1()
      Experimental endpoint for running durable execution workflows.
      java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.Object>> getDurableV1​(RequestOptions requestOptions)
      Experimental endpoint for running durable execution workflows.
      java.util.concurrent.CompletableFuture<java.lang.String> getEmailV1()
      Retrieves the primary email address for the caller from the authentication service.
      java.util.concurrent.CompletableFuture<java.lang.String> getEmailV1​(RequestOptions requestOptions)
      Retrieves the primary email address for the caller from the authentication service.
      java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1()
      Returns the current GitHub PR number and commit hash for the deployment.
      java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1​(RequestOptions requestOptions)
      Returns the current GitHub PR number and commit hash for the deployment.
      java.util.concurrent.CompletableFuture<java.lang.String> getTemplateV1()
      Development template endpoint that returns the caller's ID for testing.
      java.util.concurrent.CompletableFuture<java.lang.String> getTemplateV1​(RequestOptions requestOptions)
      Development template endpoint that returns the caller's ID for testing.
      java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV1()
      (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token.
      java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV1​(RequestOptions requestOptions)
      (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token.
      java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV2()
      Extracts and returns the user ID from the authenticated request's JWT token.
      java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV2​(RequestOptions requestOptions)
      Extracts and returns the user ID from the authenticated request's JWT token.
      AsyncRawDevClient withRawResponse()
      Get responses with HTTP metadata like headers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsyncDevClient

        public AsyncDevClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawDevClient withRawResponse()
        Get responses with HTTP metadata like headers
      • getAgentV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getAgentV1()
        Experimental endpoint for running AI agentic workflows. Returns the caller's ID for testing purposes. | () -> (str)
      • getAgentV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getAgentV1​(RequestOptions requestOptions)
        Experimental endpoint for running AI agentic workflows. Returns the caller's ID for testing purposes. | () -> (str)
      • getUserIdV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV1()
        (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV1​(RequestOptions requestOptions)
        (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV2

        public java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV2()
        Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV2

        public java.util.concurrent.CompletableFuture<java.lang.String> getUserIdV2​(RequestOptions requestOptions)
        Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getDecodedJwtV1

        public java.util.concurrent.CompletableFuture<DecodedJwtWithOrgAndUserId> getDecodedJwtV1()
        Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
      • getDecodedJwtV1

        public java.util.concurrent.CompletableFuture<DecodedJwtWithOrgAndUserId> getDecodedJwtV1​(RequestOptions requestOptions)
        Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
      • getEmailV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getEmailV1()
        Retrieves the primary email address for the caller from the authentication service. | () -> (str)
      • getEmailV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getEmailV1​(RequestOptions requestOptions)
        Retrieves the primary email address for the caller from the authentication service. | () -> (str)
      • getDurableV1

        public java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.Object>> getDurableV1()
        Experimental endpoint for running durable execution workflows. Returns the caller's ID for testing purposes. | () -> (dict[str, Any])
      • getDurableV1

        public java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.Object>> getDurableV1​(RequestOptions requestOptions)
        Experimental endpoint for running durable execution workflows. Returns the caller's ID for testing purposes. | () -> (dict[str, Any])
      • getTemplateV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getTemplateV1()
        Development template endpoint that returns the caller's ID for testing. | () -> (str)
      • getTemplateV1

        public java.util.concurrent.CompletableFuture<java.lang.String> getTemplateV1​(RequestOptions requestOptions)
        Development template endpoint that returns the caller's ID for testing. | () -> (str)
      • createTemplateV1

        public java.util.concurrent.CompletableFuture<TemplateRes> createTemplateV1​(TemplateReq request)
        Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
      • createTemplateV1

        public java.util.concurrent.CompletableFuture<TemplateRes> createTemplateV1​(TemplateReq request,
                                                                                    RequestOptions requestOptions)
        Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
      • getGitInfoV1

        public java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1()
        Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])
      • getGitInfoV1

        public java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1​(RequestOptions requestOptions)
        Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])