diff --git a/docs/index.html b/docs/index.html index 6bbb5c2da..4c000838f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -481,11 +481,11 @@
-{- "customer": {
- "brands": [
- {
- "id": "new-brand",
- "name": "New Brand",
- "status": "active",
- "origin": "manual",
- "region": [
- "US"
], - "description": "A new brand",
- "vertical": "Software & Technology",
- "prompts": [ ]
}
]
}
}{- "message": "Customer configuration updated successfully",
- "stats": {
- "categories": {
- "total": 0,
- "modified": 0
}, - "topics": {
- "total": 0,
- "modified": 0
}, - "brands": {
- "total": 0,
- "modified": 0
}, - "prompts": {
- "total": 0,
- "modified": 0
}
}
}{- "customer": {
- "brands": [
- {
- "id": "new-brand",
- "name": "New Brand",
- "status": "active",
- "origin": "manual",
- "region": [
- "US"
], - "description": "A new brand",
- "vertical": "Software & Technology",
- "prompts": [ ]
}
]
}
}{- "message": "Customer configuration updated successfully",
- "stats": {
- "categories": {
- "total": 0,
- "modified": 0
}, - "topics": {
- "total": 0,
- "modified": 0
}, - "brands": {
- "total": 0,
- "modified": 0
}, - "prompts": {
- "total": 0,
- "modified": 0
}
}
}{- "customer": {
- "customerName": "Adobe",
- "imsOrgID": "1234567890ABCDEF@AdobeOrg",
- "categories": [
- {
- "id": "photoshop-photo-editing",
- "name": "Photo Editing",
- "status": "active",
- "origin": "ai",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system"
}
], - "topics": [
- {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
], - "brands": [
- {
- "id": "pending-adobe-photoshop",
- "v1SiteId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "name": "Adobe Photoshop",
- "status": "active",
- "origin": "ai",
- "region": [
- "GL",
- "US",
- "GB"
], - "description": "Adobe's flagship image editing software",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "vertical": "Software & Technology",
- "urls": [
- {
- "siteId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "type": "url",
- "regions": [
- "GL",
- "US",
- "GB"
]
}
], - "brandAliases": [
- {
- "name": "PS",
- "regions": [
- "US",
- "GB"
]
}
], - "competitors": [
], - "earnedContent": [
- {
- "name": "Wikipedia",
- "type": "encyclopedia",
- "coverage_scope": "product history and feature overview",
- "regions": [
- "GL"
]
}
], - "prompts": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "What is the best photo editing software for portraits?",
- "status": "active",
- "regions": [
- "us",
- "gb"
], - "origin": "ai",
- "source": "api",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "categoryId": "photoshop-photo-editing",
- "topicId": "photoshop-topic-1"
}
]
}
], - "availableVerticals": [
- "Software & Technology",
- "Professional Services"
]
}
}{- "customer": {
- "customerName": "Adobe",
- "imsOrgID": "1234567890ABCDEF@AdobeOrg",
- "categories": [
- {
- "id": "photoshop-photo-editing",
- "name": "Photo Editing",
- "status": "active",
- "origin": "ai",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system"
}
], - "topics": [
- {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
], - "brands": [
- {
- "id": "pending-adobe-photoshop",
- "v1SiteId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "name": "Adobe Photoshop",
- "status": "active",
- "origin": "ai",
- "region": [
- "GL",
- "US",
- "GB"
], - "description": "Adobe's flagship image editing software",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "vertical": "Software & Technology",
- "urls": [
- {
- "siteId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "type": "url",
- "regions": [
- "GL",
- "US",
- "GB"
]
}
], - "brandAliases": [
- {
- "name": "PS",
- "regions": [
- "US",
- "GB"
]
}
], - "competitors": [
], - "earnedContent": [
- {
- "name": "Wikipedia",
- "type": "encyclopedia",
- "coverage_scope": "product history and feature overview",
- "regions": [
- "GL"
]
}
], - "prompts": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "What is the best photo editing software for portraits?",
- "status": "active",
- "regions": [
- "us",
- "gb"
], - "origin": "ai",
- "source": "api",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "categoryId": "photoshop-photo-editing",
- "topicId": "photoshop-topic-1"
}
]
}
], - "availableVerticals": [
- "Software & Technology",
- "Professional Services"
]
}
}{- "topics": [
- {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
]
}{- "topics": [
- {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
]
}{- "prompts": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "What is the best photo editing software for portraits?",
- "status": "active",
- "regions": [
- "us",
- "gb"
], - "origin": "ai",
- "source": "api",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "categoryId": "photoshop-photo-editing",
- "topicId": "photoshop-topic-1",
- "brandId": "string",
- "brandName": "string",
- "category": {
- "id": "photoshop-photo-editing",
- "name": "Photo Editing",
- "status": "active",
- "origin": "ai",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system"
}, - "topic": {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
}
]
}{- "prompts": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "What is the best photo editing software for portraits?",
- "status": "active",
- "regions": [
- "us",
- "gb"
], - "origin": "ai",
- "source": "api",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system",
- "categoryId": "photoshop-photo-editing",
- "topicId": "photoshop-topic-1",
- "brandId": "string",
- "brandName": "string",
- "category": {
- "id": "photoshop-photo-editing",
- "name": "Photo Editing",
- "status": "active",
- "origin": "ai",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "system"
}, - "topic": {
- "id": "photoshop-topic-1",
- "name": "Photo Retouching",
- "status": "active",
- "categoryId": "photoshop-photo-editing"
}
}
]
}Returns a paginated list of prompts for the given brand. +Upsert uniqueness: match by id or by (text, regions).
+| spaceCatId required | string <uuid> SpaceCat Organization ID (UUID) + |
| brandId required | string Brand ID (UUID, config id, or brand name) + |
| limit | integer [ 1 .. 5000 ] Default: 100 Page size + |
| page | integer >= 1 Default: 1 Page number (1-based) + |
| categoryId | string Filter by category business key + |
| topicId | string Filter by topic business key + |
| status | string Enum: "active" "pending" "deleted" Filter by status; default excludes deleted + |
| search | string Free-text search across prompt text and name (ILIKE match) + |
| region | string Filter by region (matches prompts whose regions array contains this value) + |
| origin | string Enum: "ai" "human" Filter by origin (ai or human) + |
| sort | string Enum: "topic" "prompt" "category" "origin" "status" "updatedAt" Sort column. Default is updatedAt descending + |
| order | string Default: "desc" Enum: "asc" "desc" Sort direction. Default is desc + |
{- "items": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "string",
- "name": "string",
- "regions": [
- "string"
], - "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "string",
- "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5",
- "brandName": "string",
- "category": {
- "id": "string",
- "name": "string",
- "origin": "string"
}, - "topic": {
- "id": "string",
- "name": "string",
- "categoryId": "string"
}
}
], - "total": 0,
- "limit": 0,
- "page": 0
}Upserts prompts. Match by id or by (text, regions). If match found, update; else insert.
+| spaceCatId required | string <uuid> SpaceCat Organization ID (UUID) + |
| brandId required | string Brand ID (UUID, config id, or brand name) + |
| limit | integer [ 1 .. 5000 ] Default: 100 Page size + |
| page | integer >= 1 Default: 1 Page number (1-based) + |
| categoryId | string Filter by category business key + |
| topicId | string Filter by topic business key + |
| status | string Enum: "active" "pending" "deleted" Filter by status; default excludes deleted + |
| search | string Free-text search across prompt text and name (ILIKE match) + |
| region | string Filter by region (matches prompts whose regions array contains this value) + |
| origin | string Enum: "ai" "human" Filter by origin (ai or human) + |
| sort | string Enum: "topic" "prompt" "category" "origin" "status" "updatedAt" Sort column. Default is updatedAt descending + |
| order | string Default: "desc" Enum: "asc" "desc" Sort direction. Default is desc + |
| id | string Optional business key; auto-generated if omitted + |
| prompt required | string The search query prompt text + |
| name | string Display name (defaults to prompt slice) + |
| regions | Array of strings Default: [] |
| categoryId | string |
| topicId | string |
| status | string Default: "active" Enum: "active" "pending" "deleted" |
| origin | string Default: "human" Enum: "ai" "human" |
| source | string Default: "config" The source system or process that created the prompt + |
[- {
- "id": "string",
- "prompt": "string",
- "name": "string",
- "regions": [ ],
- "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config"
}
]{- "created": 0,
- "updated": 0,
- "prompts": [
- {
- "id": "photoshop-prompt-1",
- "prompt": "string",
- "name": "string",
- "regions": [
- "string"
], - "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "string",
- "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5",
- "brandName": "string",
- "category": {
- "id": "string",
- "name": "string",
- "origin": "string"
}, - "topic": {
- "id": "string",
- "name": "string",
- "categoryId": "string"
}
}
]
}| spaceCatId required | string <uuid> |
| brandId required | string |
| promptId required | string prompt_id (business key) + |
{- "id": "photoshop-prompt-1",
- "prompt": "string",
- "name": "string",
- "regions": [
- "string"
], - "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "string",
- "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5",
- "brandName": "string",
- "category": {
- "id": "string",
- "name": "string",
- "origin": "string"
}, - "topic": {
- "id": "string",
- "name": "string",
- "categoryId": "string"
}
}| spaceCatId required | string <uuid> |
| brandId required | string |
| promptId required | string prompt_id (business key) + |
| id | string Optional business key; auto-generated if omitted + |
| prompt required | string The search query prompt text + |
| name | string Display name (defaults to prompt slice) + |
| regions | Array of strings Default: [] |
| categoryId | string |
| topicId | string |
| status | string Default: "active" Enum: "active" "pending" "deleted" |
| origin | string Default: "human" Enum: "ai" "human" |
| source | string Default: "config" The source system or process that created the prompt + |
{- "id": "string",
- "prompt": "string",
- "name": "string",
- "regions": [ ],
- "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config"
}{- "id": "photoshop-prompt-1",
- "prompt": "string",
- "name": "string",
- "regions": [
- "string"
], - "categoryId": "string",
- "topicId": "string",
- "status": "active",
- "origin": "ai",
- "source": "config",
- "updatedAt": "2024-01-19T14:20:30Z",
- "updatedBy": "string",
- "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5",
- "brandName": "string",
- "category": {
- "id": "string",
- "name": "string",
- "origin": "string"
}, - "topic": {
- "id": "string",
- "name": "string",
- "categoryId": "string"
}
}Soft-deletes multiple prompts by setting their status to 'deleted'. +Uses POST instead of DELETE because the body-data middleware does not parse DELETE request bodies. +See ADR-001 for details.
+| spaceCatId required | string <uuid> SpaceCat Organization ID (UUID) + |
| brandId required | string Brand ID (UUID, config id, or brand name) + |
| promptIds required | Array of strings [ 1 .. 100 ] items Array of prompt business keys to soft-delete + |
{- "promptIds": [
- "string"
]
}{- "metadata": {
- "total": 0,
- "success": 0,
- "failure": 0
}, - "failures": [
- {
- "promptId": "string",
- "reason": "string"
}
]
}{- "siteId": "9ae8877a-bbf3-407d-9adb-d6a72ce3c5e3",
- "model": "gpt-4.1",
- "expiresAt": "2025-06-15T12:00:00.000Z"
}{- "siteId": "9ae8877a-bbf3-407d-9adb-d6a72ce3c5e3",
- "model": "gpt-4.1",
- "expiresAt": "2025-06-15T12:00:00.000Z"
}Returns a presigned S3 URL for downloading the summit demo brand presence fixture. +Used by the Opportunity Workspace summit demo to load static performance data +without bundling it in the UI.
+S3 key: workspace/llmo/demo/summit-demo-brand-presence.json
| siteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format + |
{- "expiresAt": "2026-06-15T12:00:00.000Z"
}Returns a presigned S3 URL for downloading the summit demo recommendations fixture. +Used by the Opportunity Workspace summit demo to load static recommendations data +without bundling it in the UI.
+S3 key: workspace/llmo/demo/summit-demo-recommendations.json
| siteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format + |
{- "expiresAt": "2026-06-15T12:00:00.000Z"
}{ }{ }{ }{ }{ }{ }{- "stagingDomains": [
- "staging.lovesac.com",
- "stage1.lovesac.com"
]
}[- {
- "domain": "staging.lovesac.com",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "apiKeys": [
- "string"
], - "tokowakaEnabled": true
}
]{- "stagingDomains": [
- "staging.lovesac.com",
- "stage1.lovesac.com"
]
}[- {
- "domain": "staging.lovesac.com",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "apiKeys": [
- "string"
], - "tokowakaEnabled": true
}
]{- "edgeOptimizeEnabled": true
}{- "edgeOptimizeEnabled": true
}{- "cdnType": "aem-cs-fastly",
- "enabled": true
}{- "enabled": true,
- "domain": "www.example.com",
- "cdnType": "aem-cs-fastly"
}{- "cdnType": "aem-cs-fastly",
- "enabled": true
}{- "enabled": true,
- "domain": "www.example.com",
- "cdnType": "aem-cs-fastly"
}{- "data": { },
- "version": "abc123def456"
}{- "data": { },
- "version": "abc123def456"
}{ }{- "version": "abc123def456",
- "notifications": {
- "sent": 0,
- "failed": 0,
- "skipped": 0,
- "changes": 0
}
}{ }{- "version": "abc123def456",
- "notifications": {
- "sent": 0,
- "failed": 0,
- "skipped": 0,
- "changes": 0
}
}Returns aggregated competitor mention/citation data for a site. +Internally performs two PostgREST queries: first discovers execution +dates from brand_presence_executions, then queries the +brand_vs_competitors_by_date view with those dates.
+| spaceCatId required | string <uuid> Organization ID (UUID) + |
| brandId required | string Brand UUID or 'all' for all brands + |
| siteId required | string <uuid> Site UUID (required) + |
| startDate | string <date> Start of date range (YYYY-MM-DD). Defaults to 28 days ago. + |
| endDate | string <date> End of date range (YYYY-MM-DD). Defaults to today. + |
| model | string Default: "chatgpt" LLM model name + |
| categoryName | string Filter by category name + |
| regionCode | string Filter by region code (e.g. US, EU) + |
{- "competitorData": [
- {
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5",
- "brandName": "string",
- "model": "string",
- "executionDate": "2019-08-24",
- "categoryName": "string",
- "regionCode": "string",
- "competitor": "string",
- "totalMentions": 0,
- "totalCitations": 0
}
]
}This endpoint retrieves all entitlements associated with a specific organization.
@@ -11089,7 +11343,7 @@ " class="sc-iKGpAq sc-cCYyou dXXcln cFvDiF">Production server
[- {
- "status": "NEW"
}
]{- "fixes": [
- {
- "index": 0,
- "statusCode": 0,
- "fix": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "opportunityId": "3d9795f2-7722-4e1d-b41e-0c5d0c24a902",
- "type": "REDIRECT_UPDATE",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedBy": "string",
- "executedAt": "2019-08-24T14:15:22Z",
- "publishedAt": "2019-08-24T14:15:22Z",
- "changeDetails": { },
- "status": "PENDING"
}
}
], - "metadata": {
- "total": 0,
- "success": 0,
- "failure": 0
}
}