Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GingerlyData247/SOTeam4-P2/llms.txt
Use this file to discover all available pages before exploring further.
Resets the Model Registry to its default state by clearing all registered artifacts and metrics.
Endpoint
Description
The reset endpoint clears all data from the Model Registry, including all registered models, datasets, and code artifacts. This operation restores the system to its initial clean state.
This operation is destructive and cannot be undone. All registered artifacts, their metadata, metrics, and lineage information will be permanently deleted.
The endpoint returns a JSON object confirming the reset operation:
status (string): Confirmation message indicating the registry has been reset
Response Example
{
"status": "registry reset"
}
Use Cases
Testing and Development
Reset the registry between test runs to ensure a clean state for each test suite.
Demo Environments
Restore the system to a clean state before demonstrations or after experimentation.
Development Workflows
Clear test data during development to start fresh without restarting the entire service.
Important Considerations
Data Loss WarningThis operation will:
- Delete all registered models, datasets, and code artifacts
- Remove all computed metrics and ratings
- Clear lineage graph information
- Reset the artifact counter to its initial state
This action cannot be reversed. Ensure you have backups if you need to preserve any data.
cURL Example
curl -X DELETE http://localhost:8080/reset
Status Codes
200 OK: Registry was successfully reset
Implementation Details
The reset operation performs the following actions:
- Clears all artifacts from the registry storage
- Resets the scoring service cache (failures are logged but do not prevent the reset)
- Returns immediately with a success confirmation
The operation is designed to be fault-tolerant - if the scoring service reset fails, the registry reset will still complete successfully.