include/entropic/storage/records.h

← API

include/entropic/storage/records.h

entropic::ConversationRecord

Database record for a conversation.

std::string entropic::ConversationRecord::id

UUID primary key.

std::string entropic::ConversationRecord::title

Conversation title.

std::string entropic::ConversationRecord::created_at

ISO 8601 timestamp.

std::string entropic::ConversationRecord::updated_at

ISO 8601 timestamp.

std::optional<std::string> entropic::ConversationRecord::project_path

Project path (nullable)

std::optional<std::string> entropic::ConversationRecord::model_id

Model identifier (nullable)

std::string entropic::ConversationRecord::metadata

JSON metadata blob.

entropic::DelegationRecord

Database record for a delegation.

std::string entropic::DelegationRecord::id

UUID primary key.

std::string entropic::DelegationRecord::parent_conversation_id

Parent conversation FK.

std::string entropic::DelegationRecord::child_conversation_id

Child conversation FK.

std::string entropic::DelegationRecord::delegating_tier

Tier that initiated delegation.

std::string entropic::DelegationRecord::target_tier

Target tier for child loop.

std::string entropic::DelegationRecord::task

Task description.

std::optional<int> entropic::DelegationRecord::max_turns

Turn limit (nullable)

std::string entropic::DelegationRecord::status

pending/running/completed/failed

std::optional<std::string> entropic::DelegationRecord::result_summary

Result summary (nullable)

std::string entropic::DelegationRecord::created_at

ISO 8601 timestamp.

std::optional<std::string> entropic::DelegationRecord::completed_at

Completion timestamp (nullable)

entropic::MessageRecord

Database record for a message.

std::string entropic::MessageRecord::id

UUID primary key.

std::string entropic::MessageRecord::conversation_id

Parent conversation FK.

std::string entropic::MessageRecord::role

"user", "assistant", "system", "tool"

std::string entropic::MessageRecord::content

Message text.

std::string entropic::MessageRecord::tool_calls

JSON array of tool calls.

std::string entropic::MessageRecord::tool_results

JSON array of tool results.

int64_t entropic::MessageRecord::token_count

Estimated token count.

std::string entropic::MessageRecord::created_at

ISO 8601 timestamp.

bool entropic::MessageRecord::is_compacted

Whether this message survived compaction.

std::optional<std::string> entropic::MessageRecord::identity_tier

Tier that produced this message.