SymetryML Documentation
Models

Export model

Exports a model as an AES-encrypted, base64-encoded blob. Note the path segment is singular `model`, and there is **no `{model}` path segment** — the model name is passed as the `modelId` query parameter. The response is the standard `JSONResponse` envelope, not raw `application/octet-stream` binary.

GET
/{user}/projects/{project}/model/export

Exports a model as an AES-encrypted, base64-encoded blob. Note the path segment is singular model, and there is no {model} path segment — the model name is passed as the modelId query parameter. The response is the standard JSONResponse envelope, not raw application/octet-stream binary.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

project*string

Project identifier

Query Parameters

modelId*string

Name of the model to export.

Response Body

application/json

curl -X GET "https://example.com/c1/projects/nbra_prj_iris/model/export?modelId=nbra_prj_iris_1"

{  "statusCode": 200,  "statusString": "Model Exported with name [nbra_prj_iris_1] for customer [demo] projectName [iris]",  "values": {    "string": "/oZVLWVA2VczyB572ZSMl3bhwMGlCN1Eh4VYYAsDQQqyI8vCCexofRRfTawYUFGAEsncCKIiWJ/OXilhTpQQBDknw95iqMbsHtM7mvguzkJK8M9HKmzDvuTg1cGQEsdgcTRDOP4Zm8OxUOeJJNB6AT6oR2muP43D6iKmQpguJuQOgfxGJPdUxH4EI0=="  }}