Strategy
Actions, page wins, new pages, briefs and the Changes log, with writes for status, assignee and comments.
HTTPBearerAuthorizationBearer <token>scope?|nullstatus?|nullpage?|Only the recommendations of this page.
limit?Limit1 <= value <= 20050cursor?Cursor0 <= value0Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
recommendations*array<>total*Totalhas_more*Has Morenext_cursor*integer|nullcurl -X GET 'https://api.zued.ai/v1/recommendations'{ "recommendations": [ { "id": "string", "scope": "project", "page": { "id": "string", "url": "string" }, "title": "string", "description": "string", "steps": [ "string" ], "category": "string", "effort": "string", "impact": "string", "priority_score": 0, "priority": "string", "engines": [ "string" ], "evidence": [ "string" ], "urls": [ "string" ], "pattern": { "kind": "string", "description": "string", "pages": 0, "example_urls": [ "string" ], "recommendation": "string" }, "status": "open", "reason": "string", "published_url": "string", "assignee": { "id": "string", "name": "string", "email": "string" }, "comments": [ { "id": "string", "author": { "id": "string", "name": "string", "email": "string" }, "body": "string", "created_at": "string" } ], "first_seen_at": "string", "decided_at": "string", "outcome": { "figures": { "property1": { "before": 0, "after": 0, "delta": 0 }, "property2": { "before": 0, "after": 0, "delta": 0 } }, "pages_named": 0, "pages_measured": 0, "pages_changed": 0, "snapshots_since": 0, "pages": [ { "url": "string", "change_seen": "before_done", "change_week": "string", "words": 0, "baseline_week": "string", "latest_week": "string", "snapshots_since": 0, "figures": { "property1": { "before": 0, "after": 0, "delta": 0 }, "property2": { "before": 0, "after": 0, "delta": 0 } } } ] }, "generated_at": "string" } ], "total": 0, "has_more": true, "next_cursor": 0}HTTPBearerAuthorizationBearer <token>weeks?WeeksHow many of the newest completed weeks to return.
1 <= value <= 5212Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
definitions*weeks*array<>Newest week first.
snapshots_total*Snapshots TotalCompleted weeks the project has. 1 means no earlier week to compare with, which an empty list does not tell.
curl -X GET 'https://api.zued.ai/v1/changes'{ "definitions": { "property1": { "meaning": "string", "url": "string" }, "property2": { "meaning": "string", "url": "string" } }, "weeks": [ { "snapshot_id": "string", "week": "string", "pages_tracked": 0, "pages_changed": 0, "pages_unverifiable": 0, "changes": [ { "page_id": "string", "url": "string", "kind": "changed", "words": 0, "figures": { "property1": { "before": 0, "after": 0, "delta": 0 }, "property2": { "before": 0, "after": 0, "delta": 0 } }, "snapshots_since": 0, "done_actions": [ { "id": "string", "title": "string", "decided_at": "string" } ] } ] } ], "snapshots_total": 0}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
generated_at*|Null before the project's first strategy run.
summary*string|nullpatterns*array<>roadmap*The work in four phases: immediate_actions (this week), short_term_goals (2 to 4 weeks), medium_term_initiatives (1 to 3 months), long_term_vision (3 to 6 months).
new_pages*array<>curl -X GET 'https://api.zued.ai/v1/strategy'{ "generated_at": "string", "summary": "string", "patterns": [ { "kind": "string", "description": "string", "pages": 0, "example_urls": [ "string" ], "recommendation": "string" } ], "roadmap": { "property1": [ { "text": "string", "action_id": "string", "new_page": "string" } ], "property2": [ { "text": "string", "action_id": "string", "new_page": "string" } ] }, "new_pages": [ { "id": "string", "topic": "string", "rationale": "string", "audience": "string", "sections": [ "string" ], "evidence": [ "string" ], "link_from": [ "string" ], "type": "string", "priority": "string" } ]}HTTPBearerAuthorizationBearer <token>page_id*Page IduuidZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
page*generated_at*string|nullbrief*|Null when the page has no strategy yet, or its strategy holds no brief.
curl -X GET 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/brief'{ "page": { "id": "string", "url": "string" }, "generated_at": "string", "brief": { "page_type": "string", "topic": "string", "audiences": [ "string" ], "opening": { "clear": true, "current": "string", "missing": [ "string" ], "suggested": "string" }, "add": [ { "heading": "string", "placement": "string", "what_to_cover": [ "string" ], "format": "string", "why": "string", "evidence_needed": [ "string" ], "words": 0, "example_sentences": [ "string" ] } ], "rewrite": [ { "heading": "string", "problem": "string", "direction": "string", "evidence_needed": [ "string" ] } ], "move": [ { "heading": "string", "problem": "string", "action": "string" } ], "freshness": { "last_updated": "string", "outdated": [ "string" ], "priority": "string" } }}HTTPBearerAuthorizationBearer <token>limit?Limit1 <= value <= 20050cursor?Cursor0 <= value0Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
briefs*array<>Newest first.
total*Totalhas_more*Has Morenext_cursor*integer|nullcurl -X GET 'https://api.zued.ai/v1/briefs'{ "briefs": [ { "id": "string", "created_at": "string", "engines": [ "string" ], "questions_read": 0, "answers_read": 0, "working_title": "string", "question": "string", "criteria": [ "string" ], "recurring_claims": [ "string" ], "who_wins_and_why": [ "string" ], "rewarded_formats": [ "string" ], "sections": [ { "heading": "string", "what_to_cover": "string", "why": "string", "grounded": true } ], "what_would_make_it_win": "string", "published_url": "string", "published_at": "string", "page_id": "string" } ], "total": 0, "has_more": true, "next_cursor": 0}HTTPBearerAuthorizationBearer <token>action_id*Action IdZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
status*Status"open""done""parked"reason?|Why it is parked or done. Needed with status parked. Opening it again clears it.
note?|nullpublished_url?|For a new page marked done: the address it went live at. Kept on a done recommendation only.
Successful Response
application/json- response
id*Idstatus*Status"open""done""parked"reason*string|nullnote*string|nullpublished_url*string|nulldecided_at*string|nullcurl -X PATCH 'https://api.zued.ai/v1/recommendations/string' \ -H 'Content-Type: application/json' \ -d '{ "status": "open"}'{ "id": "string", "status": "open", "reason": "string", "note": "string", "published_url": "string", "decided_at": "string"}HTTPBearerAuthorizationBearer <token>action_id*Action IdZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
assignee_id*|A member's id, as GET /v1/project lists them. Null takes the assignment away.
Successful Response
application/json- response
id*Idassignee*|nullcurl -X PATCH 'https://api.zued.ai/v1/recommendations/string/assignee' \ -H 'Content-Type: application/json' \ -d '{ "assignee_id": "e209ca2d-190b-4818-b659-67d4ef4f1ce8"}'{ "id": "string", "assignee": { "id": "string", "name": "string", "email": "string" }}HTTPBearerAuthorizationBearer <token>action_id*Action IdZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
body*Body1 <= length <= 2000Successful Response
application/json- response
id*Idauthor*|Null when the author's account was deleted.
body*Bodycreated_at*Created Atcurl -X POST 'https://api.zued.ai/v1/recommendations/string/comments' \ -H 'Content-Type: application/json' \ -d '{ "body": "string"}'{ "id": "string", "author": { "id": "string", "name": "string", "email": "string" }, "body": "string", "created_at": "string"}