Services
RPC methods exposed by this API.ArtifactService
ArtifactService manages an organization-scoped, versioned generic artifact store. Content lives in remote_files, and storage_class decides whether clients may preview it. Attachment and provenance are links, and metadata uses the shared metadata values (sift.metadata.v1). No conversation owns an artifact. Links are append-only and belong to the version they were written at. A version’s rows are its complete link set. ATTACHED_TO rows carry forward to each new version until unlinked. SOURCE and DERIVED_FROM rows describe the bytes, so they carry forward while the bytes do: a version with new bytes starts with only the provenance its request supplies, and earlier versions keep theirs. Linking and unlinking write a new version whose content is copied from the previous one. Artifact bytes live in remote_files (entity_type ‘artifact_versions’, entity_id = artifact_version_id): upload via the remote-files multipart endpoint, download via RemoteFileService.GetRemoteFileDownloadUrl.Messages
Data models used across requests/responses.ArchiveArtifactRequest
ArchiveArtifactResponse
This message has no fields.Artifact
The container. Everything that varies by version lives on ArtifactVersion, and the two travel together in ArtifactDetails.ArtifactDetails
An artifact and one of its versions: the one artifact_version_id pinned, or the latest.ArtifactLink
A link from an artifact to another entity, belonging to one version.ArtifactLinkInput
ArtifactVersion
BatchArchiveArtifactsRequest
The artifacts to archive. Every one must belong to the caller.BatchArchiveArtifactsResponse
Empty on success; nothing is archived on failure. This message has no fields.BatchUnarchiveArtifactsRequest
The artifacts to unarchive. Every one must belong to the caller.BatchUnarchiveArtifactsResponse
Empty on success; nothing is unarchived on failure. This message has no fields.CreateArtifactRequest
CreateArtifactResponse
GetArtifactRequest
GetArtifactResponse
LinkArtifactToConversationRequest
LinkArtifactToConversationResponse
This message has no fields.ListArtifactLinksRequest
ListArtifactLinksResponse
ListArtifactVersionsRequest
ListArtifactVersionsResponse
ListArtifactsRequest
Links filter with a comprehension.
links sub-fields are relation, entity_type, entity_id, and artifact_version_id, for example links.exists(l, l.entity_type == "CONVERSATION" && l.entity_id == "<id>"). runs (relation, run_id, name, description, client_key, start_time, stop_time), assets (relation, asset_id, name), and canvases (relation, canvas_id, name, description) resolve links of any relation to that entity, for example runs.exists(r, r.relation == "SOURCE" && r.name.contains("thermal")). runs and assets only match rows on assets the caller can view; ABAC policies are not applied to them yet. GetArtifactFilterFields returns the same fields. The conversation_id field on this message combines with filter.
Archived artifacts are excluded unless the query says otherwise, either through include_archived == true or by filtering on archived_date, which governs archival on its own. |
| order_by | string | | A comma-separated AIP-132 ordering string over created_date, version_created_date (last updated), archived_date, title, version, and file_type. Fields sort ascending by default and support a desc suffix. The default is created_date ascending. |
ListArtifactsResponse
PromoteArtifactVersionRequest
PromoteArtifactVersionResponse
UnarchiveArtifactRequest
UnarchiveArtifactResponse
This message has no fields.UnlinkArtifactFromConversationRequest
UnlinkArtifactFromConversationResponse
This message has no fields.UpdateArtifactRequest
artifact_version.remote_file_id is a declaration, not a value: it says the caller is about to upload new bytes for the returned version, so the previous version’s remote_files rows and its SOURCE and DERIVED_FROM links are not carried forward. The current version stays unchanged until the upload commits. The request value is ignored. Leave the path out to keep the existing bytes. |