Score Draft
score_draftPredict how a draft post will perform against the user's historical data. Uses an OLS regression model with detrending, ridge regularization, and recency weighting — the same model used on the /score page. Returns a predicted engagement percentile, projected engagement range, factor breakdown, similar past posts, and improvement suggestions. Free. Pass profile_id to scope to a tracked profile, collection_id to scope to a collection, or neither to score against the user's full library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hour | Yes | Planned hour (0-23, UTC) | |
| text | Yes | Draft post text | |
| format | No | Post format: text, image, video, document, article, or poll | text |
| profile_id | No | Optional tracked profile ID (scopes the model to this profile's posts) | |
| day_of_week | Yes | Planned day of week (0=Sunday, 6=Saturday, UTC) | |
| collection_id | No | Optional post_collections.id (scopes the model to this collection) |