Prerequisites
- An API token. See Token Management.
- Your Zylon hostname (replace
{BASE_URL}in the examples).
Artifacts
| Category | Includes | When to use |
|---|---|---|
| Document artifacts | Documents, folders, links | Store or organize content inside a project. |
| Agent flows | Summary, composition, extraction flows | Run workflows across artifacts to produce outputs. |
| Other artifacts | MCP servers, SQL databases | Provide external tools or data sources. |
Document artifacts
Document artifacts hold content, links reference existing artifacts, and folders organize artifacts inside a project.- Document
- Folder
- Link
Example response
Example response
Agent flows
Agent flows run a Zylon workflow across one or more artifacts to produce a structured output.- Summary
- Composition
- BulkQA
- ReadAndExtract
- SmartDoc
Example response
Example response
Other artifacts
Connector artifacts store tool integrations.private_props is only used for MCP and SQL database artifacts.
- SqlDatabase
- McpServer
Example response
Example response
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
Example response
Example response
Get an artifact
Example response
Example response
Update an artifact
Example response
Example response
Delete an artifact
Example response
Example response
Private artifact metadata
Example response (private MCP artifact props)
Example response (private MCP artifact props)
Download raw artifact content
Example response
Example response
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).Errors and edge cases
- Artifact error codes: the
errorfield maps to ingest failures:
error value | Meaning |
|---|---|
InvalidExtension | File extension is not supported. |
MismatchedType | File type does not match the declared artifact type. |
Malformed | File is corrupt or unreadable. |
Encrypted | File is password‑protected. |
ParsingFailure | Extractor failed to parse the file. |
MaxNodes | Document is too large/complex for parsing. |
NoValidFile | No valid file was found in the upload. |
NoValidNodes | No parseable content was extracted. |
InternalError | Ingest pipeline failed unexpectedly. |
Unknown | Unclassified ingest failure. |
ingest_status is Error, fix the source file (or convert it) and re‑sync.
- Warnings:
ingest_warningscan include values likeBigSize,UnprocessableContent, orNoContentto 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).