code: public ServiceCall<DocumentStatus> getDocumentStatus(GetDocumentStatusOptions getDocumentStatusOptions) {
      Validator.notNull(getDocumentStatusOptions, "getDocumentStatusOptions cannot be null");
      String[] pathSegments = { "v1/environments", "collections", "documents" };
      String[] pathParameters = { getDocumentStatusOptions.environmentId(), getDocumentStatusOptions.collectionId(),
          getDocumentStatusOptions.documentId() };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("discovery", "v1", "getDocumentStatus");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(DocumentStatus.class));
    }
docs: Get document details.
  
  Fetch status details about a submitted document. **Note:** this operation does not return the document itself.
  Instead, it returns only the document's processing status and any notices (warnings or errors) that were generated
  when the document was ingested. Use the query API to retrieve the actual document content.
  
  @param getDocumentStatusOptions the {@link GetDocumentStatusOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link DocumentStatus}