Skip to main content

Management API

The management API at /api provides endpoints for model, SAE, steering, monitoring, and profile operations.

Models (/api/models)

EndpointMethodDescription
/api/modelsGETList all models
/api/modelsPOSTDownload a model
/api/models/{id}GETGet model details
/api/models/{id}/loadPOSTLoad model to GPU
/api/models/{id}/unloadPOSTUnload model from GPU
/api/models/{id}/lockPOSTLock model (prevent unload)
/api/models/{id}/unlockPOSTUnlock model
/api/models/{id}DELETEDelete model from cache
/api/models/previewPOSTPreview model metadata from HuggingFace

SAEs (/api/saes)

EndpointMethodDescription
/api/saesGETList all SAEs with attachment status
/api/saes/downloadPOSTDownload SAE from HuggingFace
/api/saes/previewPOSTPreview SAE repository files
/api/saes/{id}/attachPOSTAttach SAE to loaded model
/api/saes/{id}/detachPOSTDetach SAE
/api/saes/{id}/cancelPOSTCancel in-progress download
/api/saes/{id}DELETEDelete SAE from cache
/api/saes/attachmentGETGet current attachment status

Steering (/api/saes/steering)

EndpointMethodDescription
/api/saes/steeringGETGet steering status and values
/api/saes/steeringPOSTSet single feature value
/api/saes/steering/batchPOSTSet multiple feature values
/api/saes/steering/enablePOSTEnable steering
/api/saes/steering/disablePOSTDisable steering
/api/saes/steering/{idx}DELETERemove single feature

Monitoring (/api/monitoring)

EndpointMethodDescription
/api/monitoringGETGet monitoring state
/api/monitoring/configurePOSTConfigure monitoring parameters
/api/monitoring/enablePOSTEnable/disable monitoring
/api/monitoring/historyGETGet activation history
/api/monitoring/statisticsGETGet feature statistics
/api/monitoring/statistics/topPOSTGet top features by metric

Profiles (/api/profiles)

EndpointMethodDescription
/api/profilesGETList all profiles
/api/profilesPOSTCreate profile
/api/profiles/save-currentPOSTSave current steering as profile
/api/profiles/activeGETGet active profile
/api/profiles/{id}/activatePOSTActivate profile
/api/profiles/{id}/deactivatePOSTDeactivate profile
/api/profiles/{id}/exportGETExport as JSON
/api/profiles/importPOSTImport from JSON