> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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,…

**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`

**checkpoint\_id** `string`

Checkpoint ID (optional, uses current if not specified)

**format** `ExportFormat` *required*

**include\_kb** `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 |

```bash cURL theme={null}
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
}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.