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

# Prepare to save a guest forecast after signing in

> Web guest-session operation. Requires the verified anonymous owner of a completed private forecast. Sets a Secure, HttpOnly, SameSite=Lax cookie valid for 15 minutes. The one-use secret is hashed in storage and is never returned as JSON. After account sign-in, POST the save endpoint using the same browser. Does not grant other workspace access.



## OpenAPI

````yaml https://quantura.studio/api/openapi.json post /ensemble-forecasts/{forecast_id}/prepare-save
openapi: 3.1.0
info:
  title: Quantura Forecast Intelligence API
  version: 1.0.0
  description: >-
    Versioned access to Quantura forecasts, collaborator-aware workspaces,
    screeners, datasets, and provenance metadata.
  contact:
    name: Quantura
    url: https://quantura.studio/contact
  license:
    name: Quantura API Terms
    url: https://quantura.studio/terms
servers:
  - url: https://quantura.studio/api/v1
security:
  - bearerAuth: []
tags:
  - name: Access
    description: Identity, token scopes, plans, and effective workspace access.
  - name: Workspaces
    description: Resources are authorized against current membership on every request.
  - name: Uploaded CSVs
    description: Workspace-isolated CSV metadata, organization, and authorized exports.
  - name: Datasets
    description: Licensing-aware catalog and schema metadata.
  - name: Forecasts
    description: Prospective forecasts and immutable probability trajectories.
  - name: Ensemble Forecasts
    description: >-
      Asynchronous probabilistic time-series ensemble jobs and reproducible
      presets.
  - name: Backtests
    description: >-
      Asynchronous point-in-time ensemble-quantile simulations and versioned
      strategy exports; never live order execution.
paths:
  /ensemble-forecasts/{forecast_id}/prepare-save:
    post:
      tags:
        - Ensemble Forecasts
      summary: Prepare to save a guest forecast after signing in
      description: >-
        Web guest-session operation. Requires the verified anonymous owner of a
        completed private forecast. Sets a Secure, HttpOnly, SameSite=Lax cookie
        valid for 15 minutes. The one-use secret is hashed in storage and is
        never returned as JSON. After account sign-in, POST the save endpoint
        using the same browser. Does not grant other workspace access.
      operationId: prepareGuestForecastSave
      parameters:
        - name: forecast_id
          in: path
          required: true
          description: Forecast id or unique slug.
          schema:
            type: string
      responses:
        '200':
          description: Guest ownership proof prepared; sign in to finish saving.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      forecast_id:
                        type: string
                      ready_to_sign_in:
                        type: boolean
              example:
                data:
                  forecast_id: ens_example
                  ready_to_sign_in: true
                meta:
                  api_version: v1
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - request_id
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                        format: uuid
        '403':
          description: Scope, plan, or workspace authorization denied
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - request_id
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                        format: uuid
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - request_id
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                        format: uuid
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Quantura API key

````

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