SymetryML Documentation
Predictions

Fetch prediction result CSV

Streams the file backing the data source registered under `key` (via `tmp/dss/auth/predict-{dsName}` above) — the key is consumed on first use. `{filename}` is a real path segment, not a fixed literal; by convention clients always pass `result.csv`, but the server doesn't require that specific value. On failure (expired/unknown key, or a read error reaching the underlying file/object — unsupported/inaccessible source, missing local file, etc.) the response is a generic Jetty `500` HTML error page, not a JSON `JSONResponse` envelope.

GET
/{user}/tmp/dss/file/{key}/{filename}

Streams the file backing the data source registered under key (via tmp/dss/auth/predict-{dsName} above) — the key is consumed on first use. {filename} is a real path segment, not a fixed literal; by convention clients always pass result.csv, but the server doesn't require that specific value.

On failure (expired/unknown key, or a read error reaching the underlying file/object — unsupported/inaccessible source, missing local file, etc.) the response is a generic Jetty 500 HTML error page, not a JSON JSONResponse envelope.

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

key*string

Base64-encoded, one-time-use download key returned implicitly by tmp/dss/auth/predict-{dsName} (via the request signature used to prepare it).

filename*string

Filename to report for the download. Not validated against the underlying data source — any value is accepted. Conventionally result.csv.

Default"result.csv"

Response Body

text/csv

text/html

curl -X GET "https://example.com/c1/tmp/dss/file/string/result.csv"
"sepal_length,sepal_width,petal_length,petal_width,sepal_lengt_b1,sepal_lengt_b2,sepal_width_b1,sepal_width_b2,petal_length_b1,petal_length_b2,petal_width_b1,petal_width_b2,Iris_setosa,Iris_versicolor,Iris_virginica\n4.3,3,1.1,0.1,1,0,0,1,1,0,1,0,1,0,0\n4.8,3,1.4,0.1,1,0,0,1,1,0,1,0,1,0,0\n4.9,3.1,1.5,0.1,1,0,0,1,1,0,1,0,1,0,0\n"
"<html>\n<head>\n<title>Error 500 Internal Server Error</title>\n</head>\n<body>\n<h2>HTTP ERROR 500 Internal Server Error</h2>\n</body>\n</html>\n"