EXAMPLES
Examples
Small, tested integrations that expose no product source or private history.
Start from the public examples repository
The Midfleet examples repository contains clean-room developer examples with independent tests and a permissive license. It is not a mirror, fork, subtree, or filtered history of the private Midfleet product repository.
Example catalog
| Example | What it demonstrates | Required secret |
|---|---|---|
| Workflow API TypeScript | Resolve, preflight, invoke, launch, and consume from a server process. | Workspace API key with exact workflow scopes. |
| GitHub Actions evidence | Build and publish provenance-bearing CI evidence. | Project-scoped workflow-artifacts:write key. |
| Signed delivery webhook | Verify signatures, timestamps, and delivery IDs before processing. | One-time delivery signing secret. |
Example safety rules
- Copy .env.example to a local untracked file; never commit real credentials.
- Use https://app.midfleet.ai for production API calls. Localhost is repository development only.
- Keep workspace API keys and signing secrets in server-side environments.
- Treat example output as instructional until it has passed against your workspace, project, runtime, and policy.