AiAgentArtifact
object
An artifact that an agent has created or updated during a task execution. This can be a code snippet, API response, etc. These are intermediary responses, that form part of the final response.
Fields
contextId
ID!
non-null
A unique identifier for the context. This should be a UUID. This is used to correlate multiple related messages together.
artifactId
ID!
non-null
The unique identifier for the artifact. This should be a UUID.
name
String
The name of the artifact. This is used to identify the artifact in the UI.
description
String
A description of the artifact. This is used to provide additional context on what the artifact is.
parts
[AiConversationPart!]!
non-null
The parts of the artifact. This can be text or files. The parts are used to store the actual content of the artifact.
createdAt
DateTime!
non-null
Timestamp of when the artifact was created, in UTC. Format: yyyy-MM-dd'T'HH:mm:ssZ.