Class AsyncComplianceClient

java.lang.Object
ai.vectros.resources.compliance.AsyncComplianceClient

public class AsyncComplianceClient extends Object
  • Field Details

  • Constructor Details

    • AsyncComplianceClient

      public AsyncComplianceClient(ClientOptions clientOptions)
  • Method Details

    • withRawResponse

      public AsyncRawComplianceClient withRawResponse()
      Get responses with HTTP metadata like headers
    • createErasureRequest

      public CompletableFuture<ErasureRequestResponse> createErasureRequest(ErasureRequest request)
      Submits a right-to-erasure request for a single end-subject (a user, or an identity entity in any namespace). Erasure removes exactly the data the subject solely owns across the declared contexts, plus the subject's identity and lookup rows. It never touches another account's data and never cascades into another subject's data. The request is asynchronous: it returns 202 with a requestId; poll GET /v1/erasure-requests/{id} until the job completes to obtain the completion certificate. Requires a root API key — a scoped credential is rejected with 403.
    • createErasureRequest

      public CompletableFuture<ErasureRequestResponse> createErasureRequest(ErasureRequest request, RequestOptions requestOptions)
      Submits a right-to-erasure request for a single end-subject (a user, or an identity entity in any namespace). Erasure removes exactly the data the subject solely owns across the declared contexts, plus the subject's identity and lookup rows. It never touches another account's data and never cascades into another subject's data. The request is asynchronous: it returns 202 with a requestId; poll GET /v1/erasure-requests/{id} until the job completes to obtain the completion certificate. Requires a root API key — a scoped credential is rejected with 403.
    • getErasureRequest

      public CompletableFuture<ErasureRequestResponse> getErasureRequest(String id)
      Polls an erasure request by id. While the job is still running this returns its status only; once it completes, the response also includes the verifiable completion certificate (which contexts were swept, per-context deletion counts, and reports of dangling references and shared rows that were left intact). Requires a root API key.
    • getErasureRequest

      public CompletableFuture<ErasureRequestResponse> getErasureRequest(String id, RequestOptions requestOptions)
      Polls an erasure request by id. While the job is still running this returns its status only; once it completes, the response also includes the verifiable completion certificate (which contexts were swept, per-context deletion counts, and reports of dangling references and shared rows that were left intact). Requires a root API key.
    • getErasureRequest

      public CompletableFuture<ErasureRequestResponse> getErasureRequest(String id, GetErasureRequestRequest request)
      Polls an erasure request by id. While the job is still running this returns its status only; once it completes, the response also includes the verifiable completion certificate (which contexts were swept, per-context deletion counts, and reports of dangling references and shared rows that were left intact). Requires a root API key.
    • getErasureRequest

      public CompletableFuture<ErasureRequestResponse> getErasureRequest(String id, GetErasureRequestRequest request, RequestOptions requestOptions)
      Polls an erasure request by id. While the job is still running this returns its status only; once it completes, the response also includes the verifiable completion certificate (which contexts were swept, per-context deletion counts, and reports of dangling references and shared rows that were left intact). Requires a root API key.
    • createExport

      public CompletableFuture<ExportRequestResponse> createExport()
      Submits an asynchronous job to export your account's data, or a single end-subject's data, across the requested contexts. The request returns 202 with an exportJobId; poll GET /v1/admin/export/{id} until the job completes to obtain a short-lived presigned download URL and a manifest describing the payload. Requires a root API key — a scoped credential is rejected with 403.
    • createExport

      public CompletableFuture<ExportRequestResponse> createExport(RequestOptions requestOptions)
      Submits an asynchronous job to export your account's data, or a single end-subject's data, across the requested contexts. The request returns 202 with an exportJobId; poll GET /v1/admin/export/{id} until the job completes to obtain a short-lived presigned download URL and a manifest describing the payload. Requires a root API key — a scoped credential is rejected with 403.
    • createExport

      public CompletableFuture<ExportRequestResponse> createExport(ExportRequest request)
      Submits an asynchronous job to export your account's data, or a single end-subject's data, across the requested contexts. The request returns 202 with an exportJobId; poll GET /v1/admin/export/{id} until the job completes to obtain a short-lived presigned download URL and a manifest describing the payload. Requires a root API key — a scoped credential is rejected with 403.
    • createExport

      public CompletableFuture<ExportRequestResponse> createExport(ExportRequest request, RequestOptions requestOptions)
      Submits an asynchronous job to export your account's data, or a single end-subject's data, across the requested contexts. The request returns 202 with an exportJobId; poll GET /v1/admin/export/{id} until the job completes to obtain a short-lived presigned download URL and a manifest describing the payload. Requires a root API key — a scoped credential is rejected with 403.
    • getExport

      Polls an export job by id. While the job is still running this returns its status only; once it completes, the response also includes a short-lived presigned download URL and a manifest (format version and per-context counts). Requires a root API key.
    • getExport

      public CompletableFuture<ExportRequestResponse> getExport(String id, RequestOptions requestOptions)
      Polls an export job by id. While the job is still running this returns its status only; once it completes, the response also includes a short-lived presigned download URL and a manifest (format version and per-context counts). Requires a root API key.
    • getExport

      Polls an export job by id. While the job is still running this returns its status only; once it completes, the response also includes a short-lived presigned download URL and a manifest (format version and per-context counts). Requires a root API key.
    • getExport

      public CompletableFuture<ExportRequestResponse> getExport(String id, GetExportRequest request, RequestOptions requestOptions)
      Polls an export job by id. While the job is still running this returns its status only; once it completes, the response also includes a short-lived presigned download URL and a manifest (format version and per-context counts). Requires a root API key.