Shared
ModelsExpand Collapse
AccountResourceMetadata = object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
BareMetadata = object { id, name }
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.
CreateResourceMetadata = object { name, externalId, labels }
CreateResourceMetadata contains the user-provided fields for creating a workspace-scoped resource. Read-only fields (id, account_id, workspace_id, profile_id, created_at) are excluded since they are set by the server.
OperationMetadata = object { id, accountId, createdAt, 4 more }
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
ResourceMetadata = object { id, accountId, createdAt, 5 more }
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
UpdateResourceMetadata = object { name, externalId, labels }
UpdateResourceMetadata contains the user-provided fields for updating a workspace-scoped resource. Read-only fields (id, account_id, workspace_id, profile_id, created_at) are excluded since they are set by the server.