{"openapi":"3.1.0","info":{"title":"Storylayer API","version":"1.3.0","description":"AI-native multi-channel publishing API. Create, schedule, and publish to Instagram, Facebook, X, LinkedIn, Pinterest, and Ghost.","contact":{"name":"Storylayer","url":"https://storylayer.ai","email":"support@storylayer.ai"}},"servers":[{"url":"https://storylayer.ai","description":"Production"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"sl_pat","description":"Personal Access Token (sl_pat_…) or OAuth access token (sl_oat_…) from Dashboard → Developers"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","examples":["insufficient_scope","unauthorized","validation_error"]},"message":{"type":"string"}},"required":["code","message"]}}},"HealthResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"user_id":{"type":"string","format":"uuid"},"project_id":{"type":"string","format":"uuid","nullable":true},"scopes":{"type":"array","items":{"type":"string"}},"server_time":{"type":"string","format":"date-time"}}},"Slide":{"type":"object","properties":{"media_url":{"type":"string","format":"uri"},"alt_text":{"type":"string"},"caption_overlay":{"type":"string"},"swipe_through_url":{"type":"string","format":"uri"}},"required":["media_url"]},"CreateStoryRequest":{"type":"object","required":["caption"],"properties":{"projectId":{"type":"string","format":"uuid","description":"Required when token is user-scoped"},"title":{"type":"string"},"caption":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["instagram","facebook","x","linkedin","pinterest","ghost","threads"]},"default":["instagram"]},"hashtags":{"type":"string","description":"Space-separated hashtags"},"media_url":{"type":"string","format":"uri"},"media_urls":{"type":"array","items":{"type":"string","format":"uri"}},"slides":{"type":"array","items":{"$ref":"#/components/schemas/Slide"},"minItems":1,"maxItems":10},"post_type":{"type":"string","enum":["single","carousel","reel","story"]},"scheduled_at":{"type":"string","format":"date-time","description":"ISO 8601 with offset"},"scheduled_at_local":{"type":"string","description":"Local time without offset, e.g. 2026-06-18T09:00:00"},"timezone":{"type":"string","description":"IANA timezone, e.g. America/New_York"},"channel_overrides":{"type":"object","additionalProperties":true}},"examples":[{"projectId":"00000000-0000-0000-0000-000000000001","caption":"New listing at 14B Vine Street — 3 bed, mountain views.","channels":["instagram","facebook"],"media_url":"https://cdn.example.com/listing.jpg","scheduled_at_local":"2026-06-19T09:00:00","timezone":"America/Denver"}]},"Story":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"project_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["draft","scheduled","published","failed","archived","cancelled"]},"caption":{"type":"string"},"channels":{"type":"array","items":{"type":"string"}},"scheduled_at":{"type":"string","format":"date-time","nullable":true},"published_url":{"type":"string","format":"uri","nullable":true},"published_urls":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}},"CreateStoryResponse":{"type":"object","properties":{"story":{"$ref":"#/components/schemas/Story"},"enqueue":{"type":"object"},"links":{"type":"object","properties":{"dashboard_url":{"type":"string","format":"uri"},"preview_url":{"type":"string","format":"uri"}}}}},"BulkCreateRequest":{"type":"object","required":["stories"],"properties":{"stories":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/CreateStoryRequest"}}}},"CreateWebhookRequest":{"type":"object","required":["url","events"],"properties":{"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["story.scheduled","story.published","story.published_late","story.failed","story.skipped","moment.detected","moment.auto_drafted","ping"]},"minItems":1},"description":{"type":"string"},"project_id":{"type":"string","format":"uuid"}},"examples":[{"url":"https://hooks.example.com/storylayer","events":["story.published","story.failed"],"description":"Notify CRM on publish"}]},"WebhookEndpoint":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"},"signing_secret":{"type":"string","description":"Returned once on create only"}}},"RequestUploadUrlRequest":{"type":"object","required":["project_id","filename","content_type"],"properties":{"project_id":{"type":"string","format":"uuid"},"filename":{"type":"string"},"content_type":{"type":"string","enum":["image/jpeg","image/png","image/webp","video/mp4"]}}},"UploadUrlResponse":{"type":"object","properties":{"upload_url":{"type":"string","format":"uri"},"file_url":{"type":"string","format":"uri"},"expires_at":{"type":"string","format":"date-time"}}},"GenerateCaptionRequest":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"channel":{"type":"string","enum":["instagram","facebook","x","linkedin","pinterest","ghost","threads"]},"topic":{"type":"string"},"tone":{"type":"string","enum":["casual","professional","urgent","inspiring","playful"]}}},"Project":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"industry":{"type":"string","nullable":true},"timezone":{"type":"string","nullable":true}}},"ProjectListResponse":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/Project"}}}},"SocialConnection":{"type":"object","properties":{"channel":{"type":"string","enum":["instagram","facebook","x","linkedin","pinterest","ghost","threads"]},"connected":{"type":"boolean"},"account_name":{"type":"string","nullable":true}}},"SocialConnectionListResponse":{"type":"object","properties":{"connections":{"type":"array","items":{"$ref":"#/components/schemas/SocialConnection"}}}},"StoryListResponse":{"type":"object","properties":{"stories":{"type":"array","items":{"$ref":"#/components/schemas/Story"}}}},"PublishResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"story_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"scheduled_at":{"type":"string","format":"date-time","nullable":true},"queue_items":{"type":"array","items":{"type":"object"}}}},"QueueItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"story_id":{"type":"string","format":"uuid"},"channel":{"type":"string"},"status":{"type":"string","enum":["pending","approved","posted","failed","rejected"]},"scheduled_at":{"type":"string","format":"date-time","nullable":true}}},"AnalyticsResponse":{"type":"object","properties":{"totals":{"type":"object","additionalProperties":true},"by_channel":{"type":"array","items":{"type":"object"}}}},"TemplateListResponse":{"type":"object","properties":{"templates":{"type":"array","items":{"type":"object"}}}},"MediaListResponse":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object"}}}},"WebhookListResponse":{"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"AutomationListResponse":{"type":"object","properties":{"automations":{"type":"array","items":{"type":"object"}}}},"ConnectorListResponse":{"type":"object","properties":{"connectors":{"type":"array","items":{"type":"object"}}}},"CaptionResponse":{"type":"object","properties":{"caption":{"type":"string"},"hashtags":{"type":"string"},"channel":{"type":"string"}}},"MomentListResponse":{"type":"object","properties":{"moments":{"type":"array","items":{"type":"object"}}}},"QueueListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/QueueItem"}}}}}},"paths":{"/api/v1/health":{"get":{"operationId":"healthCheck","summary":"API health and token introspection","description":"API health and token introspection","tags":["System"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-mcp-tool":"whoami"}},"/api/v1/projects":{"get":{"operationId":"listProjects","summary":"List projects","description":"List projects","tags":["Projects"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"projects:read","x-mcp-tool":"list_projects"}},"/api/v1/projects/{id}":{"get":{"operationId":"getProject","summary":"Get a project","description":"Get a project","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"projects:read","x-mcp-tool":"list_projects"}},"/api/v1/templates":{"get":{"operationId":"listTemplates","summary":"List saved templates","description":"List saved templates","tags":["Templates"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"templates:read","x-mcp-tool":"list_templates"}},"/api/v1/stories":{"get":{"operationId":"listStories","summary":"List stories","description":"List stories","tags":["Stories"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:read","x-mcp-tool":"list_stories"},"post":{"operationId":"createStory","summary":"Create a story","description":"Create a story","tags":["Stories"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStoryRequest"}}}},"security":[{"bearerAuth":[]}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStoryResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:write","x-mcp-tool":"create_story"}},"/api/v1/stories/bulk":{"post":{"operationId":"createStoriesBulk","summary":"Bulk create up to 50 stories","description":"Bulk create up to 50 stories","tags":["Stories"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateRequest"}}}},"security":[{"bearerAuth":[]}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:write","x-mcp-tool":"create_stories_bulk"}},"/api/v1/stories/{id}":{"get":{"operationId":"getStory","summary":"Get a story","description":"Get a story","tags":["Stories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Story"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:read","x-mcp-tool":"get_story"}},"/api/v1/stories/{id}/preview":{"get":{"operationId":"previewStory","summary":"Per-channel preview","description":"Per-channel preview","tags":["Stories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Story"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:read","x-mcp-tool":"preview_story"}},"/api/v1/stories/{id}/schedule":{"post":{"operationId":"scheduleStory","summary":"Schedule a story","description":"Schedule a story","tags":["Stories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:publish","x-mcp-tool":"schedule_story"}},"/api/v1/stories/{id}/publish":{"post":{"operationId":"publishStory","summary":"Publish a story","description":"Publish a story","tags":["Stories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:publish","x-mcp-tool":"publish_story"}},"/api/v1/stories/reconcile":{"get":{"operationId":"getStorySyncReport","summary":"Report stories that disagree between API and dashboard","description":"Report stories that disagree between API and dashboard","tags":["Stories"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:read"},"post":{"operationId":"reconcileStories","summary":"Repair API/dashboard divergence for a project","description":"Repair API/dashboard divergence for a project","tags":["Stories"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:write"}},"/api/v1/stories/{id}/resync":{"post":{"operationId":"resyncStory","summary":"Re-mirror one story into the dashboard queue","description":"Re-mirror one story into the dashboard queue","tags":["Stories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"stories:write"}},"/api/v1/moments":{"get":{"operationId":"listMoments","summary":"List detected moments","description":"List detected moments","tags":["Moments"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MomentListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"moments:read","x-mcp-tool":"list_moments"}},"/api/v1/social-connections":{"get":{"operationId":"listSocialConnections","summary":"List connected channels","description":"List connected channels","tags":["Channels"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialConnectionListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"connections:read","x-mcp-tool":"list_social_connections"}},"/api/v1/media":{"get":{"operationId":"listMedia","summary":"List brand assets","description":"List brand assets","tags":["Media"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:read","x-mcp-tool":"list_media"},"post":{"operationId":"uploadMedia","summary":"Upload or register media","description":"Upload or register media","tags":["Media"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write","x-mcp-tool":"upload_media"}},"/api/v1/media/upload-url":{"post":{"operationId":"requestUploadUrl","summary":"Mint presigned upload URL","description":"Mint presigned upload URL","tags":["Media"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestUploadUrlRequest"}}}},"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadUrlResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write","x-mcp-tool":"request_upload_url"}},"/api/v1/media/uploads/{token}":{"put":{"operationId":"putPresignedUpload","summary":"Upload bytes to presigned URL","description":"Upload bytes to presigned URL","tags":["Media"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"getPresignedUpload","summary":"Inspect presigned upload intent","description":"Inspect presigned upload intent","tags":["Media"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/media/upload-url/{id}":{"get":{"operationId":"getUploadIntent","summary":"Inspect upload intent by id","description":"Inspect upload intent by id","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:read"},"delete":{"operationId":"deleteUploadIntent","summary":"Abort upload intent","description":"Abort upload intent","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write"}},"/api/v1/media/upload-sessions":{"post":{"operationId":"createUploadSession","summary":"Open chunked upload session","description":"Open chunked upload session","tags":["Media"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write"}},"/api/v1/media/upload-sessions/{id}/chunks":{"post":{"operationId":"appendUploadChunk","summary":"Append upload chunk","description":"Append upload chunk","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write"}},"/api/v1/media/upload-sessions/{id}/finalize":{"post":{"operationId":"finalizeUploadSession","summary":"Finalize chunked upload","description":"Finalize chunked upload","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write"}},"/api/v1/media/upload-sessions/{id}":{"get":{"operationId":"getUploadSession","summary":"Inspect upload session","description":"Inspect upload session","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:read"},"delete":{"operationId":"deleteUploadSession","summary":"Abort upload session","description":"Abort upload session","tags":["Media"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"media:write"}},"/api/v1/webhooks":{"get":{"operationId":"listWebhooks","summary":"List webhooks","description":"List webhooks","tags":["Webhooks"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:read","x-mcp-tool":"list_webhooks"},"post":{"operationId":"createWebhook","summary":"Create webhook","description":"Create webhook","tags":["Webhooks"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"security":[{"bearerAuth":[]}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:write","x-mcp-tool":"create_webhook"}},"/api/v1/webhooks/{id}":{"get":{"operationId":"getWebhook","summary":"Get webhook","description":"Get webhook","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:read"},"patch":{"operationId":"updateWebhook","summary":"Update webhook","description":"Update webhook","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:write"},"delete":{"operationId":"deleteWebhook","summary":"Delete webhook","description":"Delete webhook","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:write"}},"/api/v1/webhooks/{id}/test":{"post":{"operationId":"testWebhook","summary":"Send test.ping","description":"Send test.ping","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:write"}},"/api/v1/webhooks/{id}/deliveries":{"get":{"operationId":"listWebhookDeliveries","summary":"List webhook deliveries","description":"List webhook deliveries","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"webhooks:read"}},"/api/v1/analytics":{"get":{"operationId":"getAnalytics","summary":"Post performance analytics","description":"Post performance analytics","tags":["Analytics"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"analytics:read"}},"/api/v1/captions":{"post":{"operationId":"generateCaption","summary":"Generate AI captions","description":"Generate AI captions","tags":["AI"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCaptionRequest"}}}},"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"captions:write","x-mcp-tool":"create_story"}},"/api/v1/connectors":{"get":{"operationId":"listConnectors","summary":"List data connectors","description":"List data connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"connectors:read"},"post":{"operationId":"testConnector","summary":"Test a data connector","description":"Test a data connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"connectors:read"}},"/api/v1/automations":{"get":{"operationId":"listAutomations","summary":"List automations","description":"List automations","tags":["Automations"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"automations:read"},"post":{"operationId":"createAutomation","summary":"Create automation","description":"Create automation","tags":["Automations"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"automations:write"}},"/api/v1/queue":{"get":{"operationId":"listQueue","summary":"List content queue","description":"List content queue","tags":["Queue"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"queue:read","x-mcp-tool":"list_stories"}},"/api/v1/recommendations":{"get":{"operationId":"getRecommendations","summary":"AI content recommendations","description":"AI content recommendations","tags":["AI"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-scope":"recommendations:read"}}},"externalDocs":{"description":"Full API reference","url":"https://storylayer.ai/docs/api"},"x-mcp-endpoint":"https://storylayer.ai/api/mcp","x-mcp-server-card":"https://storylayer.ai/.well-known/mcp.json","x-ard-catalog":"https://storylayer.ai/.well-known/ai-catalog.json","x-agent-quickstart":"https://storylayer.ai/.well-known/agent-quickstart.md","x-gpt-instructions":"https://storylayer.ai/.well-known/gpt-instructions.md"}