Read or edit a design_template_list catalog artifact
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/"
payload = {
"slug": "<string>",
"action": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({slug: '<string>', action: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"action": "<string>"
}
'{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Projects
Read or edit a design_template_list catalog artifact
Invoke the design_template_list artifact tool. Body must include slug plus tool
kwargs (action=list|get|upsert|delete, …). Reads require view permission;
writes require admin.
POST
/
projects
/
{project_id}
/
read-write-design-template-list-artifact
/
Read or edit a design_template_list catalog artifact
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/"
payload = {
"slug": "<string>",
"action": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({slug: '<string>', action: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/read-write-design-template-list-artifact/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"action": "<string>"
}
'{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}