Skip to main content
An artifact is a piece of information or tool you provide to Zylon so it can be used as context for queries and operations. The Workspace API groups artifacts into document artifacts, AI Documents, and other artifacts.

Prerequisites

Artifacts

Artifact request fields

Use POST /api/v1/app/project/{projectID}/artifact to create any artifact type. The path provides the project; the body provides shared artifact metadata plus a type-specific props object.

Document artifacts

Document artifacts hold content, links reference existing artifacts, and folders organize artifacts inside a project.

AI Documents

AI Documents run a Zylon workflow across one or more artifacts to produce a structured output.

Other artifacts

Connector artifacts store tool integrations. private_props is only used for MCP and SQL database artifacts.
To retrieve private details for these artifacts, call: GET /api/v1/app/project/{projectId}/artifact/{artifactId}/private Only the creator of the artifact can access the private details.

Working with artifacts

List artifacts

Get an artifact

Update an artifact

Use parent_id to move an artifact into a folder. Use reset_parent_id: true to remove the current parent and move it back to the project root.

Delete an artifact

Private artifact metadata

Download raw artifact content

Get parsed content

This endpoint is only available when the artifact has an initialized vector index. In practice, this usually means connector-backed documents or artifacts that have completed indexing.

Sync an artifact

This endpoint is primarily used for integration artifacts (SharePoint, Confluence, Claromentis, or FileSystem).
The request body is empty. The response is an SSE stream emitted by the integration sync process.

Bulk update artifacts

Use the bulk update endpoint to apply the same update body shape used by PUT /artifact/{artifactID} to multiple artifacts.

Bulk delete artifacts

Check linked artifacts before modifying

Use this endpoint before changing an artifact when you need to check whether linked artifacts depend on it.

Errors and edge cases

  • Artifact error codes: the error field maps to ingest failures:
If ingest_status is Error, fix the source file (or convert it) and re‑sync.
  • Warnings: ingest_warnings can include values like BigSize, UnprocessableContent, or NoContent to indicate non‑fatal issues.
  • 401/403: token missing or insufficient permissions.
  • 404: artifact or project not found.
  • 409: artifact already processing.
  • 413: content exceeds the recommended upload size (250 MB).