ArtifactService
CreateArtifact
Create a new artifact.
POST
CreateArtifact
Authorizations
Body
application/json
- ARTIFACT_STORAGE_CLASS_UNSPECIFIED: The storage class is not specified.
- ARTIFACT_STORAGE_CLASS_FILE: Bytes in remote_files, previewable by MIME type.
- ARTIFACT_STORAGE_CLASS_STRUCTURED: Deprecated: content as a JSON payload. No longer accepted on create; use FILE or BLOB.
- ARTIFACT_STORAGE_CLASS_BLOB: Bytes in remote_files, opaque, download only.
Available options:
ARTIFACT_STORAGE_CLASS_UNSPECIFIED, ARTIFACT_STORAGE_CLASS_FILE, ARTIFACT_STORAGE_CLASS_STRUCTURED, ARTIFACT_STORAGE_CLASS_BLOB Which surface wrote the artifact.
- ARTIFACT_CREATED_VIA_UNSPECIFIED: The producing surface is not specified.
- ARTIFACT_CREATED_VIA_AGENT: An agent wrote the artifact.
- ARTIFACT_CREATED_VIA_CANVAS: Canvas wrote the artifact.
- ARTIFACT_CREATED_VIA_UPLOAD: A direct upload wrote the artifact.
Available options:
ARTIFACT_CREATED_VIA_UNSPECIFIED, ARTIFACT_CREATED_VIA_AGENT, ARTIFACT_CREATED_VIA_CANVAS, ARTIFACT_CREATED_VIA_UPLOAD