> ## 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.

# Obtenir la Planification du Moniteur

> Retourne la spécification du flux de travail FDA et le DAG du planificateur pour un agent ombre du moniteur.



## OpenAPI

````yaml fr/openapi/monitors.json GET /v1/monitors/{monitor_id}/planning
openapi: 3.0.3
info:
  title: API des Moniteurs
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}/planning:
    get:
      summary: Obtenir la Planification du Moniteur
      description: >-
        Retourne la spécification du workflow FDA et le DAG du planificateur
        stocké pour l'agent fantôme du moniteur.
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^monitor_
      responses:
        '200':
          description: Artéfacts de planification.
          content:
            application/json:
              schema:
                type: object
                properties:
                  spec:
                    $ref: '#/components/schemas/MonitorPlanningSpec'
                  dag:
                    $ref: '#/components/schemas/MonitorPlanningDag'
        '400':
          description: monitor_id invalide.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Clé API invalide.
        '404':
          description: Moniteur non trouvé ou le moniteur n'a pas encore d'agent.
        '500':
          description: Erreur interne du serveur.
      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: Présent sur certaines réponses d'erreur de création/mise à jour.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        En-tête d'authentification Bearer sous la forme Bearer <token>, où
        <token> est ton jeton d'authentification.

````