Spatio.Model.AgentTaskUsage (spatio_sdk v0.0.2)

Free-trial agent-task gate. allowed is the only field clients must check before issuing a turn. Paid users get paid: true, allowed: true with the count fields null.

Summary

Types

t()

@type t() :: %Spatio.Model.AgentTaskUsage{
  allowed: boolean(),
  daily_limit: integer() | nil,
  paid: boolean() | nil,
  task_count: integer() | nil,
  trial_ends_at: DateTime.t() | nil
}

Functions

decode(value)