curl -X POST https://api.raily.ai/v1/content \ -H "Authorization: Bearer raily_sk_xxxxx" \ -H "Content-Type: application/json" \ -d '{ "externalId": "article-123", "title": "Introduction to AI", "type": "article", "source": "https://example.com/articles/ai-intro", "policyId": "pol_premium", "metadata": { "author": "Jane Smith", "category": "Technology", "publishedAt": "2024-01-15", "wordCount": 2500 }, "tags": ["ai", "technology", "tutorial"] }'
{ "id": "cnt_abc123xyz", "object": "content", "externalId": "article-123", "title": "Introduction to AI", "type": "article", "source": "https://example.com/articles/ai-intro", "policyId": "pol_premium", "metadata": { "author": "Jane Smith", "category": "Technology", "publishedAt": "2024-01-15", "wordCount": 2500 }, "tags": ["ai", "technology", "tutorial"], "status": "active", "created": "2024-01-15T10:30:00Z", "updated": "2024-01-15T10:30:00Z" }
Register new content with Raily
article
report
image
dataset
video
Show child attributes
author
publishedAt
category
tags
wordCount
cnt_abc123xyz
content
active