Webhooks
ModelsExpand Collapse
type UnsafeUnwrapWebhookEvent struct{…}
The envelope for an objective event webhook delivery. Contains timestamp, event type, and the webhook data payload.
Data UnsafeUnwrapWebhookEventData
The webhook data payload with flat top-level keys for agent, variation, objective, and event.
Agent ResourceMetadata
AgentVariation ResourceMetadata
Objective OperationMetadata
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
ObjectiveEvent UnsafeUnwrapWebhookEventDataObjectiveEvent
Data ObjectiveEventData
CallableTool is a union that represents a tool that can be called by an agent. In Cadenya, a tool that is used within an agent objective might be a user-defined tool (IE: MCP, HTTP), another Agent (useful to separate context), or a Cadenya Tool (one Cadenya provides).
The new context window created by this compaction
CompletionTokens int64optional
A calculated value for how many completion tokens (output tokens) have been used in this context window
PreviousWindowContinueInstructions stringoptional
The instructions for this window to continue from a previous window's chat history.
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
Metadata OperationMetadata
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
Profile represents a human user at the account level. Profiles are account-scoped resources that can be associated with multiple workspaces through the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
Metadata AccountResourceMetadata
Spec ProfileSpec
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)