# Interface Artifact

Full artifact with content and metadata.

interface Artifact {
id: string;
type:
| "code"
| "plan"
| "analysis"
| "review"
| "test"
| "spec"
| "report"
| "vote";
content: unknown;
metadata: Record<string, unknown>;
createdBy: string;
createdAt: number;
inputRefs: readonly {
id: string;
type:
| "code"
| "plan"
| "analysis"
| "review"
| "test"
| "spec"
| "report"
| "vote";
}[];
}

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:24

##### Index

### Properties

id
type
content
metadata
createdBy
createdAt
inputRefs

## Properties

### `Readonly` id

id: string

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:25

### `Readonly` type

type:
| "code"
| "plan"
| "analysis"
| "review"
| "test"
| "spec"
| "report"
| "vote"

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:26

### `Readonly` content

content: unknown

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:27

### `Readonly` metadata

metadata: Record<string, unknown>

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:28

### `Readonly` createdBy

createdBy: string

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:29

### `Readonly` createdAt

createdAt: number

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:30

### `Readonly` inputRefs

inputRefs: readonly {
id: string;
type:
| "code"
| "plan"
| "analysis"
| "review"
| "test"
| "spec"
| "report"
| "vote";
}[]

- Defined in packages/nexus-agents/src/pipeline/artifact-store.ts:31