# Interface DocumentationResult

Documentation result from DocumentationExpert.

interface DocumentationResult {
content: string;
structuredData?: Record<string, unknown>;
recommendations?: string[];
warnings?: string[];
confidence: number;
modelUsed?: string;
documentationType: "api" | "readme" | "guide" | "reference";
sections?: DocumentationSection[];
apiDocs?: ApiDocumentation;
}

#### Hierarchy (View Summary)

- ExpertOutput
  - DocumentationResult

- Defined in packages/nexus-agents/src/agents/experts/expert-documentation-types.ts:13

##### Index

### Properties

content
structuredData?
recommendations?
warnings?
confidence
modelUsed?
documentationType
sections?
apiDocs?

## Properties

### content

content: string

Primary result content

Inherited from ExpertOutput.content

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:34

### `Optional` structuredData

structuredData?: Record<string, unknown>

Structured data if applicable

Inherited from ExpertOutput.structuredData

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:36

### `Optional` recommendations

recommendations?: string[]

Recommendations or suggestions

Inherited from ExpertOutput.recommendations

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:38

### `Optional` warnings

warnings?: string[]

Warnings or issues found

Inherited from ExpertOutput.warnings

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:40

### confidence

confidence: number

Confidence score (0-1)

Inherited from ExpertOutput.confidence

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:42

### `Optional` modelUsed

modelUsed?: string

Model used for this expert's execution (Issue #817)

Inherited from ExpertOutput.modelUsed

- Defined in packages/nexus-agents/src/agents/experts/expert-base-types.ts:44

### documentationType

documentationType: "api" | "readme" | "guide" | "reference"

Documentation type

- Defined in packages/nexus-agents/src/agents/experts/expert-documentation-types.ts:15

### `Optional` sections

sections?: DocumentationSection[]

Generated documentation sections

- Defined in packages/nexus-agents/src/agents/experts/expert-documentation-types.ts:17

### `Optional` apiDocs

apiDocs?: ApiDocumentation

API documentation

- Defined in packages/nexus-agents/src/agents/experts/expert-documentation-types.ts:19