Skip to main content
Canvas publication is restricted to currently verified Quantura platform administrators. Organization administrators and ordinary Pro subscribers cannot publish to the shared library. Authentication uses the same OAuth connection or personal API key as the rest of Quantura. Personal keys also need sagemaker:publish.

Preview first

POST https://quantura.studio/api/v1/admin/sagemaker/datasets/preview Send JSON containing the original csv string. This validates dates, numeric values, quantile ordering and file limits without writing to GitHub. The response includes the original headers, detected quantiles, row count and preview.
Use Authorization: Bearer YOUR_SECURELY_STORED_TOKEN and Content-Type: application/json. Keep tokens in your agent’s credential store; never include them in datasets or committed examples.

Publish an authorized dataset

POST https://quantura.studio/api/v1/admin/sagemaker/datasets
Only include metrics measured for this dataset; they are optional. smape uses a fraction from 0 to 2. Each request accepts at most 3,000,000 UTF-8 CSV bytes. The CSV must satisfy the parser’s 100,000-row limit and supported timestamp/column rules. See the preview error before retrying a rejected file. Publication commits sagemaker/uploads/<SHA-256>.csv and sagemaker/catalog.json together on the configured GitHub branch. A non-force reference update protects concurrent changes. The response contains the dataset identity, Git commit and viewer URL. GitHub remains the source of the shared Canvas catalog; no duplicate database or model-training job is created. The same catalog supplies Search, original-column previews, quantile charts and original CSV downloads. Catalog caches refresh within roughly one minute. Published contents are available to other Quantura users. Upload only data you are authorized to distribute. A private source repository does not make a published dataset private. Saved forecast quantiles remain Download resources. They cannot be used as historical observations for a new forecast. Historical datasets with observed values retain their separate Search/download/forecast behavior.

MCP tools

Connect to https://quantura.studio/mcp, then use:
  1. quantura_admin_preview_canvas with csv.
  2. quantura_admin_publish_canvas with csv, name, ticker and optional metrics.
The publication tool is a mutation and creates a Git commit. Preview is read-only. Both recheck current administrator identity server-side. OAuth uses the existing identity scopes; an editable profile field or supplied email cannot grant this role.

Errors

After an ambiguous network failure, inspect Search or the catalog for the CSV’s content identity before repeating a publication. This endpoint does not delete or overwrite arbitrary GitHub files.