Regenerate the store map
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/regenerate/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/regenerate/', 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}/artifacts/store-map/regenerate/ \
--header 'Authorization: Bearer <token>'{
"store_map_axes": "<string>",
"store_map_axes_mode": "default",
"plan_text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}Artifacts
Regenerate the store map
Regenerate the store map synchronously and return it; custom parts are left
untouched. Call it after a catalog import. Requires admin permission.
POST
/
projects
/
{project_id}
/
artifacts
/
store-map
/
regenerate
/
Regenerate the store map
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/regenerate/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/regenerate/', 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}/artifacts/store-map/regenerate/ \
--header 'Authorization: Bearer <token>'{
"store_map_axes": "<string>",
"store_map_axes_mode": "default",
"plan_text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Path Parameters
UUID of the project
Response
Store map after regeneration
What the store is organized by; empty when mode is default.
Maximum string length:
2000Available options:
default, generated, custom The plan agents see (curator view), computed live from the catalog.