ADocumentation Index
Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt
Use this file to discover all available pages before exploring further.
ProjectTemplate is a metadata blueprint for creating a repeatable project workspace. It should define the resources a project needs to run a business process, while Activity Plans define the automated process itself.
Top-Level Shape
| Field | Required | Description |
|---|---|---|
slug | Yes | Stable template slug |
orgSlug | Yes | Owning organization slug |
version | Yes | Template version |
name | Yes | Display name |
type | Yes | Must be projectTemplate |
description | No | Human-readable purpose |
helpUrl | No | Link to implementation guidance |
tags | No | Search and categorization tags |
Variable Substitution
Templates can use project and organization variables in slugs, names, descriptions, and references.| Variable | Description |
|---|---|
${project.id} | Unique project ID |
${project.name} | Project display name |
${project.slug} | Project slug |
${orgSlug} | Organization slug |
${project.id} for resources that must be unique across projects.
Stores
Stores define where documents and structured data live.| Field | Description |
|---|---|
slug | Store slug |
name | Display name |
description | Purpose shown to users |
storeType | Usually DOCUMENT for document workflows |
storePurpose | OPERATIONAL, TRAINING, or another supported purpose |
deleteProtection | Prevent accidental deletion |
documentProperties | Optional metadata fields for document families |
Data Definitions
Usetaxonomies to create or reference the Data Definitions used by extracted data and Data Forms.
Task Templates
Task Templates define human work that Activity Plans can create withCREATE_TASK steps.
Data Forms
Data Forms provide the structured review UI for extracted data.Statuses
Project templates can define document, task, and attribute statuses. Use statuses to make the workflow observable to operators.DONE are important for Activity choreography: script and task status changes can advance downstream Activity work.
Knowledge Sets
Knowledge Sets provide reusable classifications, reference data, and extraction context.Workspace Configuration
Workspaces control the operator surface for a project. Enable only the panels the process needs.documentStores, dataForms, taxonomies, properties, exceptions, auditEvents, navigation, and channels.
Options
Use options for project-level configuration that must vary between projects.The nested
options.options shape is intentional in the current template format.Activity Plan Bindings
Activity Plans are reusable process definitions. When your environment supports binding Activity Plans in templates, treat those bindings as project setup: they should connect the reusable plan to this project’s stores, data definitions, task templates, forms, Service Bridges, and statuses. Keep the Activity Plan itself as the source of truth for steps, dependencies, script actions, Service Bridge calls, LLM steps, approvals, and Task creation.Validation Checklist
- Validate the YAML syntax.
- Create a test project from the template.
- Confirm stores, statuses, Data Definitions, Task Templates, Data Forms, and workspace panels are created.
- Confirm the relevant Activity Plan can run against the project resources.
- Upload representative documents and run the workflow end to end.
- Verify that Tasks, Activity step logs, document statuses, and audit history are visible to operators.
Related Guides
Project Templates Concept
Understand what belongs in a project template.
Activity Plans
Model the automated work that runs inside the project.
