Artifacts
Files and documents attached to policies and policy blocks.
Returns all artifacts.
Artifact identifier
69aeb71ef8c5b278e3bab4e5Tool|Policy
Policy identifier
69aeb71ef8c5b278e3bab4e5Tool identifier
69aeb71ef8c5b278e3bab4e5The number of pages to skip before starting to collect the result set
0The numbers of items to return
20Successful operation.
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/artifacts HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"createDate": "2026-03-16T09:31:27.902Z",
"updateDate": "2026-03-16T09:31:28.042Z",
"uuid": "dcc46b7b-3bb8-4a60-8e5b-f7b17ae76d1e",
"policyId": "69b7cdefa48bb15eb7afb3e7",
"name": "region_emission_factors",
"type": "JSON",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8145348",
"extention": "json",
"creator": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8145348",
"id": "69b7cdefa48bb15eb7afb3e5"
},
{
"createDate": "2026-03-16T09:31:27.898Z",
"updateDate": "2026-03-16T09:31:28.042Z",
"uuid": "ba6f7bc5-0f91-46a5-a681-1658f93a1b68",
"policyId": "69b7cdefa48bb15eb7afb3e7",
"name": "country_emission_factors",
"type": "JSON",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8145348",
"extention": "json",
"creator": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8145348",
"id": "69b7cdefa48bb15eb7afb3e3"
}
]Upload artifact. For users with the Standard Registry role only.
Parent ID
69aeb71ef8c5b278e3bab4e5Artifact files
Artifacts uploaded successfully.
2026-03-19T11:23:34.247Z2026-03-19T11:23:34.247Z9db028d2-03ad-4d49-a178-cf4b67f8c14769aeb71ef8c5b278e3bab4e5country_emission_factorsJSONPossible values: did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599jsonpolicyPossible values: did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.820059969aeb71ef8c5b278e3bab4e5Bad request.
Unauthorized request.
Forbidden
Unprocessable entity.
Internal server error.
POST /api/v1/artifacts/{parentId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 31
{
"artifacts": [
"<binary file>"
]
}[
{
"createDate": "2026-03-19T14:43:45.250Z",
"updateDate": "2026-03-19T14:43:45.250Z",
"uuid": "d5fc05d5-efc8-4b00-80d7-020374361452",
"policyId": "69ba978163637d350db5b56f",
"name": "1_profile_preset",
"type": "JSON",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8145348",
"extention": "json",
"category": "policy",
"id": "69bc0ba1f6b2fa8ae50f2ec9"
}
]Delete artifact.
Artifact ID
69aeb71ef8c5b278e3bab4e5Successful operation.
Unauthorized request.
Forbidden
Internal server error.
DELETE /api/v1/artifacts/{artifactId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueReturns file from GridFS by its identifier.
File identifier
69aeb71ef8c5b278e3bab4e5Successful operation. Returns file content.
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/artifacts/files/{fileId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryDeletes file from GridFS by _id
File identifier
69aeb71ef8c5b278e3bab4e5Successful operation.
Bad request.
Unauthorized request.
Forbidden
Internal server error.
DELETE /api/v1/artifacts/files/{fileId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueUploads/overwrites file in GridFS
Existing file _id to overwrite (optional)
69aeb71ef8c5b278e3bab4e5File uploaded successfully.
File identifier
67b8f31d2a26f8be2a9f0be9Saved file name
fileSaved file content type
application/jsonBad request.
Unauthorized request.
Forbidden
Unprocessable entity.
Internal server error.
POST /api/v1/artifacts/files HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 53
{
"file": "binary",
"fileId": "69aeb71ef8c5b278e3bab4e5"
}{
"fileId": "69bc1d9df6b2fa8ae50f2edc",
"filename": "file",
"contentType": "application/json"
}Last updated