title: Agent type: object properties: type: $ref: ./agent_type.yaml active: type: boolean enrolled_at: type: string unenrolled_at: type: string unenrollment_started_at: type: string access_api_key_id: type: string default_api_key_id: type: string policy_id: type: string policy_revision: type: number last_checkin: type: string user_provided_metadata: $ref: ./agent_metadata.yaml local_metadata: $ref: ./agent_metadata.yaml id: type: string access_api_key: type: string status: $ref: ./agent_status.yaml default_api_key: type: string components: type: array items: $ref: ./agent_component.yaml metrics: type: object properties: cpu_avg: type: number description: Average agent CPU usage during the last 5 minutes, number between 0-1 memory_size_byte_avg: type: number description: Average agent memory consumption during the last 5 minutes required: - type - active - enrolled_at - id - status