Skip to main content

AgentBudgetEvent

Typed provider budget reservation or reconciliation event; no wallet debit occurs in the platform-funded pilot.

type AgentBudgetEvent implements AgentEventBase {
protocolVersion: String!
eventId: String!
sessionId: String!
seq: BigInt!
type: CrowdyStudioAgentEventType!
runId: String
version: String!
createdAt: DateTime!
budget: AgentBudget!
}

Fields

AgentBudgetEvent.protocolVersion ● String! non-null scalar

Event envelope version; always 'crowdy.agent-event/1'.

AgentBudgetEvent.eventId ● String! non-null scalar

Stable event UUID for deduplication.

AgentBudgetEvent.sessionId ● String! non-null scalar

Owning session UUID.

AgentBudgetEvent.seq ● BigInt! non-null scalar

Strictly increasing session sequence as a decimal BigInt.

AgentBudgetEvent.type ● CrowdyStudioAgentEventType! non-null enum

Stable version 1 event discriminator.

AgentBudgetEvent.runId ● String scalar

Related run UUID, or null for session-only facts.

AgentBudgetEvent.version ● String! non-null scalar

Versioned event payload contract.

AgentBudgetEvent.createdAt ● DateTime! non-null scalar

Commit timestamp.

AgentBudgetEvent.budget ● AgentBudget! non-null object

Complete effective budget snapshot after this change.

Interfaces

AgentEventBase interface

Common identity/order fields on every typed durable agent event variant.

Implemented By

CrowdyStudioAgentEvent union