> For the complete documentation index, see [llms.txt](https://selenium-4.gitbook.io/nexus-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://selenium-4.gitbook.io/nexus-docs/documentation/document-lifecycle-management/operations/main.md).

# Control Document Lifecycle

## Control Document Lifecycle

> Enforces a lifecycle-control action (e.g. retention, archival, access control, compliance review) on a document directory entry.\
> \
> The source documentation for this BIAN \`Control\` operation only specifies the request/response message contract — HTTP method, endpoint, headers, parameters and HTTP status codes are not specified in the source and have been assigned conventionally.<br>

```json
{"openapi":"3.0.3","info":{"title":"NEXUS Banking Services API","version":"1.0.0"},"tags":[{"name":"document-lifecycle-management"}],"servers":[{"url":"https://sandbox.nexus.selenium.ao","description":"Sandbox"},{"url":"https://api-mock.selenium.ao","description":"Mock"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer Token (OAuth2 / OIDC or JWT) passed in the `Authorization` header."}},"schemas":{"LifecycleControlDetails":{"type":"object","description":"Detailed lifecycle control configuration (retention, access control, compliance, quality assurance).","properties":{"lifecycleAction":{"type":"string","description":"Lifecycle action executed."},"lifecyclePhase":{"type":"string","description":"Lifecycle phase of the document."},"retentionManagement":{"$ref":"#/components/schemas/RetentionManagement"},"accessControlManagement":{"$ref":"#/components/schemas/AccessControlManagement"},"complianceManagement":{"$ref":"#/components/schemas/ComplianceManagement"},"qualityAssurance":{"$ref":"#/components/schemas/QualityAssurance"}}},"RetentionManagement":{"type":"object","description":"Retention policy and archival configuration.","properties":{"retentionPolicy":{"type":"string","description":"Identifier/version of the applied retention policy."},"retentionPeriod":{"type":"string","description":"ISO 8601 duration, e.g. `P10Y`."},"retentionStartDate":{"type":"string","format":"date-time","description":"Start date of the retention."},"retentionExpiryDate":{"type":"string","format":"date-time","description":"Expiry date of the retention."},"retentionLocation":{"type":"string","description":"Retention location (e.g. LONG_TERM_ARCHIVE)."},"retentionCompliance":{"$ref":"#/components/schemas/RetentionCompliance"},"archivalProcess":{"$ref":"#/components/schemas/ArchivalProcess"}}},"RetentionCompliance":{"type":"object","description":"Regulatory compliance requirements for retention.","properties":{"regulatoryRequirements":{"type":"array","description":"Applicable regulatory requirements (e.g. BANK_SECRECY_ACT, PATRIOT_ACT, SOX_COMPLIANCE, GDPR_RETENTION, PCI_DSS).","items":{"type":"string"}},"retentionJurisdiction":{"type":"string","description":"Legal jurisdiction of the retention."},"dataResidencyRequirements":{"type":"array","description":"Data residency requirements.","items":{"type":"string"}},"crossBorderRestrictions":{"type":"array","description":"Cross-border transfer restrictions.","items":{"type":"string"}},"retentionAuditRequirements":{"type":"boolean","description":"Whether audit requirements apply to the retention."},"destructionCertificationRequired":{"type":"boolean","description":"Whether destruction of the document requires certification."}}},"ArchivalProcess":{"type":"object","description":"Archival process applied to a document.","properties":{"archivalMethod":{"type":"string","description":"Archival method used."},"archivalLocation":{"type":"string","description":"Location of the archive."},"archivalDate":{"type":"string","format":"date-time","description":"Date the archival was performed."},"compressionApplied":{"type":"boolean","description":"Whether compression was applied to the archive."},"encryptionMethod":{"type":"string","description":"Encryption method applied."},"archivalIntegrity":{"$ref":"#/components/schemas/ArchivalIntegrity"}}},"ArchivalIntegrity":{"type":"object","description":"Integrity verification of an archived document.","properties":{"checksumMethod":{"type":"string","description":"Algorithm used for the integrity checksum."},"checksumValue":{"type":"string","description":"Computed checksum value."},"integrityValidationFrequency":{"type":"string","description":"Frequency of integrity validation."},"lastIntegrityCheck":{"type":"string","format":"date-time","description":"Date of the last integrity check."},"integrityStatus":{"type":"string","description":"Status of the integrity check."}}},"AccessControlManagement":{"type":"object","description":"Access control configuration for a document.","properties":{"accessRestrictionLevel":{"type":"string","description":"Level of access restriction applied to the document."},"allowedAccessReasons":{"type":"array","description":"Reasons that justify access to the archived document (e.g. REGULATORY_AUDIT, LEGAL_DISCOVERY, CUSTOMER_REQUEST).","items":{"type":"string"}},"accessApprovalRequired":{"type":"boolean","description":"Whether access requires prior approval."},"accessApprovalLevel":{"type":"string","description":"Hierarchical level required to approve access."},"accessLoggingRequired":{"type":"boolean","description":"Whether all access must be logged."},"accessNotificationRequired":{"type":"boolean","description":"Whether access must generate a notification."},"emergencyAccessProcedure":{"$ref":"#/components/schemas/EmergencyAccessProcedure"}}},"EmergencyAccessProcedure":{"type":"object","description":"Emergency access procedure for a restricted document.","properties":{"emergencyAccessAllowed":{"type":"boolean","description":"Whether emergency access is allowed."},"emergencyApprovalRequired":{"type":"boolean","description":"Whether emergency access requires approval."},"emergencyNotificationRequired":{"type":"boolean","description":"Whether emergency access requires notification."},"emergencyAuditRequired":{"type":"boolean","description":"Whether emergency access requires audit."}}},"ComplianceManagement":{"type":"object","description":"Compliance management configuration for the lifecycle control.","properties":{"complianceReviewSchedule":{"$ref":"#/components/schemas/ComplianceReviewSchedule"},"regulatoryUpdates":{"$ref":"#/components/schemas/RegulatoryUpdates"},"auditPreparation":{"$ref":"#/components/schemas/AuditPreparation"}}},"ComplianceReviewSchedule":{"type":"object","description":"Schedule of compliance reviews.","properties":{"reviewFrequency":{"type":"string","description":"Frequency of compliance reviews."},"nextReviewDate":{"type":"string","format":"date","description":"Date of the next compliance review."},"reviewScope":{"type":"string","description":"Scope of the review."},"reviewResponsible":{"type":"string","description":"Team/entity responsible for the review."}}},"RegulatoryUpdates":{"type":"object","description":"Regulatory update tracking for a document.","properties":{"lastRegulationCheck":{"type":"string","format":"date","description":"Date of the last regulatory check."},"applicableRegulations":{"type":"array","description":"Applicable regulations (e.g. BSA_REQUIREMENTS, CIP_REGULATIONS, GDPR_REQUIREMENTS).","items":{"type":"string"}},"regulationChangeImpact":{"type":"string","description":"Impact of regulatory changes."},"nextRegulationReview":{"type":"string","format":"date","description":"Date of the next regulatory review."}}},"AuditPreparation":{"type":"object","description":"Audit readiness of a document.","properties":{"auditReadiness":{"type":"string","description":"Audit readiness status."},"auditDocumentation":{"type":"string","description":"Status of the audit documentation."},"auditTrailAvailable":{"type":"boolean","description":"Whether the audit trail is available."},"auditContactPerson":{"type":"string","description":"Contact person for the audit."},"estimatedAuditTime":{"type":"string","description":"ISO 8601 duration."}}},"QualityAssurance":{"type":"object","description":"Quality assurance results for a document.","properties":{"dataQualityChecks":{"$ref":"#/components/schemas/DataQualityChecks"},"technicalValidation":{"$ref":"#/components/schemas/TechnicalValidation"}}},"DataQualityChecks":{"type":"object","description":"Data quality assessment of a document.","properties":{"lastQualityReview":{"type":"string","format":"date","description":"Date of the last quality review."},"dataIntegrityScore":{"type":"number","format":"double","description":"Data integrity score (%)."},"dataCompletenessScore":{"type":"number","format":"double","description":"Data completeness score (%)."},"dataAccuracyScore":{"type":"number","format":"double","description":"Data accuracy score (%)."},"qualityIssuesFound":{"type":"integer","description":"Number of quality issues found."},"qualityIssuesResolved":{"type":"integer","description":"Number of quality issues resolved."},"nextQualityReview":{"type":"string","format":"date","description":"Date of the next quality review."}}},"TechnicalValidation":{"type":"object","description":"Technical validation results for a document.","properties":{"fileIntegrityValid":{"type":"boolean","description":"Whether the file integrity is valid."},"encryptionValid":{"type":"boolean","description":"Whether the encryption is valid."},"accessibilityValid":{"type":"boolean","description":"Whether the document's accessibility is valid."},"formatValidation":{"type":"string","description":"Result of the format validation."},"migrationReadiness":{"type":"string","description":"Migration readiness status."},"backupIntegrity":{"type":"string","description":"Backup integrity status."}}},"ScheduledAction":{"type":"object","description":"An action scheduled to run automatically as part of lifecycle control.","properties":{"actionType":{"type":"string","description":"Type of scheduled action (e.g. QUARTERLY_INTEGRITY_CHECK, ANNUAL_COMPLIANCE_REVIEW, RETENTION_EXPIRY_WARNING, SECURE_DESTRUCTION)."},"scheduledDate":{"type":"string","format":"date","description":"Date scheduled for the action."},"actionDescription":{"type":"string","description":"Description of the action to execute."},"automationEnabled":{"type":"boolean","description":"Whether the action is executed automatically."},"notificationRequired":{"type":"boolean","description":"Whether the action requires a notification."},"manualReviewRequired":{"type":"boolean","description":"Whether the action requires manual review."},"escalationRequired":{"type":"boolean","description":"Whether the action requires escalation."},"approvalRequired":{"type":"boolean","description":"Whether the action requires approval."},"certificationRequired":{"type":"boolean","description":"Whether the action requires certification."}}},"TriggerCondition":{"type":"object","description":"A condition that triggers further action in the lifecycle control.","properties":{"triggerType":{"type":"string","description":"Type of trigger condition (e.g. REGULATION_CHANGE, SECURITY_INCIDENT, ACCESS_ANOMALY)."},"triggerDescription":{"type":"string","description":"Description of the condition."},"actionRequired":{"type":"string","description":"Action required when the condition is triggered."}}},"DocumentEntryDetails":{"type":"object","description":"Core document metadata shared and extended (via `allOf`) across the Initiate, Retrieve, Update and Grant document-services operations.","properties":{"documentType":{"type":"string","description":"Type of the document."},"documentSubType":{"type":"string","description":"Subtype of the document."},"documentName":{"type":"string","description":"Name of the document."},"documentDescription":{"type":"string","description":"Description of the document."},"documentFormat":{"type":"string","description":"File format."},"documentMimeType":{"type":"string","description":"MIME type of the file."},"documentLanguage":{"type":"string","description":"Language of the document."},"documentClassification":{"type":"string","description":"Confidentiality classification."},"documentRetentionPeriod":{"type":"string","description":"ISO 8601 duration, e.g. `P10Y`."},"documentOwnership":{"$ref":"#/components/schemas/DocumentOwnership"},"documentSecurity":{"$ref":"#/components/schemas/DocumentSecurity"},"documentContent":{"$ref":"#/components/schemas/DocumentContent"},"documentCompliance":{"$ref":"#/components/schemas/DocumentCompliance"},"documentWorkflow":{"$ref":"#/components/schemas/DocumentWorkflow"},"businessContext":{"$ref":"#/components/schemas/BusinessContext"}}},"DocumentOwnership":{"type":"object","description":"Owner of a document.","properties":{"documentOwnerReference":{"type":"string","description":"Reference of the document owner."},"documentOwnerType":{"type":"string","description":"Type of the document owner."},"documentOwnerName":{"type":"string","description":"Name of the document owner."}}},"DocumentSecurity":{"type":"object","description":"Security configuration and state of a document.","properties":{"encryptionMethod":{"type":"string","description":"Encryption method applied."},"encryptionStatus":{"type":"string","description":"Encryption status."},"accessLevel":{"type":"string","description":"Access level required for the document."},"accessPermissions":{"type":"array","description":"Access permissions granted.","items":{"type":"string"}},"digitalSignatureRequired":{"type":"boolean","description":"Whether a digital signature is required."},"digitalSignature":{"type":"boolean","description":"Whether the document is digitally signed."},"checksumMD5":{"type":"string","description":"MD5 checksum of the document."},"checksumSHA256":{"type":"string","description":"SHA-256 checksum of the document."}}},"DocumentContent":{"type":"object","description":"Content and metadata of a document file.","properties":{"documentData":{"type":"string","format":"byte","nullable":true,"description":"Base64-encoded document content."},"documentMetadata":{"type":"object","description":"Shape varies by document type (e.g. identification, contract, employment declaration).","additionalProperties":true},"documentExtractedData":{"type":"object","description":"Shape varies by document type.","additionalProperties":true}}},"DocumentCompliance":{"type":"object","description":"Regulatory compliance requirements and status of a document.","properties":{"regulatoryRequirements":{"type":"array","description":"Applicable regulatory requirements.","items":{"type":"string"}},"complianceChecksRequired":{"type":"boolean","description":"Whether compliance checks are required."},"privacyConsent":{"type":"boolean","description":"Whether privacy consent was given."},"retentionConsentGiven":{"type":"boolean","description":"Whether retention consent was given."},"complianceStatus":{"type":"string","description":"Current compliance status."},"lastComplianceCheck":{"type":"string","format":"date-time","description":"Date/time of the last compliance check."},"nextComplianceReview":{"type":"string","format":"date-time","description":"Date/time of the next compliance review."},"retentionCompliance":{"type":"string","description":"Retention compliance status."},"privacyCompliance":{"type":"string","description":"Privacy compliance status."}}},"DocumentWorkflow":{"type":"object","description":"Workflow state of a document.","properties":{"initialWorkflowState":{"type":"string","description":"Initial workflow state."},"currentWorkflowState":{"type":"string","description":"Current workflow state."},"workflowOwner":{"type":"string","description":"Team/system responsible for the workflow."},"processingPriority":{"type":"string","description":"Priority of processing."},"expectedProcessingTime":{"type":"string","description":"ISO 8601 duration."},"notificationRequired":{"type":"boolean","description":"Whether a notification is required."},"nextAction":{"type":"string","description":"Next action planned in the workflow."},"estimatedCompletionTime":{"type":"string","description":"Estimated time of completion."},"workflowHistory":{"type":"array","description":"History of workflow transitions.","items":{"$ref":"#/components/schemas/WorkflowHistoryEntry"}}}},"WorkflowHistoryEntry":{"type":"object","description":"Single entry in a document's workflow history.","properties":{"state":{"type":"string","description":"Workflow state at this entry."},"timestamp":{"type":"string","format":"date-time","description":"Date/time of the entry."},"actor":{"type":"string","description":"Actor who performed the action."},"actorReference":{"type":"string","description":"Reference of the actor."},"comment":{"type":"string","description":"Free-text comment on the entry."},"systemGenerated":{"type":"boolean","description":"Whether the entry was generated automatically by the system."}}},"BusinessContext":{"type":"object","description":"Business context associated with a document.","properties":{"relatedAccountId":{"type":"string","nullable":true,"description":"Related account identifier, when applicable."},"relatedApplicationId":{"type":"string","description":"Related application identifier."},"businessProcess":{"type":"string","description":"Business process associated with the document."},"documentPurpose":{"type":"string","description":"Purpose of the document."},"externalReferences":{"type":"object","properties":{"applicationReference":{"type":"string","description":"Reference of the related application."},"caseReference":{"type":"string","description":"Reference of the related case."}}}}},"DocumentLocation":{"type":"object","description":"Storage location of a document.","properties":{"documentStorageType":{"type":"string","description":"Type of storage."},"documentStorageLocation":{"type":"string","description":"Location of the stored document."},"documentAccessUrl":{"type":"string","description":"URL to access the document."},"documentUploadId":{"type":"string","description":"Identifier of the upload."},"primaryLocation":{"type":"string","description":"Primary location of the archived document."},"backupLocation":{"type":"string","description":"Backup location of the document."},"geographicLocation":{"type":"string","description":"Geographic region of storage."},"accessMethod":{"type":"string","description":"Method used to access the document."},"retrievalTime":{"type":"string","description":"ISO 8601 duration."},"retrievalCost":{"type":"string","description":"Estimated cost of retrieval."}}},"ErrorEnvelope":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Error"}}},"Error":{"type":"object","required":["status","reason","message","path"],"properties":{"status":{"type":"integer","description":"HTTP status code of the error."},"reason":{"type":"string","description":"High-level error category code."},"message":{"type":"string","description":"Human-readable description of the problem."},"path":{"type":"string","description":"HTTP method and endpoint path that originated the error."},"errordetail":{"type":"array","description":"Detailed error list. May be absent for generic errors (e.g. 500).","items":{"$ref":"#/components/schemas/ErrorDetail"}}}},"ErrorDetail":{"type":"object","properties":{"code":{"type":"string","description":"Domain-specific error code."},"reason":{"type":"string","description":"Textual identifier of the specific cause."},"message":{"type":"string","description":"Detailed message, with concrete values where applicable."}}}},"responses":{"BadRequest":{"description":"The request payload is invalid — inconsistent dates, an amount ≤ 0, an invalid currency, or missing required fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"Unauthorized":{"description":"Missing, expired or invalid Bearer Token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"NotFound":{"description":"The requested resource could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"InternalServerError":{"description":"Unexpected internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"paths":{"/v1/document-lifecycle-management/control":{"post":{"summary":"Control Document Lifecycle","description":"Enforces a lifecycle-control action (e.g. retention, archival, access control, compliance review) on a document directory entry.\n\nThe source documentation for this BIAN `Control` operation only specifies the request/response message contract — HTTP method, endpoint, headers, parameters and HTTP status codes are not specified in the source and have been assigned conventionally.\n","tags":["document-lifecycle-management"],"operationId":"controlDocumentLifecycle","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"documentDirectoryControlInputRecord":{"type":"object","description":"Root object of the lifecycle control request.","properties":{"documentDirectoryControlActionRequest":{"type":"string","description":"Lifecycle control action requested."},"documentDirectoryControlActionTaskRecord":{"type":"object","description":"Record identifying the control task.","properties":{"documentDirectoryControlActionRequest":{"type":"string","description":"Lifecycle control action requested (repeated at task level)."},"documentDirectoryControlActionTaskReference":{"type":"string","description":"Unique reference of the control task."},"documentDirectoryInstanceReference":{"type":"string","description":"Reference of the document directory instance targeted by the control."},"documentDirectoryEntryReference":{"type":"string","description":"Reference of the specific entry/document within the directory."},"documentDirectoryControlRecord":{"type":"object","description":"Details of the control action to apply.","properties":{"controlType":{"type":"string","description":"Type of control applied."},"controlAction":{"type":"string","description":"Concrete control action."},"controlReason":{"type":"string","description":"Reason that triggered the control request."},"controlRequestedBy":{"type":"string","description":"Entity/system that requested the control."},"controlApprovedBy":{"type":"string","description":"Identifier of who approved the control action."},"controlRequestDate":{"type":"string","format":"date-time","description":"Date/time of the control request."}}}}},"lifecycleControlDetails":{"allOf":[{"$ref":"#/components/schemas/LifecycleControlDetails"}],"description":"Detailed lifecycle control configuration (retention, access control, compliance, quality assurance)."},"automaticActions":{"type":"object","description":"Automatic actions and trigger conditions associated with the control.","properties":{"scheduledActions":{"type":"array","description":"Actions scheduled to run automatically.","items":{"$ref":"#/components/schemas/ScheduledAction"}},"triggerConditions":{"type":"array","description":"Conditions that trigger further action.","items":{"$ref":"#/components/schemas/TriggerCondition"}}}},"businessImpactAssessment":{"type":"object","description":"Assessment of the business impact of the control.","properties":{"businessValue":{"type":"string","description":"Business value of the document/control."},"businessCriticality":{"type":"string","description":"Business criticality."},"stakeholderImpact":{"type":"array","description":"Stakeholders impacted by the control.","items":{"type":"object","properties":{"stakeholder":{"type":"string","description":"Stakeholder impacted."},"impact":{"type":"string","description":"Nature of the impact on this stakeholder."},"actionRequired":{"type":"string","description":"Action required from this stakeholder."}}}},"costImplications":{"type":"object","description":"Cost implications of the control.","properties":{"storageCosting":{"type":"string","description":"Impact of the control on storage costs."},"complianceCosts":{"type":"string","description":"Impact on compliance costs."},"accessCosts":{"type":"string","description":"Access cost model."},"totalCostImpact":{"type":"string","description":"Total cost impact."}}}}}}}}}}}},"responses":{"200":{"description":"Lifecycle control action executed.","content":{"application/json":{"schema":{"type":"object","properties":{"documentDirectoryControlOutputRecord":{"type":"object","description":"Root object of the lifecycle control response.","properties":{"documentDirectoryControlActionTaskRecord":{"type":"object","properties":{"documentDirectoryControlActionTaskRecord":{"type":"object","properties":{"documentDirectoryInstanceRecord":{"type":"object","description":"Instance of the document directory affected by the control.","properties":{"documentDirectoryInstanceReference":{"type":"string","description":"Reference of the document directory instance."},"documentDirectoryInstanceStatus":{"type":"string","description":"Status of the directory instance."},"documentDirectoryEntryRecord":{"type":"object","properties":{"documentEntryReference":{"type":"string","description":"Reference of the document entry (echo of the request)."},"documentEntryDetails":{"allOf":[{"$ref":"#/components/schemas/DocumentEntryDetails"},{"type":"object","properties":{"documentStatus":{"type":"string","description":"Status of the document after the control."},"documentLifecyclePhase":{"type":"string","description":"Lifecycle phase after the control."},"lifecycleControlDetails":{"type":"object","description":"Result of the lifecycle control execution.","properties":{"lifecycleControlId":{"type":"string","description":"Unique identifier of the lifecycle control execution."},"controlAction":{"type":"string","description":"Control action executed."},"controlStatus":{"type":"string","description":"Status of the execution."},"controlExecutionDate":{"type":"string","format":"date-time","description":"Date/time of the control execution."},"controlExecutedBy":{"type":"string","description":"System that executed the control."},"controlApprovedBy":{"type":"string","description":"Identifier of who approved the control."}}},"documentLocation":{"$ref":"#/components/schemas/DocumentLocation"},"documentSecurity":{"$ref":"#/components/schemas/DocumentSecurity"}}}]}}}}}}}}}}},"documentDirectoryControlActionResponse":{"type":"object","description":"Outcome of the lifecycle control action.","properties":{"documentDirectoryControlActionResponseCode":{"type":"string","description":"Result code of the control action."},"documentDirectoryControlActionResponseMessage":{"type":"string","description":"Human-readable message describing the result."},"documentDirectoryControlActionResponseDetails":{"type":"object","description":"Additional details of the control result.","properties":{"lifecycleControlId":{"type":"string","description":"Identifier of the control execution."},"documentId":{"type":"string","description":"Identifier of the controlled document."},"controlAction":{"type":"string","description":"Control action executed."},"executionStatus":{"type":"string","description":"Execution status (e.g. SUCCESSFULLY_COMPLETED)."},"executionTimestamp":{"type":"string","format":"date-time","description":"Date/time execution completed."},"lifecyclePhase":{"type":"string","description":"Resulting lifecycle phase."},"retentionPeriod":{"type":"string","description":"Retention period applied."},"retentionExpiryDate":{"type":"string","format":"date","description":"Expiry date of the retention."},"archivalLocation":{"type":"string","description":"Archive location category."},"complianceStatus":{"type":"string","description":"Compliance status."},"nextActions":{"type":"array","description":"Next scheduled actions.","items":{"type":"object","properties":{"action":{"type":"string","description":"Next scheduled action."},"scheduledDate":{"type":"string","format":"date","description":"Date scheduled for the next action."},"automated":{"type":"boolean","description":"Whether the next action is automated."}}}}}}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://selenium-4.gitbook.io/nexus-docs/documentation/document-lifecycle-management/operations/main.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
