# TreatmentInputArtifact

Describes a single artifact available to a treatment run.

Class 

`IntelligenceX.Treatment`

**Namespace**

`IntelligenceX.Treatment`

**Assembly**

`IntelligenceX`

**Source**

[TreatmentContracts.cs:143](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L143)

**Modifiers**

sealed

Describes a single artifact available to a treatment run.

## Inheritance

- object
- TreatmentInputArtifact

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [TreatmentRequest.Inputs](/api/intelligencex-treatment-treatmentrequest/#property-inputs)

Filter members 

Show inherited

## Constructors

`public TreatmentInputArtifact()` [#](#constructor-ctor)

[TreatmentContracts.cs:143](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L143)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Id { get; set; }` [#](#property-id)

[TreatmentContracts.cs:109](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L109)

Stable artifact id.

`public string? Role { get; set; }` [#](#property-role)

[TreatmentContracts.cs:113](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L113)

Caller-defined role, such as source, evidence, brief, image, or context.

`public string? Name { get; set; }` [#](#property-name)

[TreatmentContracts.cs:117](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L117)

Human readable name.

`public string? MediaType { get; set; }` [#](#property-mediatype)

[TreatmentContracts.cs:121](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L121)

Media type, if known.

`public string? Text { get; set; }` [#](#property-text)

[TreatmentContracts.cs:125](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L125)

Inline text content.

`public byte[]? ImageBytes { get; set; }` [#](#property-imagebytes)

[TreatmentContracts.cs:127](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L127)

Optional inline image payload. Mutually exclusive with Path and Uri; no filesystem access is granted.

`public JsonObject? Json { get; set; }` [#](#property-json)

[TreatmentContracts.cs:131](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L131)

Inline JSON content.

`public string? Path { get; set; }` [#](#property-path)

[TreatmentContracts.cs:135](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L135)

Local artifact path.

`public Uri? Uri { get; set; }` [#](#property-uri)

[TreatmentContracts.cs:139](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L139)

External artifact URI.

`public bool IsPrivate { get; set; }` [#](#property-isprivate)

[TreatmentContracts.cs:143](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L143)

Whether this artifact is private source material rather than publishable output.

`public IReadOnlyDictionary<string, string> Metadata { get; set; }` [#](#property-metadata)

[TreatmentContracts.cs:147](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L147)

Optional metadata.

<!-- PowerForge markdown artifact sha256:A799474E43B71D50D0FFB4E2BE6743427BBCB16D0A6C561E56465EA3BAA0344C -->
