docs/usage/platform-api-v1-migration.md. This page is rendered from the source document during the MkDocs build.Platform API v1 migration
NeKiro v0.1.0 uses one URL version at each owned HTTP boundary. This is a
pre-release cutover with no compatibility aliases.
Route mapping
| Pre-release route family | v0.1.0 route family |
|---|---|
/v3/agents... |
/v1/agents... |
/v3/workspaces... |
/v1/workspaces... |
/v4/providers... |
/v1/providers... |
/v4/releases... |
/v1/releases... |
/v4/public/agents... |
/v1/public/agents... |
/v4/workspaces/{workspaceId}/invocations... |
/v1/workspaces/{workspaceId}/invocations... |
/v4/workspaces/{workspaceId}/traces... |
/v1/workspaces/{workspaceId}/traces... |
/internal/v2/resolve-agent |
/internal/v1/resolve-agent |
/internal/v3/resolve-installed-version |
/internal/v1/resolve-installed-version |
/internal/v4/invocations |
/internal/v1/invocations |
/internal/v3/workspaces/... |
/internal/v1/workspaces/... |
/agent/v1/invocations |
unchanged |
Resource representations, status codes, media negotiation, error phase semantics, exact Release provenance, and metadata-only Ledger rules are the latest pre-release behavior; only the owning HTTP API identity is reset.
Required configuration changes
- Set
NEKIRO_ROUTER_INTERNAL_URLto the exact/internal/v1/invocationsURL. - Set
NEKIRO_CONTROL_PLANE_RESOLVE_URLto the exact/internal/v1/resolve-agentURL. - Set
NEKIRO_CONTROL_PLANE_VERSION_URLto the exact/internal/v1/resolve-installed-versionURL. - Update Gateway clients to construct only
/v1public routes. - Keep Agent SDK nested calls on
/agent/v1/invocations.
Configuration containing a retired path fails validation. Clients must not
probe an old path after a failure or reinterpret 404 as an empty result.
Payload versions
URL API v1 does not rename independently versioned payloads. Consumers must continue to honor the active Agent Card, Installation, Platform Error, Invocation Event, result stream, A2A Profile, and Router credential schema identities declared by the v1 OpenAPI documents.
Verification
After migration:
- Run Core contract, unit, PostgreSQL integration, race, and vet checks.
- Run Console and Go SDK client tests and confirm no active
/v2,/v3, or/v4request remains. - Run Stack backend and browser acceptance against exact component commits.
- Confirm retired public and internal paths return
404without invoking an owner service. - Confirm one root and child Invocation preserve
root_task_id,parent_invocation_id, andtrace_idin Ledger.
There is no downgrade or mixed-version operating mode.