Shared
ModelsExpand Collapse
type AccountResourceMetadata struct{…}
type BareMetadata struct{…}
BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed — e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.
type OperationMetadata struct{…}
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
type ResourceMetadata struct{…}
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
Name string
Human-readable name for the resource (e.g., “Customer Support Agent”, “Email Tool”) Required for resources that users interact with directly