# Package-level declarations

## Types

AgentRunRequest
Link copied to clipboard
data class AgentRunRequest(val appName: String, val userId: String, val sessionId: String? = null, val newMessage: Content? = null, val streaming: Boolean = false, val stateDelta: Map<String, Any>? = null, val invocationId: String? = null)
ErrorResponse
Link copied to clipboard
data class ErrorResponse(val error: String, val message: String, val details: String? = null)
RunRequest
Link copied to clipboard
data class RunRequest(val agentId: String, val input: String, val sessionId: String? = null)
RunResponse
Link copied to clipboard
data class RunResponse(val output: String, val sessionId: String)
SessionDto
Link copied to clipboard
data class SessionDto(val id: String?, val appName: String, val userId: String, val state: Map<String, Any>?, val events: List<Event>?, val lastUpdateTime: Long?)
SessionModel
Link copied to clipboard
data class SessionModel(val sessionId: String, val turnHistory: List<TurnModel>)
SseModel
Link copied to clipboard
data class SseModel(val type: String, val content: String, val timestamp: String)

Model representing an SSE (Server-Sent Event) message.

TurnModel
Link copied to clipboard
data class TurnModel(val role: String, val content: String)