
package eu.gaudian.translator.model.communication

import kotlinx.serialization.Serializable


@Serializable
data class ApiLogEntry(
    val id: String,
    val timestamp: Long,
    val providerKey: String,
    val endpoint: String,
    val method: String = "POST",
    val model: String? = null,
    val requestJson: String? = null,
    val responseCode: Int? = null,
    val responseMessage: String? = null,
    val responseJson: String? = null,
    val errorMessage: String? = null,
    val durationMs: Long? = null,
    val exceptionType: String? = null,
    val isTimeout: Boolean? = null,
    val parseErrorMessage: String? = null,
    val url: String? = null
)