@archastro/sdk
    Preparing search index...

    Interface Artifact

    A versioned artifact produced or managed by an agent, such as a generated file, report, or code output.

    interface Artifact {
        agent?: string;
        content_type?: string;
        created_at?: string;
        current_version?: string;
        description?: string;
        file?: string;
        file_name?: string;
        file_url?: string;
        id: string;
        image_source?: ImageSource;
        name?: string;
        org?: string;
        sandbox?: string;
        team?: string;
        thread?: string;
        updated_at?: string;
        user?: string;
        version?: number;
    }
    Index

    Properties

    agent?: string

    ID of the agent that produced this artifact (agt_...). null if not agent-produced.

    content_type?: string

    MIME type of the current version's file, e.g. "text/csv" or "image/png". null if no file is attached.

    created_at?: string

    When the artifact was first created (ISO 8601).

    current_version?: string

    ID of the current (latest published) artifact version (artv_...). null if no version has been published.

    description?: string

    Optional longer description of the artifact's contents or purpose. null if not set.

    file?: string

    Storage file ID for the current version (fil_...). null if no file is attached.

    file_name?: string

    Original filename of the current version's file, e.g. "output.csv". null if no file is attached.

    file_url?: string

    Short-lived signed URL for downloading the current version's file. null if no file is attached.

    id: string

    Artifact ID (art_...).

    image_source?: ImageSource

    Image source metadata for rendering the current version's file inline. Present only when content_type starts with "image/". null otherwise.

    name?: string

    Human-readable name for the artifact, e.g. "Q2 Report". null if not set.

    org?: string

    ID of the organization this artifact belongs to (org_...).

    sandbox?: string

    Identifier of the sandbox environment associated with this artifact. null if not sandbox-scoped.

    team?: string

    ID of the team that owns this artifact (tea_...). null if not team-scoped.

    thread?: string

    ID of the thread in which this artifact was created (thr_...). null if not thread-scoped.

    updated_at?: string

    When the artifact record was last modified (ISO 8601).

    user?: string

    ID of the user who created this artifact (usr_...). null if not user-scoped.

    version?: number

    Current version number of the artifact. Increments each time a new version is published.