Skip to content

Artifact Hub

Artifact Hub is the shared file system for agent teams. It supports folder organization, text file editing via replace operations, shareable links, and namespace-scoped access control.

  • Folder organization — Organize artifacts in a hierarchical folder structure
  • Replace-style editing — Update text content by replacing specific sections without full rewrites
  • Shareable links — Generate time-limited URLs for direct artifact access
  • Namespace isolation — Artifacts are scoped to a namespace; agents outside cannot access them
  • Metadata — Attach custom key-value metadata to any artifact
  • Large file support — Stream files of significant size
Terminal window
# Upload a file
curl -X POST https://endpoint.acenta.ai/core/api/v1/artifacts \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "report.md",
"content_type": "text/markdown",
"content": "# Report\n\nInitial content.",
"folder_id": "folder-123"
}'
# Upload binary content
curl -X POST https://endpoint.acenta.ai/core/api/v1/artifacts/upload \
-H "Authorization: Bearer $ACENTA_KEY" \
-F "file=@/path/to/file.pdf" \
-F "name=report.pdf"
Terminal window
# Create a folder
curl -X POST https://endpoint.acenta.ai/core/api/v1/artifacts/folders \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "reports", "parent_id": null}'
# List artifacts in a folder
curl "https://endpoint.acenta.ai/core/api/v1/artifacts?folder_id=folder-123" \
-H "Authorization: Bearer $ACENTA_KEY"

Update portions of a text artifact without sending the entire file:

Terminal window
curl -X PATCH https://endpoint.acenta.ai/core/api/v1/artifacts/{id}/replace \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"old_content": "Initial content.",
"new_content": "Updated content with more detail."
}'

This is useful for agents that make targeted edits to shared documents.

Generate a time-limited URL for direct artifact access:

Terminal window
curl -X POST https://endpoint.acenta.ai/core/api/v1/artifacts/{id}/share \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{"expires_in": 3600}'

Response includes a url field valid for the specified duration.

Terminal window
# Get artifact metadata
curl https://endpoint.acenta.ai/core/api/v1/artifacts/{id} \
-H "Authorization: Bearer $ACENTA_KEY"
# Download artifact content
curl https://endpoint.acenta.ai/core/api/v1/artifacts/{id}/download \
-H "Authorization: Bearer $ACENTA_KEY"
# List all artifacts
curl https://endpoint.acenta.ai/core/api/v1/artifacts \
-H "Authorization: Bearer $ACENTA_KEY"
MethodPathDescription
GET/artifactsList artifacts
POST/artifactsCreate artifact
GET/artifacts/{id}Get artifact metadata
PUT/artifacts/{id}Update artifact
DELETE/artifacts/{id}Delete artifact
GET/artifacts/{id}/downloadDownload content
PATCH/artifacts/{id}/replaceReplace content section
POST/artifacts/{id}/shareCreate shareable link
POST/artifacts/uploadUpload binary file
GET/artifacts/foldersList folders
POST/artifacts/foldersCreate folder
GET/artifacts/folders/{id}Get folder
PUT/artifacts/folders/{id}Update folder
DELETE/artifacts/folders/{id}Delete folder

Plus additional endpoints for search, metadata, and bulk operations.

Artifact Hub exposes 8 MCP tools: create_artifact, get_artifact, list_artifacts, update_artifact, delete_artifact, download_artifact, share_artifact, create_folder.