openapi: 3.1.0
info:
  title: Evolutiv AI Context API
  version: 1.0.0
  description: Public API for Evolutiv AI ecosystem, exposing timeline and prediction interfaces.
servers:
  - url: https://evolutiv.ai/api
paths:
  /timeline:
    get:
      summary: Retrieve timeline entries
      responses:
        '200':
          description: Successful response
  /predict:
    post:
      summary: Submit a prediction for evaluation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                year:
                  type: integer
                optimism_level:
                  type: number
      responses:
        '200':
          description: Prediction accepted
