For the complete documentation index, see llms.txt. This page is also available as Markdown.

Artifacts

Files and documents attached to policies and policy blocks.

Returns all artifacts.

get

Returns all artifacts.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idstringOptional

Artifact identifier

Example: 69aeb71ef8c5b278e3bab4e5
typestring · enumOptional

Tool|Policy

Possible values:
policyIdstringOptional

Policy identifier

Example: 69aeb71ef8c5b278e3bab4e5
toolIdstringOptional

Tool identifier

Example: 69aeb71ef8c5b278e3bab4e5
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberOptional

The numbers of items to return

Example: 20
Responses
200

Successful operation.

application/json
get/artifacts

Upload artifact.

post

Upload artifact. For users with the Standard Registry role only.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parentIdstringRequired

Parent ID

Example: 69aeb71ef8c5b278e3bab4e5
Body
artifactsstring · binary[]Required

Artifact files

Responses
201

Artifacts uploaded successfully.

application/json
createDatestringRequiredExample: 2026-03-19T11:23:34.247Z
updateDatestringRequiredExample: 2026-03-19T11:23:34.247Z
uuidstringRequiredExample: 9db028d2-03ad-4d49-a178-cf4b67f8c147
policyIdstringRequiredExample: 69aeb71ef8c5b278e3bab4e5
namestringRequiredExample: country_emission_factors
typestring · enumRequiredExample: JSONPossible values:
ownerstringRequiredExample: did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599
extentionstringRequiredExample: json
categorystring · enumOptionalExample: policyPossible values:
creatorstringOptionalExample: did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599
idstringRequiredExample: 69aeb71ef8c5b278e3bab4e5
post/artifacts/{parentId}

Delete artifact.

delete

Delete artifact.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
artifactIdstringRequired

Artifact ID

Example: 69aeb71ef8c5b278e3bab4e5
Responses
200

Successful operation.

application/json
booleanOptional
delete/artifacts/{artifactId}

Download file by id.

get

Returns file from GridFS by its identifier.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
fileIdstringRequired

File identifier

Example: 69aeb71ef8c5b278e3bab4e5
Responses
201

Successful operation. Returns file content.

application/octet-stream
string · binaryOptional
get/artifacts/files/{fileId}

Delete file by id

delete

Deletes file from GridFS by _id

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
fileIdstringRequired

File identifier

Example: 69aeb71ef8c5b278e3bab4e5
Responses
200

Successful operation.

application/json
booleanOptional
delete/artifacts/files/{fileId}

Uploads/overwrites file

post

Uploads/overwrites file in GridFS

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filestring · binaryOptional
fileIdstringOptional

Existing file _id to overwrite (optional)

Example: 69aeb71ef8c5b278e3bab4e5
Responses
201

File uploaded successfully.

application/json
fileIdstringRequired

File identifier

Example: 67b8f31d2a26f8be2a9f0be9
filenamestringRequired

Saved file name

Example: file
contentTypestringRequired

Saved file content type

Example: application/json
post/artifacts/files

Last updated