Skip to content

docs(adk): document contextId-based artifact storage layout and URL pattern - #461

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-460
Jul 22, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-460

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #460

Summary

Documents the changed artifact storage layout in the Go ADK (inference-gateway/adk PR #249, closes adk#238). Stored artifacts are now grouped by the A2A context (session) id instead of being flat. Adds a new "Storage Layout" subsection to the Artifacts docs and updates the method references for CreateFileArtifact* functions.

Changes

  • Added ### Storage Layout subsection to the Artifacts section in adk.md describing the new {contextId}/{artifactId}/{filename} layout for both filesystem and MinIO/S3 backends.
  • Documented the new 3-segment download URL pattern: /artifacts/{contextId}/{artifactId}/{filename}.
  • Updated CreateFileArtifactFromBytes and CreateFileArtifactFromURI to show contextID as their first argument.
  • Added note that default handlers automatically pass task.ContextID when the autonomous create_artifact tool is active.
  • Noted that clients are unaffected - they still fetch the opaque uri.

Ripple effects

No downstream issues needed: this is a docs-only change for the Go ADK page. The TypeScript and Rust ADK pages describe their own ADK APIs and are not affected by this Go ADK change.

…attern

Storage layout changed from flat {artifactId}/{filename} to {contextId}/{artifactId}/{filename} for both filesystem and MinIO/S3 backends. Download URLs are now /artifacts/{contextId}/{artifactId}/{filename}. CreateFileArtifact methods now take contextID as first argument. Default handlers pass task.ContextID automatically.
@edenreich
edenreich marked this pull request as ready for review July 22, 2026 15:37
@edenreich
edenreich requested a review from a team as a code owner July 22, 2026 15:37
@edenreich
edenreich merged commit 9971738 into main Jul 22, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-460 branch July 22, 2026 15:37
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 22, 2026
## [0.9.4](0.9.3...0.9.4) (2026-07-22)

### 📚 Documentation

* add model routing guide and ROUTING_* config ([#466](#466)) ([aea7023](aea7023))
* **adk:** document contextId-based artifact storage layout and URL pattern ([#461](#461)) ([9971738](9971738))
* **adk:** document MCP client and MCP_* configuration ([#463](#463)) ([1687f99](1687f99))
* note offline provider-docs regen in AGENTS.md ([#465](#465)) ([4ee83aa](4ee83aa))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Artifacts grouped by session id: new storage layout and URL

1 participant