curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/model/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"checkpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"format": "safe_tensors",
"include_kb": true
}'
Export model
Required scope: models:manage Model export is not implemented yet: every call returns 501 Not Implemented with the standard NSR error envelope (code,…
POST
/
api
/
v1
/
model
/
export
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/model/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"checkpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"format": "safe_tensors",
"include_kb": true
}'
Required scope:
models:manage
Model export is not implemented yet: every call returns 501 Not Implemented with the standard NSR error envelope (code, message, request_id, details), and there is no response body for a successful export because no success path exists. Use POST /api/v1/model/checkpoints to persist model state today.
Request body
ExportModelRequest
string
Checkpoint ID (optional, uses current if not specified)
ExportFormat
required
boolean
Include knowledge base
Status codes
| Code | Meaning |
|---|---|
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
501 | Always returned — model export is not yet implemented; the body is the standard NSR error envelope |
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/model/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"checkpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"format": "safe_tensors",
"include_kb": true
}'
Last modified on August 31, 2026