SkipAPIArtifact: {
    artifactType: SkipAPIArtifactType;
    comments: string;
    conversationId: string;
    createdAt: Date;
    description: string;
    id: string;
    name: string;
    sharingScope: "None" | "SpecificUsers" | "Everyone" | "Public";
    updatedAt: Date;
    versions: SkipAPIArtifactVersion[];
}

Complete artifact definition including metadata, type information, sharing settings, and all versions. Artifacts are the primary way to persist and version AI-generated content across conversations.

Type declaration

  • artifactType: SkipAPIArtifactType

    Related artifact type

  • comments: string

    Comments from the user about the artifact

  • conversationId: string

    Foreign key to the related conversation

  • createdAt: Date
  • description: string

    AI generated description for the artifact This is a short description of the artifact that is generated by the AI system and is used to provide context for the artifact

  • id: string

    Primary key for the artifact

  • name: string

    AI generated name for the artifact

  • sharingScope: "None" | "SpecificUsers" | "Everyone" | "Public"

    Defines the level of sharing the owner of this artifact (which is the owner of the related conversation) has selected for this artifact

  • updatedAt: Date
  • versions: SkipAPIArtifactVersion[]

    Array of versions of this artifact This is a one-to-many relationship, where each artifact can have multiple versions