Export the artifact catalog
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/ \
--header 'Authorization: Bearer <token>'{
"artifacts": [
{
"slug": "<string>",
"versions": [
{
"version_number": 2,
"short_name": "<string>",
"change_summary": "<string>",
"payload": "<unknown>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"display_order": 123,
"group": "<string>",
"out_scoped_at": "2023-11-07T05:31:56Z",
"definition_short": "<string>",
"definition_long": "<string>"
}
],
"artifact_snapshots": [
{
"snapshot_type": "in_scope_latest",
"cohesion_guide_text": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}Artifacts
Export the artifact catalog
Export the full artifact catalog — artifact metadata, complete version history (payloads included), and snapshot settings — for migration to another project. Requires view permission.
GET
/
projects
/
{project_id}
/
artifacts
/
export-catalog
/
Export the artifact catalog
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/export-catalog/ \
--header 'Authorization: Bearer <token>'{
"artifacts": [
{
"slug": "<string>",
"versions": [
{
"version_number": 2,
"short_name": "<string>",
"change_summary": "<string>",
"payload": "<unknown>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"display_order": 123,
"group": "<string>",
"out_scoped_at": "2023-11-07T05:31:56Z",
"definition_short": "<string>",
"definition_long": "<string>"
}
],
"artifact_snapshots": [
{
"snapshot_type": "in_scope_latest",
"cohesion_guide_text": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}⌘I