/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */
import type { AgentReadHeartbeatConfig } from "./agentReadHeartbeatConfig";
import type { AgentReadIdentityProfile } from "./agentReadIdentityProfile";

/**
 * Public agent representation returned by the API.
 */
export interface AgentRead {
  /** Board id that scopes this agent. Omit only when policy allows global agents. */
  board_id?: string | null;
  /** Creation timestamp. */
  created_at: string;
  /** Gateway UUID that manages this agent. */
  gateway_id: string;
  /** Runtime heartbeat behavior overrides for this agent. */
  heartbeat_config?: AgentReadHeartbeatConfig;
  /** Agent UUID. */
  id: string;
  /** Optional profile hints used by routing and policy checks. */
  identity_profile?: AgentReadIdentityProfile;
  /** Template that helps define initial intent and behavior. */
  identity_template?: string | null;
  /** Whether this agent is the board lead. */
  is_board_lead?: boolean;
  /** Whether this agent is the primary gateway agent. */
  is_gateway_main?: boolean;
  /** Last heartbeat timestamp. */
  last_seen_at?: string | null;
  /**
   * Human-readable agent display name.
   * @minLength 1
   */
  name: string;
  /** Optional openclaw session token. */
  openclaw_session_id?: string | null;
  /** Template representing deeper agent instructions. */
  soul_template?: string | null;
  /** Current lifecycle state used by coordinator logic. */
  status?: string;
  /** Last update timestamp. */
  updated_at: string;
}
