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

# Simulate a model

> Run a dry-run simulation against a model using provided input values. Does not create a model run or persist results.



## OpenAPI

````yaml POST /models/{model_id}/simulate
openapi: 3.1.0
info:
  title: Mangrove - API
  version: 1.1.0
servers:
  - url: https://app.gomangrove.com/api/v1
security:
  - sec0: []
paths:
  /models/{model_id}/simulate:
    post:
      summary: Simulate a model
      description: >-
        Run a dry-run simulation against a model using provided input values.
        Does not create a model run or persist results.
      operationId: simulate-model
      parameters:
        - name: model_id
          in: path
          description: Model friendly ID (e.g., mdl_abc123def456)
          schema:
            type: string
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - inputs
                - start_time
                - end_time
              properties:
                inputs:
                  type: object
                  description: Input values keyed by data point type slug
                  additionalProperties:
                    type: number
                start_time:
                  type: string
                  format: date-time
                  description: ISO 8601 date/datetime for simulation period start
                end_time:
                  type: string
                  format: date-time
                  description: ISO 8601 date/datetime for simulation period end
            examples:
              Result:
                value:
                  inputs:
                    feedstock-volume: 1000
                    carbon-content: 0.45
                  start_time: '2025-01-01T00:00:00Z'
                  end_time: '2025-03-31T23:59:59Z'
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    results:
                      net-carbon-removal: 450.5
                      emissions: 12.3
                    errors: []
                    execution_time_ms: 45.2
              schema:
                type: object
                properties:
                  results:
                    type: object
                    additionalProperties:
                      type: number
                  errors:
                    type: array
                    items:
                      type: string
                  execution_time_ms:
                    type: number
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: ''

````