> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-terraform-v2-owner-resources.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get My Spend Forecast

> Get the caller's forecast for settled AI spend through the current calendar month.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/spend-insights/my/forecast
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/spend-insights/my/forecast:
    get:
      tags:
        - Spend Insights
      summary: Get My Spend Forecast
      description: >-
        Get the caller's forecast for settled AI spend through the current
        calendar month.
      operationId: c1.api.spendinsights.v1.SpendInsightsService.GetMySpendForecast
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.tsdb.v1.GetMetricForecastResponse'
          description: >-
            GetMetricForecastResponse contains the forecast for the requested
            metric.
components:
  schemas:
    c1.api.tsdb.v1.GetMetricForecastResponse:
      description: >-
        GetMetricForecastResponse contains the forecast for the requested
        metric.
      properties:
        forecastPoints:
          description: The forecasted data points (future points only).
          items:
            $ref: '#/components/schemas/c1.api.tsdb.v1.ForecastRollup'
          type:
            - array
            - 'null'
        historyDaysLoaded:
          description: >-
            The number of historical days loaded as context for the model
            (includes hidden history).
          format: uint32
          type: integer
        modelName:
          description: The model identifier used for inference.
          type: string
        observedThrough:
          format: date-time
          type:
            - string
            - 'null'
      title: Get Metric Forecast Response
      type: object
      x-speakeasy-name-override: GetMetricForecastResponse
    c1.api.tsdb.v1.ForecastRollup:
      description: >-
        ForecastRollup represents a single forecasted data point with
        uncertainty bounds.
         Note: field names are legacy (p10/p90); the actual quantile levels are p20/p50/p80.
      properties:
        p10:
          description: The lower bound (p20) of the forecast. Field name is legacy.
          format: int64
          type: string
        p50:
          description: The median (p50) of the forecast.
          format: int64
          type: string
        p90:
          description: The upper bound (p80) of the forecast. Field name is legacy.
          format: int64
          type: string
        timestamp:
          format: date-time
          type:
            - string
            - 'null'
      title: Forecast Rollup
      type: object
      x-speakeasy-name-override: ForecastRollup
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````