Skip to main content
Version: 1.14.0

AgentWorks API, CLI, and configuration reference

AgentWorks 1.14 exposes the same versioned API to the Web Console, CLI, SDK, and external automation. Use the running service's OpenAPI document as the exact contract for that installation; use this page to find the relevant surface and configuration group.

API contract​

Download the live OpenAPI document from the AgentWorks service:

curl --fail \
-H "Authorization: Bearer $AGENTWORKS_TOKEN" \
https://agentworks.example.com/api/v1/openapi.yaml \
-o agentworks-openapi.yaml

The API base path is /api/v1. Errors use RFC 9457 problem details with a stable AgentWorks code. List responses use an items array and an opaque nextCursor; do not construct or modify cursors. Event streams use Server-Sent Events and accept Last-Event-ID to resume from the next event after the last event processed.

The contract groups operations by task:

TaskAPI resources
Identity and administrationAuthentication, users, workspace members, tokens, and audit
Agent authoringAgents, published versions, tools, MCP connections, capability packs, and permissions
Release operationsReleases, bundles, aliases, environments, promotion approvals, and deployments
ExecutionRuns, steps, events, streams, replay, context, callbacks, and cancellation or pause controls
Human and durable workSessions, messages, interactions, artifacts, and durable operations
QualitySimulations, tests, evaluations, datasets, evaluators, reports, and baselines

Use the OpenAPI operation's documented authorization and precondition requirements. Do not infer permission from the URL or retry a write with a new idempotency value unless you intend to request new work.

CLI task map​

Build the CLI from the authorized v1.14.0 source tag as described in the headless installation guide. Run agentworks <group> --help and agentworks <group> <command> --help for the exact flags in that release.

GoalCommand groups and representative commands
Select a serviceprofile set, profile use, profile list, auth status
Manage an agentagent create, agent list, agent show, agent publish, agent versions
Operate releasesrelease build, release show, release verify, release lifecycle, release suspend, release revoke
Deploy safelydeploy show, deploy list, deploy routing, deploy rollback, deploy suspend, deploy retire
Run workrun start, run show, run list, run pause, run resume, run cancel, stream <run-id>
Resolve interactionsinteraction list, interaction show, interaction respond, interaction cancel
Inspect durable workoperation list, operation show, operation cancel, events list, context show
Validate qualitytest run, simulate run, eval run, eval status, eval report, eval compare
Manage evidenceartifact list, artifact show, artifact download, artifact validate, audit list
Diagnose the clientdiagnostic context, diagnostic openapi

Prefer structured output where the command offers it, and treat command output and exit status as the automation contract. A command name does not grant authority; the token still needs the API permission for the operation.

Runtime configuration​

Supply settings through the deployment's supported configuration mechanism. The following keys are the public 1.14 operator surface used by the product guides:

AreaKeysPurpose
Consoleagentworks.console.enabledDisable the optional browser interface while keeping API and worker surfaces active
Workersagentworks.runs.worker.enabled, agentworks.runs.worker.threadsEnable execution and set worker concurrency
Evidenceagentworks.runs.cleanup-evidence.pathChoose the protected path for cleanup evidence
Storage modeagentworks.storage.run-plane, agentworks.storage.control-planeSelect local or Flightdeck-hosted responsibilities
Local storageagentworks.storage.local.pathSet the local run-store path for the managed-runtime topology
Gateway connectionsagentworks.gateway.gateways.<id>.*Define named DVARA Gateway endpoints and trust settings
Environment credentialsagentworks.credentials.environment.<id>.variable, agentworks.credentials.environment.<id>.scopeMap an environment reference to a scoped process variable
Runtime enrolmentagentworks.enrolment.base-url, agentworks.enrolment.runtime-id, agentworks.enrolment.token, agentworks.enrolment.directoryEnrol and identify a Flightdeck-managed Runtime
Default referencesagentworks.lifecycle.default-credential-references.*Attach approved credential references to lifecycle operations

Keep secrets out of AgentSpec and shell history. Prefer files or secret mounts where the deployment supports them, and validate the effective configuration through a non-production rollout before changing a runtime fleet.

Version rules​

  • Use the live OpenAPI document from the service you are calling; do not copy a document from another environment.
  • Keep the CLI on a version supported by the server during an upgrade.
  • Treat unknown fields, newer stored formats, and unsupported capabilities as incompatibilities rather than silently ignoring them.
  • Pin released images and libraries by the release's recorded digest or version.

Next steps​