List sync history for the tenant FLECS store
GET
/api/v1/flecs-store/sync-history
const url = 'http://localhost:3000/api/v1/flecs-store/sync-history?limit=example&offset=example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/v1/flecs-store/sync-history?limit=example&offset=example' \ --header 'X-API-Key: <X-API-Key>'Returns the sync history for the current organization’s FLECS marketplace store (newest first). Each entry includes the per-product breakdown of catalog products imported vs. skipped in that run, and why a product was skipped.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
required
string
offset
required
string
Responses
Section titled “ Responses ”Sync history returned successfully
Media type application/json
object
data
required
Array<object>
object
id
required
string
storeId
required
string
scope
required
string
organizationId
required
string
status
required
string
repositoriesFound
required
number
applicationsFound
required
number
applicationsImported
required
number
applicationsUpdated
required
number
errors
required
Array<string>
syncDurationMs
required
number
perRepository
required
Per-repository imported/updated breakdown for this run
Array<object>
object
repository
required
string
tagCount
required
number
found
required
number
imported
required
number
updated
required
number
errors
required
Array<string>
triggeredBy
required
User id (uuid) for manual runs, “scheduler” for cron, null when unknown
string
createdAt
required
string
total
required
number
hasMore
required
boolean
nextCursor
string
Example
{ "data": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "storeId": "550e8400-e29b-41d4-a716-446655440000", "scope": "flecs", "organizationId": "550e8400-e29b-41d4-a716-446655440000", "status": "success", "repositoriesFound": 10, "applicationsFound": 6, "applicationsImported": 4, "applicationsUpdated": 2, "errors": [], "syncDurationMs": 1234, "perRepository": [ { "repository": "catalog/com-example-gateway-app", "tagCount": 12, "found": 3, "imported": 1, "updated": 2, "errors": [] } ], "triggeredBy": "scheduler", "createdAt": "2026-06-08T12:34:56.000Z" } ], "total": 12, "hasMore": false}Unauthorized
Forbidden
Application service unavailable