Workflow APIs
Compose the task, not the plumbing.
Proposed interfaces for explicit steps, typed inputs, review gates, and inspectable execution states.
PLANNED CAPABILITYBUILT FOR BUILDERS
An API-first vision for putting business context and reasoning inside the tools you build. Explicit inputs. Structured outputs. Workflows you can understand.
This is an illustrative API concept. There is no live SDK, AI endpoint, or model integration. Copy the code or run the local simulation to explore the intended experience.
// Illustrative API design — no SDK or endpoint is live.
const document = {
name: 'operations-note.txt',
content: 'Intake requires an owner and a review date.',
};
const result = await foundry.run({
task: 'analyze_document',
source: document,
model: 'claude',
output: { format: 'structured' },
});
console.log(result);
An answer with structure.
Run the example to reveal theAPI-FIRST BY DESIGN
These planned capabilities describe the developer platform vision, not features available from a production API today.
Compose the task, not the plumbing.
Proposed interfaces for explicit steps, typed inputs, review gates, and inspectable execution states.
PLANNED CAPABILITYKeep the model layer deliberate.
Claude is a planned integration. Model selection and context handling would remain explicit, rather than hidden behind a generic response.
PLANNED CAPABILITYMake the result useful to software.
A schema-first vision for predictable fields, validation, source references, and clearly stated uncertainty.
PLANNED CAPABILITYGive every action a clear boundary.
Planned tool definitions with scoped inputs and permissions, plus human approval before consequential side effects.
PLANNED CAPABILITYMeet your application where it works.
A concept for signed workflow events, delivery status, and safe retry handling. No webhook service is active in this prototype.
PLANNED CAPABILITYAccess should be intentional.
A proposed design for scoped API credentials and organizational permissions. No API keys are issued here.
PLANNED CAPABILITYThe prototype guide explains what works, what is simulated, and how local form data is handled.
YOUR NEXT CHAPTER
Give your organization an intelligence layer built
for the way modern work actually happens.