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

# Ottieni Pianificazione del Monitor

> Restituisce la specifica del flusso di lavoro FDA e il planner DAG per un agente ombra del monitor.



## OpenAPI

````yaml it/openapi/monitors.json GET /v1/monitors/{monitor_id}/planning
openapi: 3.0.3
info:
  title: API dei Monitor
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}/planning:
    get:
      summary: Ottieni Pianificazione del Monitor
      description: >-
        Restituisce la specifica del workflow FDA e il planner DAG memorizzati
        per l'agente ombra del monitor.
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^monitor_
      responses:
        '200':
          description: Artefatti di pianificazione.
          content:
            application/json:
              schema:
                type: object
                properties:
                  spec:
                    $ref: '#/components/schemas/MonitorPlanningSpec'
                  dag:
                    $ref: '#/components/schemas/MonitorPlanningDag'
        '400':
          description: monitor_id non valido.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Chiave API non valida.
        '404':
          description: Monitor non trovato o il monitor non ha ancora un agente.
        '500':
          description: Errore interno del server.
      security:
        - Authorization: []
components:
  schemas:
    MonitorPlanningSpec:
      type: object
      nullable: true
      properties:
        saved_at:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        goal:
          type: string
          nullable: true
        reasoning:
          type: string
          nullable: true
        constraints:
          type: string
          nullable: true
        assumptions:
          type: string
          nullable: true
        input:
          type: object
          additionalProperties: true
          nullable: true
        output:
          type: object
          additionalProperties: true
          nullable: true
        chat_history:
          type: array
          items:
            type: object
            additionalProperties: true
    MonitorPlanningDag:
      type: object
      nullable: true
      properties:
        user_query:
          type: string
          nullable: true
        query_intent_mode:
          type: string
          nullable: true
        query_intent_stream_change_type:
          type: string
          nullable: true
        scrape_strategy:
          type: string
          nullable: true
        subtasks:
          type: array
          items:
            type: object
            additionalProperties: true
        graph:
          type: object
          additionalProperties: true
          nullable: true
        has_unresolved:
          type: boolean
        unresolved:
          type: array
          items:
            type: object
            additionalProperties: true
        validation:
          type: object
          nullable: true
          properties:
            is_valid:
              type: boolean
            attempts:
              type: integer
            history:
              type: array
              items:
                type: object
                additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: Presente su alcune risposte di errore create/update.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Intestazione di autenticazione Bearer del tipo Bearer <token>, dove
        <token> è il tuo token di autenticazione.

````