{"openapi":"3.1.0","info":{"title":"Skryvo API","summary":"Write, design and publish posts and articles for a person's brands.","description":"Skryvo writes, designs and publishes posts and articles for a person's brands. This API\ngives a script, an automation or an AI agent the same account the person uses in the app: their\nbrands, connected channels, plan limits and calendar.\n\n**Authentication.** Send `Authorization: Bearer <token>` on every call. The token is either a\npersonal API key (`sk_skryvo_…`, made in Settings › API & agents, shown once) or an OAuth access\ntoken (`sko_…`) from the sign-in flow described under `oauth`. A key acts in the workspace it was\nmade in.\n\n**Times** are ISO 8601. A time without an offset is read in the calendar's own time zone, and every\npost moves to the calendar's next quarter hour.\n\n**Spending.** Calls that write or design spend the person's monthly generations or picture credits.\nA call that would guess the platforms, pictures or another choice the person did not make returns\n`status: confirm` with each setting, where it came from, the cost and what is left, and writes\nnothing; call again with `confirmed: true` once the person agrees. A cost the balance cannot cover\nis refused before anything is spent.\n\n**Errors.** A refusal is HTTP 422 with `{\"detail\": \"<a sentence to show the person>\"}`; a request\nthat fails validation is 422 with `details` per field. 401 means the key or token no longer works,\n403 that the person's team role does not allow the call, and 429 that it sent more than 60 requests a minute or 1000 an hour with one key or token\n(wait the seconds in `Retry-After`). That is the only rate limit on this API; what a call may\nspend is the plan's monthly allowance, refused with 422 when it runs out.\n\n**Webhooks.** Instead of polling, register an HTTPS endpoint under Webhooks and Skryvo POSTs each\nevent to it, signed with the endpoint's secret.","termsOfService":"https://skryvo.ai/terms","contact":{"name":"Skryvo support","url":"https://skryvo.ai/","email":"support@skryvo.ai"},"version":"1.0.0"},"servers":[{"url":"https://api.skryvo.ai"}],"paths":{"/api/v1/agent/me":{"get":{"tags":["Account"],"summary":"Who this key belongs to","operationId":"me","responses":{"200":{"description":"Who this key belongs to","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"},"example":{"email":"sam@example.com","plan":"pro"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The email of the account the key or token acts for, and its plan."}},"/api/v1/agent/brands":{"get":{"tags":["Brands"],"summary":"List brands","operationId":"brands","responses":{"200":{"description":"List brands","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Brands"},"example":{"brands":[{"id":"bv_3c9d0e","name":"Northside Coffee","is_default":true}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The person's brands: id, name and whether it is the default. In a team workspace an editor also sees whether a brand's posts wait for approval."},"post":{"tags":["Brands"],"summary":"Add a brand from its website","operationId":"add_brand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddBrandRequest"},"example":{"name":"Northside Coffee","website":"https://northside.coffee"}}},"required":true},"responses":{"202":{"description":"Add a brand from its website","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandAdded"},"example":{"id":"bv_7a1f22","name":"Northside Coffee","status":"reading the site"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Adds a brand and reads its voice, colours, fonts, logo and facts from its website. It runs in the background for a few minutes, then the brand appears in the list. Uses one of the month's brand readings; plans limit how many brands an account holds."}},"/api/v1/agent/channels":{"get":{"tags":["Channels"],"summary":"List connected channels","operationId":"channels","responses":{"200":{"description":"List connected channels","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channels"},"example":{"channels":[{"id":"conn_8f2e1a","platform":"linkedin","name":"Northside Coffee","brand_ids":["bv_3c9d0e"],"kind":"social","needs_reconnect":false,"can":{"takes":"posts","words":3000,"title":null,"media_required":"none","pictures":true,"video":{"most_bytes":524288000,"shortest_seconds":3,"longest_seconds":1800},"thread_posts":1,"poll":true,"comments":true,"link":"in the words","options":{"as_document":{"type":"boolean"}},"must_choose":[]}}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The accounts the person connected: id, platform, name, the brands that use it, social or blog, whether it needs reconnecting, and `can`: what it takes (word limit, required media, video limits, thread length, polls, comments, how a link appears, its own post options and what the person must choose on every post). Read `can` at run time rather than hard-coding a platform's rules."}},"/api/v1/agent/design":{"get":{"tags":["Brands"],"summary":"Read a brand's design","operationId":"design","parameters":[{"name":"brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand Id"},"description":"A brand's id; omitted, the default brand."}],"responses":{"200":{"description":"Read a brand's design","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Design"},"example":{"brand_id":"bv_3c9d0e","name":"Northside Coffee","logo_url":"https://media.skryvo.ai/brands/b1/logo.png","colours":{"primary":"#1F3A2E","accent":"#E8A33D","surface":"#FAF6EF"},"fonts":{"heading":"Fraunces","body":"Inter"},"look":{"state":"done","round":1,"verb":"","direction":"","design":null,"drawn":{},"left":1,"cost":0,"kept":true,"posts":[{"kind":"quote","url":"https://media.skryvo.ai/looks/b1/post-1.jpg","line":"Good coffee, close to home","round":1,"photo":true}]},"readiness":{"logo":true,"colours":3,"fonts":true,"shots":[{"key":"counter","label":"Your counter","tip":"In daylight","have":true}]},"changes":["closer","bolder","calmer","photo"]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"A brand's design as data: logo, colour roles, fonts, the look its pictures keep (three designed posts every new picture follows, the changes left and whether it is kept) and what would make its designs better."}},"/api/v1/agent/design/look":{"post":{"tags":["Brands"],"summary":"Design or keep a brand's look","operationId":"change_look","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookChangeRequest"},"example":{"change":"bolder","brand_id":"bv_3c9d0e"}}},"required":true},"responses":{"200":{"description":"Design or keep a brand's look","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookChanged"},"example":{"look":{"state":"making","round":1,"verb":"","direction":"","design":null,"drawn":{},"left":1,"cost":0,"kept":false,"posts":[]}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"`design` draws a brand's first three posts; `closer` (to its website), `bolder`, `calmer` or `photo` (another of its photos) draw them again, at most twice and free; `keep` makes the look on show the one every new picture wears. A design takes about two minutes and shows in the brand's design once it lands. Admins and owners only."}},"/api/v1/agent/drafts":{"post":{"tags":["Posts"],"summary":"Write posts","operationId":"write_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WritePostRequest"},"example":{"topic":"Our new studio opens Saturday","platforms":["linkedin","x"],"tone":"friendly","pictures":false,"confirmed":true}}},"required":true},"responses":{"200":{"description":"Write posts","content":{"application/json":{"schema":{"discriminator":{"mapping":{"confirm":"#/components/schemas/PostsToConfirm","written":"#/components/schemas/PostsWritten"},"propertyName":"status"},"oneOf":[{"$ref":"#/components/schemas/PostsToConfirm"},{"$ref":"#/components/schemas/PostsWritten"}]},"example":{"status":"written","topic":"Our new studio opens Saturday","brand_id":"bv_3c9d0e","generation_id":"gen_5d1c9a","posts":[{"platform":"linkedin","text":"Our new studio opens this Saturday in Leeds. #coffee","hashtags":["coffee"]}],"settings":[{"field":"platforms","value":["linkedin","x"],"from":"brand"},{"field":"tone","value":"friendly","from":"you"},{"field":"pictures","value":true,"from":"Skryvo default"}],"differs_from_brand":[{"field":"tone","value":"friendly","brand_default":"professional"}]}}}},"202":{"description":"Accepted: the answer is posted to `callback_url`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAccepted"},"example":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","status":"running","secret":"whsec_Q2x…","poll_url":"https://api.skryvo.ai/api/v1/agent/jobs/job_5e4d3c2b1a09f8e7d6c5b4a3"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Writes a post about `topic` for up to four platforms in the brand's own voice. Pass only what the person said. When platforms or pictures were left out, the call writes nothing and returns `status: confirm` with every setting, where it came from (`you`, `brand`, `brand profile`, `Skryvo default`), the cost and what is left; call again with the person's final values and `confirmed: true`. One generation for the whole batch, plus picture credits when pictures are on. Nothing is scheduled.\n\nWith `callback_url` the call answers 202 at once with a job; the work runs as it would have, charged and refunded the same way, and its answer (or refusal) is posted to `callback_url` as `job.done` or `job.failed`, signed with the job's `secret` like a webhook and retried the same way. `GET /jobs/{job_id}` reads it meanwhile."}},"/api/v1/agent/pictures":{"post":{"tags":["Posts"],"summary":"Design a picture for a post","operationId":"design_picture","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PictureRequest"},"example":{"text":"Our new studio opens this Saturday in Leeds.","platforms":["linkedin","instagram"],"direction":"warmer"}}},"required":true},"responses":{"200":{"description":"Design a picture for a post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pictures"},"example":{"brand_id":"bv_3c9d0e","headline":"Our new studio opens Saturday","pictures":[{"platform":"linkedin","image_url":"https://media.skryvo.ai/images/u1/p-1200.jpg","width":1200,"height":1200}],"credits_used":4,"credits_left":176}}}},"202":{"description":"Accepted: the answer is posted to `callback_url`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAccepted"},"example":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","status":"running","secret":"whsec_Q2x…","poll_url":"https://api.skryvo.ai/api/v1/agent/jobs/job_5e4d3c2b1a09f8e7d6c5b4a3"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Designs one picture for a post in the brand's kept look (its colours, type, logo and own photos), with a copy sized for each platform. The post's opening line is set on the picture unless `headline` (up to nine words) is given. `direction` carries the person's own words, such as warmer or calmer; `photo_id` picks one of the brand's photos. Takes about a minute and spends one picture's credits for each page shape the platforms need. The brand must have kept a look first. Nothing is scheduled.\n\nWith `callback_url` the call answers 202 at once with a job; the work runs as it would have, charged and refunded the same way, and its answer (or refusal) is posted to `callback_url` as `job.done` or `job.failed`, signed with the job's `secret` like a webhook and retried the same way. `GET /jobs/{job_id}` reads it meanwhile."}},"/api/v1/agent/results":{"get":{"tags":["Results"],"summary":"How published posts did","operationId":"results","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"},"description":"7, 30 or 90; any other value reads 30."},{"name":"brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand Id"},"description":"A brand's id; omitted, the default brand."}],"responses":{"200":{"description":"How published posts did","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Results"},"example":{"days":30,"as_of":"2026-11-23T06:00:00+00:00","totals":{"posts":24,"measured":22,"unmeasured":0,"reach":18200,"engagements":640,"clicks":120,"rate":0.0352},"previous_totals":{"posts":20,"measured":20,"unmeasured":0,"reach":15100,"engagements":480,"clicks":90,"rate":0.0318},"channels":[{"platform":"linkedin","access":"ok","posts":12,"measured":12,"unmeasured":0,"reach":11000,"engagements":420,"clicks":80,"rate":0.0382}],"best_times":[{"platform":"linkedin","time":"09:00","rate":0.051,"lift":0.34,"posts":5,"of":12}],"findings":[{"kind":"hook","text":"Posts that open with a question get 40% more engagement than your other posts.","lift":0.4,"sample":"6 posts vs 16 others · 30 days","postIds":["pub_1a2b"],"action":{"type":"write_like","hint":"open with a question"}}],"top_posts":[]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The last 7, 30 or 90 days of published posts: totals against the period before, reach, engagements and clicks per channel, the best times to post, what stood out and the top ten posts."}},"/api/v1/agent/posts":{"post":{"tags":["Posts"],"summary":"Schedule a post","operationId":"schedule_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePostRequest"},"example":{"text":"Our new studio opens this Saturday in Leeds. Come say hello.","channel_ids":["conn_8f2e1a"],"at":"2026-11-24T09:00:00+00:00","image_url":"https://media.skryvo.ai/images/u1/p-1200.jpg"}}}},"responses":{"201":{"description":"Schedule a post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Posts"},"example":{"posts":[{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"scheduled","reason":null,"awaiting_approval":false,"reviewer_approval":null,"auto_publish":true,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":null,"posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Schedules one post to each social channel; Skryvo publishes it at its time and reads it back to confirm it went live. `at` is moved to the calendar's next quarter hour; omitted, about five minutes from now. `image_url` gives every channel one picture, `images` gives a channel its own, and `by_channel` gives a channel its own words, picture, video, title, options, thread, poll and comments. A channel that cannot take the post is refused before anything is written. Get the person's go-ahead on the words, channels and time first."},"get":{"tags":["Posts"],"summary":"List scheduled posts","operationId":"scheduled_posts","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"},"description":"How many days ahead, 1 to 90."}],"responses":{"200":{"description":"List scheduled posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Posts"},"example":{"posts":[{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"scheduled","reason":null,"awaiting_approval":false,"reviewer_approval":null,"auto_publish":true,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":null,"posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Social posts from yesterday to `days` ahead, with status and any publish error. A post with `written: false` is a planned topic Skryvo writes before its time."}},"/api/v1/agent/posts/{post_id}":{"patch":{"tags":["Posts"],"summary":"Move a post or change its words","operationId":"change_post","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePostRequest"},"example":{"at":"2026-11-24T10:15:00+00:00"}}}},"responses":{"200":{"description":"Move a post or change its words","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"},"example":{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"10:15","status":"scheduled","reason":null,"awaiting_approval":false,"reviewer_approval":null,"auto_publish":true,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":null,"posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Moves a post that has not gone out, changes its words, or both. `at` moves to the next quarter hour; `text` replaces the post's words on its platform."},"delete":{"tags":["Posts"],"summary":"Cancel a scheduled post","operationId":"cancel_post","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"204":{"description":"Done; no body."},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Removes a scheduled post before it goes out. Returns no body."}},"/api/v1/agent/posts/{post_id}/review":{"post":{"tags":["Posts"],"summary":"Approve or send back a team post","operationId":"review_post","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewPostRequest"},"example":{"approve":false,"note":"Mention the opening hours."}}}},"responses":{"200":{"description":"Approve or send back a team post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"},"example":{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"scheduled","reason":null,"awaiting_approval":false,"reviewer_approval":"approved","auto_publish":true,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":null,"posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The person's decision on a team post waiting for approval: `approve: true` lets it go out at its time; `false` sends it back with `note` saying what should change. Only reviewers, admins and owners can decide."}},"/api/v1/agent/platforms":{"get":{"tags":["Channels"],"summary":"List every channel Skryvo offers","operationId":"platforms","responses":{"200":{"description":"List every channel Skryvo offers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Platforms"},"example":{"platforms":[{"platform":"linkedin","name":"LinkedIn","kind":"social","can_connect":true,"can":{"takes":"posts","words":3000,"title":null,"media_required":"none","pictures":true,"video":{"most_bytes":524288000,"shortest_seconds":3,"longest_seconds":1800},"thread_posts":1,"poll":true,"comments":true,"link":"in the words","options":{"as_document":{"type":"boolean"}},"must_choose":[]}}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Every channel Skryvo can post to, connected or not: its name, social or blog, whether it can be connected today and what it takes. A person connects one in the app under Settings › Connected Accounts."}},"/api/v1/agent/calendar/plan":{"post":{"tags":["Calendar"],"summary":"Plan a week or a month of posts","operationId":"plan_calendar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanCalendarRequest"},"example":{"start_date":"2026-11-30","period":"week","platforms":["linkedin"]}}},"required":true},"responses":{"200":{"description":"Plan a week or a month of posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedPlanResponse"},"example":{"period":"week","start_date":"2026-11-30","end_date":"2026-12-06","items":[{"day":"Monday","date":"2026-11-30","time":"09:00","content_type":"social_media","platform":"linkedin","topic":"Behind the counter: our roasting day","reasoning":"Process posts lead the brand's engagement.","is_repurpose":false}],"summary":{"total_items":5,"blogs":0,"social_posts":5,"emails":0,"repurposed":0}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Plans a week or a month of social posts for a brand from `start_date`: each row has a date, time, platform, topic and why. Uses one generation and one of the month's calendar plans. Adds nothing to the calendar; show it to the person and send the rows they keep to `POST /calendar/accept`."}},"/api/v1/agent/calendar/accept":{"post":{"tags":["Calendar"],"summary":"Add plan rows to the calendar","operationId":"accept_plan","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptPlanRequest"},"example":{"items":[{"date":"2026-11-30","time":"09:00","content_type":"social_media","platform":"linkedin","topic":"Behind the counter: our roasting day"}]}}},"required":true},"responses":{"201":{"description":"Add plan rows to the calendar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Added"},"example":{"added":3}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Adds the rows of a plan the person keeps to the calendar as planned topics, each with its date, time, content_type, topic and platform. Nothing is written or published by this. Free."}},"/api/v1/agent/ads":{"post":{"tags":["Writing"],"summary":"Write ad copy","operationId":"write_ad","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteAdRequest"},"example":{"product":"House Blend 1 kg","platforms":["google_ads"],"benefits":["Roasted weekly"],"link":"https://northside.coffee/shop"}}},"required":true},"responses":{"200":{"description":"Write ad copy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdsWritten"},"example":{"generation_id":"gen_ad0c0p","platforms":{"google_ads":{"platform":"google_ads","label":"Google Ads","variations":[{"angle":"freshness","angle_label":"Freshness","angle_reason":"Roasted weekly is the brief's strongest proof.","assets":{"headlines":[{"text":"Roasted This Week","chars":17}]},"cta":"Shop now"}],"limits":[{"key":"headlines","label":"Headline","max_chars":30,"recommended_chars":25,"serves_count":3}]}}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Writes ad copy in the brand's voice, shaped to each ad platform's limits. `platforms` names ad platforms; a wrong one's refusal lists them all. `variations` is 1 to 6. One generation. No ad is created or run anywhere."}},"/api/v1/agent/content":{"get":{"tags":["Writing"],"summary":"Find earlier work","operationId":"find_content","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"description":"article, post, email, listing or ad; omitted, all of them."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"},"description":"Up to 50."}],"responses":{"200":{"description":"Find earlier work","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FoundContent"},"example":{"items":[{"id":"gen_a7c2f0","kind":"article","title":"How to choose a coffee grinder for home","brand_id":"bv_3c9d0e","created_at":"2026-11-23T10:02:00+00:00"}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"What this account already made, newest first: id, kind, title, brand and date."}},"/api/v1/agent/videos":{"get":{"tags":["Videos"],"summary":"List ready videos","operationId":"videos","responses":{"200":{"description":"List ready videos","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Videos"},"example":{"videos":[{"id":"clip_9e8d7c","name":"opening-day.mp4","bytes":48213504}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The person's own finished videos, uploaded here or in the app: id, name and size."},"post":{"tags":["Videos"],"summary":"Open a video upload","operationId":"add_video","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddVideoRequest"},"example":{"name":"opening-day.mp4","size":48213504,"mime":"video/mp4"}}},"required":true},"responses":{"201":{"description":"Open a video upload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUpload"},"example":{"id":"clip_9e8d7c","upload_url":"https://storage.skryvo.ai/upload/clip_9e8d7c?sig=…","chunk_bytes":8388608}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Opens an upload for the person's own video file (mp4 or mov, up to 1 GB). Send the file to `upload_url` with an HTTP PUT, then call finish. Counts against the plan's video storage."}},"/api/v1/agent/videos/{video_id}/finish":{"post":{"tags":["Videos"],"summary":"Finish a video upload","operationId":"finish_video","parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}}],"responses":{"200":{"description":"Finish a video upload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoReady"},"example":{"video_id":"clip_9e8d7c","status":"ready","seconds":42,"width":1080,"height":1920}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Reads a video once its upload ended and makes it ready to schedule with `by_channel.video_id`. Refused, with the reason, when the file can't be read."}},"/api/v1/agent/articles/plan":{"post":{"tags":["Articles"],"summary":"Plan an article","operationId":"plan_article","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanArticleRequest"},"example":{"topic":"Choosing a coffee grinder for home","length":1500,"tone":"warm"}}},"required":true},"responses":{"200":{"description":"Plan an article","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticlePlan"},"example":{"status":"confirm","plan_id":"pl_91ab3e","brand_id":"bv_3c9d0e","headline":"How to choose a coffee grinder for home","other_headlines":["Burr or blade: picking a home grinder"],"search_phrase":"best coffee grinder for home","search":{"phrase":"best coffee grinder for home","monthly_searches":5400,"difficulty":31,"intent":"commercial","market":"GB","winnable":"Small sites hold three of the first five results.","ideas":[]},"keywords":["best coffee grinder for home"],"angle":"A barista's checklist for first-time buyers","outline":[{"heading":"Burr or blade?","covers":"Why the grind decides taste"}],"questions":["Which grinder do you use behind your own counter?"],"already_written":[],"sources":[{"title":"Grind size guide","url":"https://example.org/grind"}],"facts":[{"fact":"Burr grinders give a more even grind.","source":"Example Org","url":"https://example.org/grind"}],"other_search_phrases":["coffee grinder buying guide"],"settings":[{"field":"word_count","value":1500,"from":"brand"}],"cost":{"generations":2,"image_credits_up_to":16},"left":{"generations":41,"image_credits":180,"resets_at":"2026-12-01T00:00:00+00:00"},"differs_from_brand":[],"plans_left":17,"expires_at":"2026-11-30T12:00:00+00:00"}}}},"202":{"description":"Accepted: the answer is posted to `callback_url`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAccepted"},"example":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","status":"running","secret":"whsec_Q2x…","poll_url":"https://api.skryvo.ai/api/v1/agent/jobs/job_5e4d3c2b1a09f8e7d6c5b4a3"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Researches and plans a blog article about `topic` in the brand's voice: headline and alternatives, the search phrase it aims at, the outline, sources and the facts found in them, up to three questions only the author can answer, the brand's articles it would clash with, and the picture plan. Free; uses one of the month's article plans and takes about a minute. Returns `status: confirm` with every setting, where it came from and what writing it will cost. Show the plan and ask its questions before writing.\n\nWith `callback_url` the call answers 202 at once with a job; the work runs as it would have, charged and refunded the same way, and its answer (or refusal) is posted to `callback_url` as `job.done` or `job.failed`, signed with the job's `secret` like a webhook and retried the same way. `GET /jobs/{job_id}` reads it meanwhile."}},"/api/v1/agent/jobs/{job_id}":{"get":{"tags":["Account"],"summary":"Read a job","operationId":"job_status","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Read a job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"},"example":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","kind":"pictures","status":"done","answer":{"brand_id":"bv_3c9d0e","headline":"Our new studio opens Saturday","pictures":[{"platform":"linkedin","image_url":"https://media.skryvo.ai/images/u1/p-1200.jpg","width":1200,"height":1200}],"credits_used":4,"credits_left":176},"error":null,"started_at":"2026-11-24T09:00:00+00:00","finished_at":"2026-11-24T09:01:12+00:00"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Where a call made with `callback_url` is: `running`, `done` with the route's own answer, or `failed` with the status and sentence the route would have answered. A job whose process is lost ends failed within about 15 minutes and is not charged."}},"/api/v1/agent/articles":{"post":{"tags":["Articles"],"summary":"Write a planned article","operationId":"write_article","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteArticleRequest"},"example":{"plan_id":"pl_91ab3e","headline":"How to choose a coffee grinder for home","answers":[{"question":"Which grinder do you use behind your own counter?","answer":"A flat-burr grinder we have had for six years."}]}}},"required":true},"responses":{"202":{"description":"Write a planned article","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleStarted"},{"$ref":"#/components/schemas/ArticleWriting"},{"$ref":"#/components/schemas/ArticleFailed"},{"$ref":"#/components/schemas/ArticleDone"}]},"example":{"article_id":"pl_91ab3e","status":"writing","minutes":4,"settings":[{"field":"word_count","value":1500}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Writes the planned article in the background, about four minutes: researched, fact-checked and scored, the same article the app writes. Pass the person's chosen `headline`, their `answers` to the plan's questions and any `notes`. Tone, audience and point of view can change here; a new length, style or language needs a new plan. A failed article is not charged. Poll `GET /articles/{article_id}` or subscribe to `article.ready` and `article.failed`. Nothing is published."}},"/api/v1/agent/articles/{article_id}":{"get":{"tags":["Articles"],"summary":"Read an article's progress","operationId":"article_status","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"responses":{"200":{"description":"Read an article's progress","content":{"application/json":{"schema":{"discriminator":{"mapping":{"done":"#/components/schemas/ArticleDone","failed":"#/components/schemas/ArticleFailed","writing":"#/components/schemas/ArticleWriting"},"propertyName":"status"},"oneOf":[{"$ref":"#/components/schemas/ArticleWriting"},{"$ref":"#/components/schemas/ArticleFailed"},{"$ref":"#/components/schemas/ArticleDone"}]},"example":{"article_id":"pl_91ab3e","status":"done","generation_id":"gen_a7c2f0","title":"How to choose a coffee grinder for home","words":1512,"score":88,"markdown":"# How to choose a coffee grinder for home\n\n…","complete":true,"claims":{"checked":9,"verified":9,"by_verdict":{"verified":9},"items":[{"claim":"Burr grinders give a more even grind.","verdict":"verified","why":"Two sources measure the spread of particle sizes.","sources":["https://example.org/grind"]}]},"open_in_skryvo":"https://app.skryvo.ai/generate/blog/gen_a7c2f0"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Where an article is: `writing` with its stage, `failed` with why (and that it was not charged), or `done` with its title, word count, score out of 100, markdown, every claim the fact check read and a link that opens it in Skryvo. Check about once a minute while it writes."}},"/api/v1/agent/articles/{article_id}/publish":{"post":{"tags":["Articles"],"summary":"Publish an article to a blog","operationId":"publish_article","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishArticleRequest"},"example":{"channel_id":"conn_wp41c0","at":"2026-11-25T08:00:00+00:00"}}}},"responses":{"201":{"description":"Publish an article to a blog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticlePublished"},"example":{"post":{"id":"c1a2b3c4d5","platform":"wordpress","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"scheduled","reason":null,"awaiting_approval":false,"reviewer_approval":null,"auto_publish":true,"text":null,"topic":"Grinder guide","written":true,"publish_error":null,"posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Schedules a finished article to a blog channel; Skryvo publishes it with its pictures, headings and search fields and reads it back to confirm it is live. `at` moves to the next quarter hour; omitted, about five minutes from now. `as_draft: true` sends it to the blog now as a draft to review there and returns its edit link instead. `original_url` names the article's first home so a copy credits it."}},"/api/v1/agent/articles/{article_id}/seo":{"get":{"tags":["Articles"],"summary":"Check an article's SEO","operationId":"article_seo","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"responses":{"200":{"description":"Check an article's SEO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleSeo"},"example":{"article_id":"gen_a7c2f0","score":74,"keyword":"best coffee grinder for home","issues":["Missing meta description (need 155-160 characters with keyword)"],"improvements":["accuracy","geo_citations","seo"],"next_improvement_free":true,"left":{"generations":41,"image_credits":180,"resets_at":"2026-12-01T00:00:00+00:00"}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"A free SEO check: score out of 100, the search phrase it aims at and each issue found (phrase missing from the title, no meta description, no links to sources, heading structure), the improvements on offer and whether the next one is free."}},"/api/v1/agent/articles/{article_id}/improve":{"post":{"tags":["Articles"],"summary":"Improve an article","operationId":"improve_article","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImproveArticleRequest"},"example":{"goal":"seo"}}}},"responses":{"200":{"description":"Improve an article","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleImproved"},"example":{"article_id":"gen_a7c2f0","goal":"seo","score_before":74,"score_after":91,"changes":["Added a meta description with the search phrase"],"remaining_issues":[],"saved_as_version":2,"charged":false,"open_in_skryvo":"https://app.skryvo.ai/generate/blog/gen_a7c2f0"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Improves an article and saves it as a new version; the earlier one stays in its history. `seo` fixes every issue the SEO check found; `geo_citations` adds questions and answers that cite the article's own sources; `accuracy` rewrites only the sentences the fact check disputed. An article's first improvement is free, each after costs one generation. About a minute."}},"/api/v1/agent/articles/{article_id}/results":{"get":{"tags":["Results"],"summary":"How an article is doing","operationId":"article_results","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"responses":{"200":{"description":"How an article is doing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResults"},"example":{"article_id":"gen_a7c2f0","title":"How to choose a coffee grinder for home","places":[{"platform":"wordpress","url":"https://northside.coffee/blog/grinder","published_at":"2026-11-25T08:00:00+00:00","removed":false,"reach":1240,"reach_kind":"views","engagements":31,"clicks":12,"search":{"clicks":40,"impressions":1900,"ctr":0.021,"position":8.4},"read_at":"2026-12-02T06:00:00+00:00"}],"open_in_skryvo":"https://app.skryvo.ai/generate/blog/gen_a7c2f0"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Every place an article went out, each with its link, reach, engagements and clicks, and its search clicks, impressions, click rate and position when the person connected their search console. Takes the article's id or its generation id."}},"/api/v1/agent/articles/import":{"post":{"tags":["Articles"],"summary":"Bring in the person's own article","operationId":"import_article","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportArticleRequest"},"example":{"is_mine":true,"url":"https://northside.coffee/blog/first-year"}}},"required":true},"responses":{"200":{"description":"Bring in the person's own article","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleImported"},"example":{"article_id":"gen_c0ffee","status":"done","title":"Our first year","receipt":{"headings":5,"pictures":2,"tables":0,"links":4,"words":980},"left_out":{}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Brings the person's own article into Skryvo from `text` (markdown or HTML) or a public `url`, one of the two. Free within the plan's monthly allowance. `is_mine` is the person saying it is theirs to publish; ask them first. Every article route then takes its `article_id`. An article from a live address goes to a blog only as a draft or as an update of that post."}},"/api/v1/agent/articles/{article_id}/posts":{"post":{"tags":["Articles"],"summary":"Turn an article into posts","operationId":"repurpose_article","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepurposeArticleRequest"},"example":{"platforms":["linkedin","x"]}}}},"responses":{"200":{"description":"Turn an article into posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Repurposed"},"example":{"article_id":"gen_a7c2f0","posts":[{"platform":"linkedin","text":"Buying your first grinder? Start with the burrs.","generation_id":"gen_r3p0s7","error":null}],"left":{"generations":41,"image_credits":180,"resets_at":"2026-12-01T00:00:00+00:00"}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Turns a finished article into one native post per platform in the brand's voice, keeping the article's facts. One generation for all of them; how many platforms at once follows the plan. Each post's text is ready for `POST /posts`."}},"/api/v1/agent/emails":{"post":{"tags":["Writing"],"summary":"Write an email","operationId":"write_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteEmailRequest"},"example":{"about":"Our new studio opening this Saturday, for local regulars","email_type":"announcement","confirmed":true}}},"required":true},"responses":{"200":{"description":"Write an email","content":{"application/json":{"schema":{"discriminator":{"mapping":{"confirm":"#/components/schemas/EmailToConfirm","written":"#/components/schemas/EmailWritten"},"propertyName":"status"},"oneOf":[{"$ref":"#/components/schemas/EmailToConfirm"},{"$ref":"#/components/schemas/EmailWritten"}]},"example":{"status":"written","brand_id":"bv_3c9d0e","generation_id":"gen_e3a1b2","subject_lines":["Our new studio opens Saturday"],"preheader":"Free tasting from 9am.","body":"Hi there,\n\nOur new studio opens this Saturday…","call_to_action":"Get directions","settings":[{"field":"campaign_type","value":"announcement","from":"you"}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Writes a marketing email in the brand's voice about `about`: subject lines, preheader, markdown body and a call to action. When `email_type` was left out, the call writes nothing and returns `status: confirm` with every setting, where it came from, the cost and what is left. One generation. Nothing is sent."}},"/api/v1/agent/listings":{"post":{"tags":["Writing"],"summary":"Write a product listing","operationId":"write_listing","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteListingRequest"},"example":{"product":"House Blend 1 kg","features":["Roasted weekly","Medium roast","Whole beans"],"marketplace":"shopify","confirmed":true}}},"required":true},"responses":{"200":{"description":"Write a product listing","content":{"application/json":{"schema":{"discriminator":{"mapping":{"confirm":"#/components/schemas/ListingToConfirm","written":"#/components/schemas/ListingWritten"},"propertyName":"status"},"oneOf":[{"$ref":"#/components/schemas/ListingToConfirm"},{"$ref":"#/components/schemas/ListingWritten"}]},"example":{"status":"written","brand_id":"bv_3c9d0e","generation_id":"gen_l1st1n","title":"Northside House Blend, 1 kg whole beans","listing":{"title":"Northside House Blend, 1 kg whole beans","description":"A balanced medium roast…","bullet_points":["Roasted weekly in Leeds"]},"settings":[{"field":"platform","value":"shopify","from":"you"}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Writes a product listing in the brand's voice, shaped for its marketplace's rules: a title and the marketplace's own fields in `listing`. `features` takes one to ten key features. When `marketplace` was left out, the call writes nothing and returns `status: confirm` first. One generation."}},"/api/v1/agent/balance":{"get":{"tags":["Account"],"summary":"What this month still allows","operationId":"balance","responses":{"200":{"description":"What this month still allows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"},"example":{"plan":"pro","access":"active","trial_ends_at":null,"left":{"generations":41,"image_credits":180,"resets_at":"2026-12-01T00:00:00+00:00"},"article_plans_left":18,"enough_for":{"articles":13,"post_batches":41,"post_pictures":45}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Generations and picture credits left this month, article plans left, when a trial ends, and how many articles, post batches and post pictures that covers. Check it before a large request."}},"/api/v1/agent/defaults":{"post":{"tags":["Account"],"summary":"Keep choices as the brand's defaults","operationId":"save_defaults","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveDefaultsRequest"},"example":{"kind":"post","settings":{"tone":"friendly"},"brand_id":"bv_3c9d0e"}}},"required":true},"responses":{"200":{"description":"Keep choices as the brand's defaults","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultsSaved"},"example":{"brand_id":"bv_3c9d0e","kind":"post","saved":{"tone":"friendly"}}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Saves the person's choices as a brand's defaults, so later posts or articles use them without asking. `kind` post keeps platforms, tone, pictures, hashtags and call_to_action; article keeps word_count, tone, writing_style, cover_picture and inside_pictures. When a summary lists `differs_from_brand`, offer once to keep those and call only after the person says yes. Admins and owners only."}},"/api/v1/agent/webhooks":{"get":{"tags":["Webhooks"],"summary":"List webhooks","operationId":"list_webhooks","responses":{"200":{"description":"List webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhooks"},"example":{"webhooks":[{"id":"wh_4b2a91","url":"https://example.com/hooks/skryvo","events":["post.published","post.failed"],"status":"active","paused_reason":null,"created_at":"2026-11-23T10:00:00+00:00","last_delivery_at":"2026-11-24T09:00:04+00:00","failures":0}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The workspace's webhook endpoints, newest first: address, events, whether it is active or paused (and why), the last delivery and the failed tries in a row. The secret is never listed. Admins and owners only."},"post":{"tags":["Webhooks"],"summary":"Add a webhook","operationId":"create_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewWebhookRequest"},"example":{"url":"https://example.com/hooks/skryvo","events":["post.published","post.failed"]}}},"required":true},"responses":{"201":{"description":"Add a webhook","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreated"},"example":{"id":"wh_4b2a91","url":"https://example.com/hooks/skryvo","events":["post.published","post.failed"],"status":"active","paused_reason":null,"created_at":"2026-11-23T10:00:00+00:00","last_delivery_at":null,"failures":0,"secret":"whsec_Z3k9…"}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Registers an https endpoint on the public internet for one or more events: post.published, post.failed, article.ready, article.failed, results.ready. Returns the endpoint with its signing `secret`, shown this once; store it to verify deliveries. A workspace keeps up to 3 on Hobby, 10 on Pro, 25 on Enterprise. An account that can only read, before a trial or after a plan ends, adds none. Each delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row."}},"/api/v1/agent/webhooks/{webhook_id}":{"delete":{"tags":["Webhooks"],"summary":"Delete a webhook","operationId":"delete_webhook","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"204":{"description":"Done; no body."},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Stops every delivery to the endpoint at once. Returns no body."}},"/api/v1/agent/webhooks/{webhook_id}/test":{"post":{"tags":["Webhooks"],"summary":"Send test events","operationId":"test_webhook","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Send test events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deliveries"},"example":{"deliveries":[{"id":"wh_4b2a91_8235861199999_a1b2c3","event_id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"post.published","test":true,"status":"delivered","attempts":1,"response_status":200,"error":null,"created_at":"2026-11-24T09:00:03+00:00","delivered_at":"2026-11-24T09:00:04+00:00","next_attempt_at":null}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"Sends a sample of each subscribed event now, with `test: true`, and returns how each delivery went. A test is tried once and never retried; one that lands resumes a paused endpoint."}},"/api/v1/agent/webhooks/{webhook_id}/deliveries":{"get":{"tags":["Webhooks"],"summary":"List recent deliveries","operationId":"webhook_deliveries","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"List recent deliveries","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deliveries"},"example":{"deliveries":[{"id":"wh_4b2a91_8235861199999_a1b2c3","event_id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"post.published","test":false,"status":"delivered","attempts":1,"response_status":200,"error":null,"created_at":"2026-11-24T09:00:03+00:00","delivered_at":"2026-11-24T09:00:04+00:00","next_attempt_at":null}]}}}},"401":{"description":"The key or token is missing, revoked or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Send a live Skryvo API key as 'Authorization: Bearer sk_skryvo_…'."}}}},"403":{"description":"The person's role in this team workspace does not allow the call.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"detail":"Only an admin or the owner can change a brand's look."}}}},"422":{"description":"Refused with a reason to show the person, or a field failed validation.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/ValidationFailed"}]},"example":{"detail":"That time has passed. Pick a time in the future."}}}},"429":{"description":"Sent more than 60 requests a minute or 1000 an hour with one key or token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"error":"rate_limit_exceeded","message":"Too many requests. Try again in 20 seconds.","retry_after":20}}}}},"description":"The endpoint's deliveries from the last 30 days, newest first, up to 50: event, status (`pending`, `delivered` or `failed`), tries, the endpoint's answer and when the next try is due."}}},"components":{"schemas":{"AcceptPlanRequest":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":100,"minItems":1,"title":"Items"}},"type":"object","required":["items"],"title":"AcceptPlanRequest"},"AddBrandRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"website":{"type":"string","maxLength":2000,"minLength":4,"title":"Website"}},"type":"object","required":["name","website"],"title":"AddBrandRequest"},"AddVideoRequest":{"properties":{"name":{"type":"string","maxLength":300,"minLength":1,"title":"Name"},"size":{"type":"integer","exclusiveMinimum":0.0,"title":"Size"},"mime":{"type":"string","maxLength":100,"title":"Mime","default":""}},"type":"object","required":["name","size"],"title":"AddVideoRequest"},"ArticleAnswer":{"properties":{"question":{"type":"string","maxLength":160,"title":"Question"},"answer":{"type":"string","maxLength":1000,"title":"Answer"}},"type":"object","required":["question","answer"],"title":"ArticleAnswer"},"ChangePostRequest":{"properties":{"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At","description":"The new time; moved to a quarter hour"},"text":{"anyOf":[{"type":"string","maxLength":70000},{"type":"null"}],"title":"Text"}},"type":"object","title":"ChangePostRequest"},"ChannelPost":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":70000},{"type":"null"}],"title":"Text","description":"This channel's own words"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url","description":"This channel's picture"},"video_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Video Id","description":"One of the person's finished videos"},"title":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Title","description":"Where the platform shows one"},"options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options","description":"The channel's own post options, as its listing names them"},"thread":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":24},{"type":"null"}],"title":"Thread","description":"Posts that follow this one, in order"},"numbered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Numbered","description":"Number the thread's posts"},"poll":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Poll","description":"{question, options (2 to 4), days (1, 3 or 7)}"},"comments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Comment"},"type":"array","maxItems":5},{"type":"null"}],"title":"Comments","description":"Comments after it goes live, as {text, after}"},"tiktok":{"anyOf":[{"$ref":"#/components/schemas/TikTokPostSettings"},{"type":"null"}]},"youtube":{"anyOf":[{"$ref":"#/components/schemas/YouTubePostSettings"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"ChannelPost"},"Comment":{"properties":{"text":{"type":"string","maxLength":1000,"title":"Text"},"after":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"After","default":0},"by":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"By"},"image":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Image"}},"type":"object","required":["text"],"title":"Comment"},"ImportArticleRequest":{"properties":{"is_mine":{"type":"boolean","title":"Is Mine","description":"The person says this article is theirs to publish","default":false},"text":{"anyOf":[{"type":"string","maxLength":480000},{"type":"null"}],"title":"Text","description":"Markdown or HTML"},"url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Url","description":"A public article's address"},"title":{"type":"string","maxLength":300,"title":"Title","default":""},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"}},"type":"object","title":"ImportArticleRequest"},"ImproveArticleRequest":{"properties":{"goal":{"type":"string","enum":["seo","geo_citations","accuracy"],"title":"Goal","default":"seo"}},"type":"object","title":"ImproveArticleRequest"},"LookChangeRequest":{"properties":{"change":{"type":"string","enum":["design","closer","bolder","calmer","photo","keep"],"title":"Change"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"}},"type":"object","required":["change"],"title":"LookChangeRequest"},"NewWebhookRequest":{"properties":{"url":{"type":"string","maxLength":2000,"minLength":9,"title":"Url","description":"An https:// address"},"events":{"items":{"type":"string","enum":["post.published","post.failed","article.ready","article.failed","results.ready"]},"type":"array","maxItems":5,"minItems":1,"title":"Events"}},"type":"object","required":["url","events"],"title":"NewWebhookRequest"},"PictureRequest":{"properties":{"text":{"type":"string","maxLength":5000,"minLength":1,"title":"Text"},"platforms":{"items":{"type":"string"},"type":"array","maxItems":14,"minItems":1,"title":"Platforms"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"direction":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Direction"},"headline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Headline"},"photo_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Photo Id"},"callback_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Callback Url","description":"An https address on the public internet: the call answers 202 with a job at once, and its answer is posted there, signed, when it is ready"}},"type":"object","required":["text","platforms"],"title":"PictureRequest"},"PlanArticleRequest":{"properties":{"topic":{"type":"string","maxLength":200,"minLength":3,"title":"Topic"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"length":{"anyOf":[{"type":"integer","maximum":4000.0,"minimum":100.0},{"type":"null"}],"title":"Length","description":"Words"},"tone":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Tone"},"style":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Style"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"audience":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Audience"},"point_of_view":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Point Of View"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Keywords"},"must_cover":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":8},{"type":"null"}],"title":"Must Cover"},"only_you":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Only You"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"sources":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":3},{"type":"null"}],"title":"Sources"},"callback_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Callback Url","description":"An https address on the public internet: the call answers 202 with a job at once, and its answer is posted there, signed, when it is ready"}},"type":"object","required":["topic"],"title":"PlanArticleRequest"},"PlanCalendarRequest":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"period":{"type":"string","enum":["week","month"],"title":"Period","default":"week"},"topics":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Topics"},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":14},{"type":"null"}],"title":"Platforms"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"}},"type":"object","required":["start_date"],"title":"PlanCalendarRequest"},"PublishArticleRequest":{"properties":{"channel_id":{"type":"string","maxLength":128,"minLength":1,"title":"Channel Id"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At","description":"When to publish; omitted, in about 5 minutes"},"as_draft":{"type":"boolean","title":"As Draft","description":"Send it to the blog now as a draft to review there","default":false},"original_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Original Url","description":"The article's first home, credited by every copy"}},"type":"object","required":["channel_id"],"title":"PublishArticleRequest"},"RepurposeArticleRequest":{"properties":{"platforms":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Platforms"}},"type":"object","required":["platforms"],"title":"RepurposeArticleRequest"},"ReviewPostRequest":{"properties":{"approve":{"type":"boolean","title":"Approve"},"note":{"type":"string","maxLength":500,"title":"Note","default":""}},"type":"object","required":["approve"],"title":"ReviewPostRequest"},"SaveDefaultsRequest":{"properties":{"kind":{"type":"string","enum":["post","article"],"title":"Kind"},"settings":{"additionalProperties":true,"type":"object","maxProperties":10,"minProperties":1,"title":"Settings"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"}},"type":"object","required":["kind","settings"],"title":"SaveDefaultsRequest"},"SchedulePostRequest":{"properties":{"text":{"type":"string","maxLength":5000,"minLength":1,"title":"Text"},"channel_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Channel Ids"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At","description":"When to publish; omitted, in about 5 minutes"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"images":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object","maxProperties":20},{"type":"null"}],"title":"Images","description":"A picture per channel: {channel_id: image_url}"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"tiktok":{"anyOf":[{"$ref":"#/components/schemas/TikTokPostSettings"},{"type":"null"}]},"link":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Link","description":"A web page the post points to; a Business Profile button or pin destination"},"button":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Button","description":"Google Business Profile button: learn_more, book, order, shop, sign_up or call"},"by_channel":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ChannelPost"},"type":"object","maxProperties":20},{"type":"null"}],"title":"By Channel","description":"What is a channel's own, by its id; see GET /channels"}},"type":"object","required":["text","channel_ids"],"title":"SchedulePostRequest"},"TikTokPostSettings":{"properties":{"privacy":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"],"title":"Privacy"},"allow_comments":{"type":"boolean","title":"Allow Comments","default":false},"allow_duet":{"type":"boolean","title":"Allow Duet","default":false},"allow_stitch":{"type":"boolean","title":"Allow Stitch","default":false},"your_brand":{"type":"boolean","title":"Your Brand","default":false},"branded_content":{"type":"boolean","title":"Branded Content","default":false}},"type":"object","required":["privacy"],"title":"TikTokPostSettings","description":"What TikTok makes the creator choose for every post; nothing is preset."},"WriteAdRequest":{"properties":{"product":{"type":"string","maxLength":200,"minLength":1,"title":"Product"},"platforms":{"items":{"type":"string"},"type":"array","maxItems":12,"minItems":1,"title":"Platforms"},"what_it_is":{"type":"string","maxLength":2000,"title":"What It Is","default":""},"benefits":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":5},{"type":"null"}],"title":"Benefits"},"goal":{"type":"string","maxLength":20,"title":"Goal","default":"conversion"},"link":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Link"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"language":{"type":"string","maxLength":10,"title":"Language","default":"en"},"variations":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Variations","default":3}},"type":"object","required":["product","platforms"],"title":"WriteAdRequest"},"WriteArticleRequest":{"properties":{"plan_id":{"type":"string","maxLength":32,"minLength":1,"title":"Plan Id"},"headline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Headline"},"answers":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleAnswer"},"type":"array","maxItems":3},{"type":"null"}],"title":"Answers"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"pictures":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pictures"},"inside_pictures":{"anyOf":[{"type":"integer","maximum":3.0,"minimum":0.0},{"type":"null"}],"title":"Inside Pictures"},"tone":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Tone"},"audience":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Audience"},"point_of_view":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Point Of View"},"length":{"anyOf":[{"type":"integer","maximum":4000.0,"minimum":100.0},{"type":"null"}],"title":"Length"},"style":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Style"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"}},"type":"object","required":["plan_id"],"title":"WriteArticleRequest"},"WriteEmailRequest":{"properties":{"about":{"type":"string","maxLength":2000,"minLength":3,"title":"About"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"email_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Email Type"},"tone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Tone"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"audience":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Audience"},"call_to_action":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Call To Action"},"length":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":100.0},{"type":"null"}],"title":"Length","description":"Body words"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"type":"object","required":["about"],"title":"WriteEmailRequest"},"WriteListingRequest":{"properties":{"product":{"type":"string","maxLength":100,"minLength":2,"title":"Product"},"features":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Features"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"marketplace":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Marketplace"},"tone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Tone"},"audience":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Audience"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"overview":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Overview"},"price":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Price"},"keywords":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Keywords"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"type":"object","required":["product","features"],"title":"WriteListingRequest"},"WritePostRequest":{"properties":{"topic":{"type":"string","maxLength":200,"minLength":3,"title":"Topic"},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":4},{"type":"null"}],"title":"Platforms"},"brand_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Brand Id"},"tone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Tone"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"audience":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Audience"},"call_to_action":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Call To Action"},"hashtags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Hashtags"},"link":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Link"},"pictures":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pictures","description":"A picture with each post; else the brand's default"},"confirmed":{"type":"boolean","title":"Confirmed","description":"The person approved the summary of what was assumed","default":false},"callback_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Callback Url","description":"An https address on the public internet: the call answers 202 with a job at once, and its answer is posted there, signed, when it is ready"}},"type":"object","required":["topic"],"title":"WritePostRequest"},"YouTubePostSettings":{"properties":{"privacy":{"type":"string","enum":["public","unlisted","private"],"title":"Privacy","default":"public"},"made_for_kids":{"type":"boolean","title":"Made For Kids"},"tags":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Tags"},"altered":{"type":"boolean","title":"Altered","default":false}},"type":"object","required":["made_for_kids"],"title":"YouTubePostSettings","description":"What YouTube asks of every upload, its tags, and the person's word on altered content."},"Error":{"type":"object","properties":{"detail":{"type":"string","description":"A sentence to show the person."}},"required":["detail"]},"ValidationFailed":{"type":"object","properties":{"error":{"type":"string","enum":["validation_error"]},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"type":{"type":"string"}}}}}},"RateLimited":{"type":"object","properties":{"error":{"type":"string","enum":["rate_limit_exceeded"]},"message":{"type":"string"},"retry_after":{"type":"integer","description":"Seconds until a call is accepted."}}},"Me":{"additionalProperties":false,"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Email"},"plan":{"title":"Plan","type":"string"}},"required":["plan"],"title":"Me","type":"object"},"Brand":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"is_default":{"title":"Is Default","type":"boolean"},"posts_wait_for_approval":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Posts Wait For Approval"}},"required":["id","is_default"],"title":"Brand","type":"object"},"Brands":{"additionalProperties":false,"properties":{"brands":{"items":{"$ref":"#/components/schemas/Brand"},"title":"Brands","type":"array"}},"required":["brands"],"title":"Brands","type":"object"},"BrandAdded":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"status":{"const":"reading the site","title":"Status","type":"string"}},"required":["id","name","status"],"title":"BrandAdded","type":"object"},"ArticleRules":{"additionalProperties":false,"properties":{"takes":{"const":"articles","title":"Takes","type":"string"}},"required":["takes"],"title":"ArticleRules","type":"object"},"Channel":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"platform":{"title":"Platform","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"brand_ids":{"items":{"type":"string"},"title":"Brand Ids","type":"array"},"kind":{"enum":["social","blog"],"title":"Kind","type":"string"},"needs_reconnect":{"title":"Needs Reconnect","type":"boolean"},"can":{"discriminator":{"mapping":{"articles":"#/components/schemas/ArticleRules","posts":"#/components/schemas/PostRules"},"propertyName":"takes"},"oneOf":[{"$ref":"#/components/schemas/PostRules"},{"$ref":"#/components/schemas/ArticleRules"}],"title":"Can"}},"required":["id","platform","brand_ids","kind","needs_reconnect","can"],"title":"Channel","type":"object"},"OptionRule":{"additionalProperties":false,"properties":{"type":{"title":"Type","type":"string"},"choices":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Choices"},"most":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Most"}},"required":["type"],"title":"OptionRule","type":"object"},"PostRules":{"additionalProperties":false,"properties":{"takes":{"const":"posts","title":"Takes","type":"string"},"words":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Words"},"title":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"The platform's title limit, where it has one","title":"Title"},"media_required":{"enum":["picture","clip","either","none"],"title":"Media Required","type":"string"},"pictures":{"title":"Pictures","type":"boolean"},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoLimits"},{"type":"null"}],"default":null},"thread_posts":{"title":"Thread Posts","type":"integer"},"poll":{"title":"Poll","type":"boolean"},"comments":{"title":"Comments","type":"boolean"},"link":{"enum":["destination","in the words"],"title":"Link","type":"string"},"options":{"additionalProperties":{"$ref":"#/components/schemas/OptionRule"},"title":"Options","type":"object"},"must_choose":{"items":{"type":"string"},"title":"Must Choose","type":"array"}},"required":["takes","media_required","pictures","thread_posts","poll","comments","link","options","must_choose"],"title":"PostRules","type":"object"},"VideoLimits":{"additionalProperties":false,"properties":{"most_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Null where the server sets its own","title":"Most Bytes"},"shortest_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Shortest Seconds"},"longest_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Longest Seconds"}},"title":"VideoLimits","type":"object"},"Channels":{"additionalProperties":false,"properties":{"channels":{"items":{"$ref":"#/components/schemas/Channel"},"title":"Channels","type":"array"}},"required":["channels"],"title":"Channels","type":"object"},"Look":{"additionalProperties":false,"properties":{"state":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"State"},"round":{"title":"Round","type":"integer"},"verb":{"title":"Verb","type":"string"},"direction":{"title":"Direction","type":"string"},"design":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Design"},"drawn":{"additionalProperties":{"type":"string"},"title":"Drawn","type":"object"},"left":{"title":"Left","type":"integer"},"cost":{"title":"Cost","type":"integer"},"kept":{"title":"Kept","type":"boolean"},"posts":{"items":{"$ref":"#/components/schemas/LookPost"},"title":"Posts","type":"array"},"photos":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Photos"}},"required":["round","verb","direction","drawn","left","cost","kept","posts"],"title":"Look","type":"object"},"LookPost":{"additionalProperties":false,"properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Kind"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"line":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Line"},"round":{"title":"Round","type":"integer"},"photo":{"title":"Photo","type":"boolean"}},"required":["round","photo"],"title":"LookPost","type":"object"},"OwnPhoto":{"additionalProperties":false,"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Label"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Height"}},"title":"OwnPhoto","type":"object"},"Readiness":{"additionalProperties":false,"properties":{"logo":{"title":"Logo","type":"boolean"},"colours":{"title":"Colours","type":"integer"},"fonts":{"title":"Fonts","type":"boolean"},"shots":{"items":{"$ref":"#/components/schemas/Shot"},"title":"Shots","type":"array"}},"required":["logo","colours","fonts","shots"],"title":"Readiness","type":"object"},"Shot":{"additionalProperties":false,"properties":{"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"tip":{"title":"Tip","type":"string"},"have":{"title":"Have","type":"boolean"}},"required":["key","label","tip","have"],"title":"Shot","type":"object"},"Design":{"additionalProperties":false,"properties":{"brand_id":{"title":"Brand Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Logo Url"},"colours":{"additionalProperties":{"type":"string"},"title":"Colours","type":"object"},"fonts":{"additionalProperties":{"type":"string"},"title":"Fonts","type":"object"},"look":{"anyOf":[{"$ref":"#/components/schemas/Look"},{"type":"null"}],"default":null},"readiness":{"$ref":"#/components/schemas/Readiness"},"changes":{"items":{"type":"string"},"title":"Changes","type":"array"},"own_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/OwnPhoto"},"type":"array"},{"type":"null"}],"default":null,"title":"Own Photos"},"photos":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Why designs are type only, when no photos","title":"Photos"}},"required":["brand_id","colours","fonts","readiness","changes"],"title":"Design","type":"object"},"LookChanged":{"additionalProperties":false,"properties":{"look":{"anyOf":[{"$ref":"#/components/schemas/Look"},{"type":"null"}],"default":null},"own_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/OwnPhoto"},"type":"array"},{"type":"null"}],"default":null,"title":"Own Photos"},"photos":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Photos"}},"title":"LookChanged","type":"object"},"Allowance":{"additionalProperties":false,"description":"This month's balance; empty when it could not be read.","properties":{"generations":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Generations"},"image_credits":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Image Credits"},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Resets At"}},"title":"Allowance","type":"object"},"Difference":{"additionalProperties":false,"description":"A choice the person made that the brand's saved defaults would not have.","properties":{"field":{"title":"Field","type":"string"},"value":{"default":null,"title":"Value"},"brand_default":{"default":null,"title":"Brand Default"}},"required":["field"],"title":"Difference","type":"object"},"DraftPost":{"additionalProperties":false,"properties":{"platform":{"title":"Platform","type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Text"},"hashtags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Hashtags"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Link"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Error"},"picture":{"anyOf":[{"$ref":"#/components/schemas/Picture"},{"type":"null"}],"default":null},"picture_error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Picture Error"}},"required":["platform"],"title":"DraftPost","type":"object"},"Picture":{"additionalProperties":false,"properties":{"platform":{"title":"Platform","type":"string"},"image_url":{"title":"Image Url","type":"string"},"width":{"title":"Width","type":"integer"},"height":{"title":"Height","type":"integer"}},"required":["platform","image_url","width","height"],"title":"Picture","type":"object"},"PostCost":{"additionalProperties":false,"properties":{"generations":{"title":"Generations","type":"integer"},"image_credits":{"title":"Image Credits","type":"integer"}},"required":["generations","image_credits"],"title":"PostCost","type":"object"},"PostsToConfirm":{"additionalProperties":false,"properties":{"status":{"const":"confirm","title":"Status","type":"string"},"topic":{"title":"Topic","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"},"cost":{"$ref":"#/components/schemas/PostCost"},"left":{"$ref":"#/components/schemas/Allowance"},"differs_from_brand":{"items":{"$ref":"#/components/schemas/Difference"},"title":"Differs From Brand","type":"array"},"pictures_note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pictures Note"}},"required":["status","topic","settings","cost","left","differs_from_brand"],"title":"PostsToConfirm","type":"object"},"PostsWritten":{"additionalProperties":false,"properties":{"status":{"const":"written","title":"Status","type":"string"},"topic":{"title":"Topic","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"generation_id":{"title":"Generation Id","type":"string"},"posts":{"items":{"$ref":"#/components/schemas/DraftPost"},"title":"Posts","type":"array"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"},"differs_from_brand":{"items":{"$ref":"#/components/schemas/Difference"},"title":"Differs From Brand","type":"array"},"pictures_note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pictures Note"}},"required":["status","topic","generation_id","posts","settings","differs_from_brand"],"title":"PostsWritten","type":"object"},"Setting":{"additionalProperties":false,"properties":{"field":{"title":"Field","type":"string"},"value":{"description":"Any JSON value: text, number, true or false, or a list","title":"Value"},"from":{"description":"you, brand, brand profile, Skryvo default or no kept look","title":"From","type":"string"}},"required":["field","value","from"],"title":"Setting","type":"object"},"JobAccepted":{"additionalProperties":false,"properties":{"job_id":{"title":"Job Id","type":"string"},"status":{"const":"running","title":"Status","type":"string"},"secret":{"description":"Shown this once; signs the callback","title":"Secret","type":"string"},"poll_url":{"title":"Poll Url","type":"string"}},"required":["job_id","status","secret","poll_url"],"title":"JobAccepted","type":"object"},"Pictures":{"additionalProperties":false,"properties":{"brand_id":{"title":"Brand Id","type":"string"},"headline":{"title":"Headline","type":"string"},"pictures":{"items":{"$ref":"#/components/schemas/Picture"},"title":"Pictures","type":"array"},"credits_used":{"title":"Credits Used","type":"integer"},"credits_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Null when the plan has no limit","title":"Credits Left"}},"required":["brand_id","headline","pictures","credits_used"],"title":"Pictures","type":"object"},"BestTime":{"additionalProperties":false,"properties":{"platform":{"title":"Platform","type":"string"},"time":{"title":"Time","type":"string"},"rate":{"title":"Rate","type":"number"},"lift":{"title":"Lift","type":"number"},"posts":{"title":"Posts","type":"integer"},"of":{"title":"Of","type":"integer"}},"required":["platform","time","rate","lift","posts","of"],"title":"BestTime","type":"object"},"ChannelTotals":{"additionalProperties":false,"properties":{"posts":{"title":"Posts","type":"integer"},"measured":{"title":"Measured","type":"integer"},"unmeasured":{"title":"Unmeasured","type":"integer"},"reach":{"title":"Reach","type":"integer"},"engagements":{"title":"Engagements","type":"integer"},"clicks":{"title":"Clicks","type":"integer"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rate"},"platform":{"title":"Platform","type":"string"},"access":{"title":"Access","type":"string"}},"required":["posts","measured","unmeasured","reach","engagements","clicks","platform","access"],"title":"ChannelTotals","type":"object"},"Finding":{"additionalProperties":false,"properties":{"kind":{"title":"Kind","type":"string"},"text":{"title":"Text","type":"string"},"lift":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Lift"},"sample":{"title":"Sample","type":"string"},"postIds":{"items":{"type":"string"},"title":"Postids","type":"array"},"action":{"$ref":"#/components/schemas/FindingAction"},"weekday":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Weekday"},"band":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Band"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"}},"required":["kind","text","sample","postIds","action"],"title":"Finding","type":"object"},"FindingAction":{"additionalProperties":false,"properties":{"type":{"title":"Type","type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Hint"}},"required":["type"],"title":"FindingAction","type":"object"},"TopPost":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"title":{"title":"Title","type":"string"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"brandId":{"title":"Brandid","type":"string"},"generationId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Generationid"},"publishedAt":{"title":"Publishedat","type":"string"},"access":{"title":"Access","type":"string"},"reach":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Reach"},"reachKind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reachkind"},"engagements":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Engagements"},"clicks":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Clicks"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rate"},"vsUsual":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Vsusual"},"collectedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Collectedat"},"removed":{"title":"Removed","type":"boolean"},"tagged":{"title":"Tagged","type":"boolean"},"visits":{"anyOf":[{"$ref":"#/components/schemas/Visits"},{"type":"null"}],"default":null}},"required":["id","title","brandId","publishedAt","access","removed","tagged"],"title":"TopPost","type":"object"},"Totals":{"additionalProperties":false,"properties":{"posts":{"title":"Posts","type":"integer"},"measured":{"title":"Measured","type":"integer"},"unmeasured":{"title":"Unmeasured","type":"integer"},"reach":{"title":"Reach","type":"integer"},"engagements":{"title":"Engagements","type":"integer"},"clicks":{"title":"Clicks","type":"integer"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rate"}},"required":["posts","measured","unmeasured","reach","engagements","clicks"],"title":"Totals","type":"object"},"Visits":{"additionalProperties":false,"properties":{"sessions":{"title":"Sessions","type":"integer"},"engaged":{"title":"Engaged","type":"integer"},"asOf":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Asof"}},"required":["sessions","engaged"],"title":"Visits","type":"object"},"Results":{"additionalProperties":false,"properties":{"days":{"title":"Days","type":"integer"},"as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"As Of"},"totals":{"$ref":"#/components/schemas/Totals"},"previous_totals":{"$ref":"#/components/schemas/Totals"},"channels":{"items":{"$ref":"#/components/schemas/ChannelTotals"},"title":"Channels","type":"array"},"best_times":{"items":{"$ref":"#/components/schemas/BestTime"},"title":"Best Times","type":"array"},"findings":{"items":{"$ref":"#/components/schemas/Finding"},"title":"Findings","type":"array"},"top_posts":{"items":{"$ref":"#/components/schemas/TopPost"},"title":"Top Posts","type":"array"}},"required":["days","totals","previous_totals","channels","best_times","findings","top_posts"],"title":"Results","type":"object"},"Post":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"},"channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Channel Id"},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Date"},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Time"},"status":{"anyOf":[{"enum":["draft","scheduled","going_out","posted","didnt_post"],"type":"string"},{"type":"null"}],"default":null,"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"awaiting_approval":{"title":"Awaiting Approval","type":"boolean"},"reviewer_approval":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reviewer Approval"},"auto_publish":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Auto Publish"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Text"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Topic"},"written":{"title":"Written","type":"boolean"},"publish_error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Publish Error"},"posted_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Posted Url"},"open_in_skryvo":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Open In Skryvo"}},"required":["id","awaiting_approval","written"],"title":"Post","type":"object"},"Posts":{"additionalProperties":false,"properties":{"posts":{"items":{"$ref":"#/components/schemas/Post"},"title":"Posts","type":"array"}},"required":["posts"],"title":"Posts","type":"object"},"Platform":{"additionalProperties":false,"properties":{"platform":{"title":"Platform","type":"string"},"name":{"title":"Name","type":"string"},"kind":{"enum":["social","blog"],"title":"Kind","type":"string"},"can_connect":{"title":"Can Connect","type":"boolean"},"can":{"discriminator":{"mapping":{"articles":"#/components/schemas/ArticleRules","posts":"#/components/schemas/PostRules"},"propertyName":"takes"},"oneOf":[{"$ref":"#/components/schemas/PostRules"},{"$ref":"#/components/schemas/ArticleRules"}],"title":"Can"}},"required":["platform","name","kind","can_connect","can"],"title":"Platform","type":"object"},"Platforms":{"additionalProperties":false,"properties":{"platforms":{"items":{"$ref":"#/components/schemas/Platform"},"title":"Platforms","type":"array"}},"required":["platforms"],"title":"Platforms","type":"object"},"PlanItem":{"description":"Single item in generated plan.","properties":{"day":{"title":"Day","type":"string"},"date":{"format":"date","title":"Date","type":"string"},"time":{"title":"Time","type":"string"},"content_type":{"title":"Content Type","type":"string"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"},"topic":{"title":"Topic","type":"string"},"reasoning":{"title":"Reasoning","type":"string"},"is_repurpose":{"default":false,"title":"Is Repurpose","type":"boolean"}},"required":["day","date","time","content_type","topic","reasoning"],"title":"PlanItem","type":"object"},"PlanSummary":{"description":"Plan summary statistics.","properties":{"total_items":{"title":"Total Items","type":"integer"},"blogs":{"default":0,"title":"Blogs","type":"integer"},"social_posts":{"default":0,"title":"Social Posts","type":"integer"},"emails":{"default":0,"title":"Emails","type":"integer"},"repurposed":{"default":0,"title":"Repurposed","type":"integer"}},"required":["total_items"],"title":"PlanSummary","type":"object"},"GeneratedPlanResponse":{"description":"Generated content plan response.","properties":{"period":{"title":"Period","type":"string"},"start_date":{"format":"date","title":"Start Date","type":"string"},"end_date":{"format":"date","title":"End Date","type":"string"},"items":{"items":{"$ref":"#/components/schemas/PlanItem"},"title":"Items","type":"array"},"summary":{"$ref":"#/components/schemas/PlanSummary"}},"required":["period","start_date","end_date","items","summary"],"title":"GeneratedPlanResponse","type":"object"},"Added":{"additionalProperties":false,"properties":{"added":{"title":"Added","type":"integer"}},"required":["added"],"title":"Added","type":"object"},"AdReady":{"properties":{"score":{"maximum":100,"minimum":0,"title":"Score","type":"integer"},"ready":{"title":"Ready","type":"boolean"},"checks":{"items":{"$ref":"#/components/schemas/ReadyCheck"},"title":"Checks","type":"array"}},"required":["score","ready"],"title":"AdReady","type":"object"},"Asset":{"properties":{"text":{"title":"Text","type":"string"},"chars":{"title":"Chars","type":"integer"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Type"},"pin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pin"},"hook_chars":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Hook Chars"},"hook_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Hook Ok"}},"required":["text","chars"],"title":"Asset","type":"object"},"AssetLimit":{"description":"Echoes the platform spec so the client never hard-codes a limit of its own.","properties":{"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"max_chars":{"title":"Max Chars","type":"integer"},"recommended_chars":{"title":"Recommended Chars","type":"integer"},"hook_chars":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Hook Chars"},"serves_count":{"default":1,"title":"Serves Count","type":"integer"}},"required":["key","label","max_chars","recommended_chars"],"title":"AssetLimit","type":"object"},"ClaimFlag":{"properties":{"asset_ref":{"title":"Asset Ref","type":"string"},"claim":{"title":"Claim","type":"string"},"reason":{"title":"Reason","type":"string"},"fix":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Fix"}},"required":["asset_ref","claim","reason"],"title":"ClaimFlag","type":"object"},"PlatformResult":{"properties":{"platform":{"title":"Platform","type":"string"},"label":{"title":"Label","type":"string"},"variations":{"items":{"$ref":"#/components/schemas/Variation"},"title":"Variations","type":"array"},"limits":{"items":{"$ref":"#/components/schemas/AssetLimit"},"title":"Limits","type":"array"},"pin_advice":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pin Advice"},"sitelink_ideas":{"items":{"type":"string"},"title":"Sitelink Ideas","type":"array"}},"required":["platform","label"],"title":"PlatformResult","type":"object"},"ReadyCheck":{"properties":{"id":{"title":"Id","type":"string"},"status":{"enum":["pass","warn","fail"],"title":"Status","type":"string"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Detail"},"fixable":{"default":false,"title":"Fixable","type":"boolean"},"violations":{"items":{"type":"string"},"title":"Violations","type":"array"},"flags":{"items":{"$ref":"#/components/schemas/ClaimFlag"},"title":"Flags","type":"array"}},"required":["id","status"],"title":"ReadyCheck","type":"object"},"Variation":{"properties":{"angle":{"title":"Angle","type":"string"},"angle_label":{"title":"Angle Label","type":"string"},"angle_reason":{"title":"Angle Reason","type":"string"},"assets":{"additionalProperties":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},"title":"Assets","type":"object"},"cta":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Cta"},"ad_ready":{"anyOf":[{"$ref":"#/components/schemas/AdReady"},{"type":"null"}],"default":null}},"required":["angle","angle_label","angle_reason"],"title":"Variation","type":"object"},"AdsWritten":{"additionalProperties":false,"properties":{"generation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Generation Id"},"platforms":{"additionalProperties":{"$ref":"#/components/schemas/PlatformResult"},"title":"Platforms","type":"object"}},"required":["platforms"],"title":"AdsWritten","type":"object"},"Found":{"additionalProperties":false,"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Kind"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Created At"}},"title":"Found","type":"object"},"FoundContent":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Found"},"title":"Items","type":"array"}},"required":["items"],"title":"FoundContent","type":"object"},"Video":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Bytes"}},"required":["id"],"title":"Video","type":"object"},"Videos":{"additionalProperties":false,"properties":{"videos":{"items":{"$ref":"#/components/schemas/Video"},"title":"Videos","type":"array"}},"required":["videos"],"title":"Videos","type":"object"},"VideoUpload":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"upload_url":{"title":"Upload Url","type":"string"},"chunk_bytes":{"title":"Chunk Bytes","type":"integer"}},"required":["id","upload_url","chunk_bytes"],"title":"VideoUpload","type":"object"},"VideoReady":{"additionalProperties":false,"properties":{"video_id":{"title":"Video Id","type":"string"},"status":{"const":"ready","title":"Status","type":"string"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Seconds"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Height"}},"required":["video_id","status"],"title":"VideoReady","type":"object"},"ArticleCost":{"additionalProperties":false,"properties":{"generations":{"title":"Generations","type":"integer"},"image_credits_up_to":{"title":"Image Credits Up To","type":"integer"}},"required":["generations","image_credits_up_to"],"title":"ArticleCost","type":"object"},"Fact":{"additionalProperties":false,"properties":{"fact":{"title":"Fact","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"}},"required":["fact"],"title":"Fact","type":"object"},"Phrase":{"additionalProperties":false,"properties":{"phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Phrase"},"monthly_searches":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Monthly Searches"},"difficulty":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Difficulty"},"intent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Intent"}},"title":"Phrase","type":"object"},"PlanClash":{"properties":{"url":{"default":"","title":"Url","type":"string"},"title":{"title":"Title","type":"string"},"severity":{"title":"Severity","type":"string"},"message":{"title":"Message","type":"string"}},"required":["title","severity","message"],"title":"PlanClash","type":"object"},"SearchTarget":{"additionalProperties":false,"properties":{"phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Phrase"},"monthly_searches":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Monthly Searches"},"difficulty":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Difficulty"},"intent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Intent"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Market"},"winnable":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Why the phrase can or can't be won","title":"Winnable"},"ideas":{"items":{"$ref":"#/components/schemas/Phrase"},"title":"Ideas","type":"array"}},"required":["ideas"],"title":"SearchTarget","type":"object"},"Section":{"additionalProperties":false,"properties":{"heading":{"title":"Heading","type":"string"},"covers":{"title":"Covers","type":"string"}},"required":["heading","covers"],"title":"Section","type":"object"},"Source":{"additionalProperties":false,"properties":{"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"}},"required":["title","url"],"title":"Source","type":"object"},"ArticlePlan":{"additionalProperties":false,"properties":{"status":{"const":"confirm","title":"Status","type":"string"},"plan_id":{"title":"Plan Id","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"headline":{"title":"Headline","type":"string"},"other_headlines":{"items":{"type":"string"},"title":"Other Headlines","type":"array"},"search_phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Search Phrase"},"search":{"anyOf":[{"$ref":"#/components/schemas/SearchTarget"},{"type":"null"}],"default":null},"keywords":{"items":{"type":"string"},"title":"Keywords","type":"array"},"angle":{"title":"Angle","type":"string"},"outline":{"items":{"$ref":"#/components/schemas/Section"},"title":"Outline","type":"array"},"questions":{"items":{"type":"string"},"title":"Questions","type":"array"},"already_written":{"items":{"$ref":"#/components/schemas/PlanClash"},"title":"Already Written","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/Source"},"title":"Sources","type":"array"},"facts":{"items":{"$ref":"#/components/schemas/Fact"},"title":"Facts","type":"array"},"other_search_phrases":{"items":{"type":"string"},"title":"Other Search Phrases","type":"array"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"},"cost":{"$ref":"#/components/schemas/ArticleCost"},"left":{"$ref":"#/components/schemas/Allowance"},"differs_from_brand":{"items":{"$ref":"#/components/schemas/Difference"},"title":"Differs From Brand","type":"array"},"plans_left":{"title":"Plans Left","type":"integer"},"expires_at":{"title":"Expires At","type":"string"}},"required":["status","plan_id","headline","other_headlines","keywords","angle","outline","questions","already_written","sources","facts","other_search_phrases","settings","cost","left","differs_from_brand","plans_left","expires_at"],"title":"ArticlePlan","type":"object"},"JobError":{"additionalProperties":false,"properties":{"status":{"description":"The HTTP status the call would have answered","title":"Status","type":"integer"},"detail":{"title":"Detail","type":"string"}},"required":["status","detail"],"title":"JobError","type":"object"},"Job":{"additionalProperties":false,"properties":{"job_id":{"title":"Job Id","type":"string"},"kind":{"enum":["drafts","pictures","article_plan"],"title":"Kind","type":"string"},"status":{"enum":["running","done","failed"],"title":"Status","type":"string"},"answer":{"anyOf":[{"$ref":"#/components/schemas/PostsToConfirm"},{"$ref":"#/components/schemas/PostsWritten"},{"$ref":"#/components/schemas/Pictures"},{"$ref":"#/components/schemas/ArticlePlan"},{"type":"null"}],"default":null,"description":"The route's own answer, once done","title":"Answer"},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"default":null},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Finished At"}},"required":["job_id","kind","status"],"title":"Job","type":"object"},"ArticleDone":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"status":{"const":"done","title":"Status","type":"string"},"generation_id":{"title":"Generation Id","type":"string"},"title":{"title":"Title","type":"string"},"words":{"title":"Words","type":"integer"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Score"},"markdown":{"title":"Markdown","type":"string"},"complete":{"title":"Complete","type":"boolean"},"claims":{"$ref":"#/components/schemas/Claims"},"open_in_skryvo":{"title":"Open In Skryvo","type":"string"}},"required":["article_id","status","generation_id","title","words","markdown","complete","claims","open_in_skryvo"],"title":"ArticleDone","type":"object"},"ArticleFailed":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"status":{"const":"failed","title":"Status","type":"string"},"error":{"title":"Error","type":"string"},"charged":{"const":false,"title":"Charged","type":"boolean"}},"required":["article_id","status","error","charged"],"title":"ArticleFailed","type":"object"},"ArticleStarted":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"status":{"const":"writing","title":"Status","type":"string"},"minutes":{"title":"Minutes","type":"integer"},"settings":{"items":{"$ref":"#/components/schemas/ChosenSetting"},"title":"Settings","type":"array"}},"required":["article_id","status","minutes","settings"],"title":"ArticleStarted","type":"object"},"ArticleWriting":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"status":{"const":"writing","title":"Status","type":"string"},"stage":{"title":"Stage","type":"string"}},"required":["article_id","status","stage"],"title":"ArticleWriting","type":"object"},"ChosenSetting":{"additionalProperties":false,"properties":{"field":{"title":"Field","type":"string"},"value":{"default":null,"title":"Value"}},"required":["field"],"title":"ChosenSetting","type":"object"},"Claim":{"additionalProperties":false,"properties":{"claim":{"title":"Claim","type":"string"},"verdict":{"title":"Verdict","type":"string"},"why":{"title":"Why","type":"string"},"sources":{"items":{"type":"string"},"title":"Sources","type":"array"}},"required":["claim","verdict","why","sources"],"title":"Claim","type":"object"},"Claims":{"additionalProperties":false,"properties":{"checked":{"title":"Checked","type":"integer"},"verified":{"title":"Verified","type":"integer"},"by_verdict":{"additionalProperties":{"type":"integer"},"title":"By Verdict","type":"object"},"items":{"items":{"$ref":"#/components/schemas/Claim"},"title":"Items","type":"array"}},"required":["checked","verified","by_verdict","items"],"title":"Claims","type":"object"},"BlogDraft":{"additionalProperties":false,"properties":{"status":{"const":"draft","title":"Status","type":"string"},"channel_id":{"title":"Channel Id","type":"string"},"edit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Edit Url"},"preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Preview Url"},"pictures_uploaded":{"title":"Pictures Uploaded","type":"integer"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"}},"required":["status","channel_id","pictures_uploaded","warnings"],"title":"BlogDraft","type":"object"},"ArticlePublished":{"additionalProperties":false,"properties":{"post":{"anyOf":[{"$ref":"#/components/schemas/Post"},{"$ref":"#/components/schemas/BlogDraft"}],"description":"The scheduled post, or with as_draft the draft now on the blog","title":"Post"}},"required":["post"],"title":"ArticlePublished","type":"object"},"ArticleSeo":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Score"},"keyword":{"title":"Keyword","type":"string"},"words":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Words"},"issues":{"items":{"type":"string"},"title":"Issues","type":"array"},"improvements":{"items":{"type":"string"},"title":"Improvements","type":"array"},"next_improvement_free":{"title":"Next Improvement Free","type":"boolean"},"left":{"$ref":"#/components/schemas/Allowance"}},"required":["article_id","keyword","issues","improvements","next_improvement_free","left"],"title":"ArticleSeo","type":"object"},"ArticleImproved":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"goal":{"enum":["seo","geo_citations","accuracy"],"title":"Goal","type":"string"},"score_before":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Score Before"},"score_after":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Score After"},"changes":{"items":{"type":"string"},"title":"Changes","type":"array"},"remaining_issues":{"items":{"type":"string"},"title":"Remaining Issues","type":"array"},"saved_as_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Saved As Version"},"charged":{"title":"Charged","type":"boolean"},"open_in_skryvo":{"title":"Open In Skryvo","type":"string"}},"required":["article_id","goal","changes","remaining_issues","charged","open_in_skryvo"],"title":"ArticleImproved","type":"object"},"Place":{"additionalProperties":false,"properties":{"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"published_at":{"title":"Published At","type":"string"},"removed":{"title":"Removed","type":"boolean"},"reach":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Reach"},"reach_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reach Kind"},"engagements":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Engagements"},"clicks":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Clicks"},"search":{"anyOf":[{"$ref":"#/components/schemas/SearchNumbers"},{"type":"null"}],"default":null},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Read At"}},"required":["published_at","removed"],"title":"Place","type":"object"},"SearchNumbers":{"additionalProperties":false,"properties":{"clicks":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Clicks"},"impressions":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Impressions"},"ctr":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Ctr"},"position":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Position"}},"title":"SearchNumbers","type":"object"},"ArticleResults":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"title":{"title":"Title","type":"string"},"places":{"items":{"$ref":"#/components/schemas/Place"},"title":"Places","type":"array"},"open_in_skryvo":{"title":"Open In Skryvo","type":"string"}},"required":["article_id","title","places","open_in_skryvo"],"title":"ArticleResults","type":"object"},"Receipt":{"additionalProperties":false,"properties":{"headings":{"title":"Headings","type":"integer"},"pictures":{"title":"Pictures","type":"integer"},"tables":{"title":"Tables","type":"integer"},"links":{"title":"Links","type":"integer"},"words":{"title":"Words","type":"integer"}},"required":["headings","pictures","tables","links","words"],"title":"Receipt","type":"object"},"ArticleImported":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"status":{"const":"done","title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"receipt":{"$ref":"#/components/schemas/Receipt"},"left_out":{"additionalProperties":{"type":"integer"},"title":"Left Out","type":"object"}},"required":["article_id","status","title","receipt","left_out"],"title":"ArticleImported","type":"object"},"RepurposedPost":{"additionalProperties":false,"properties":{"platform":{"title":"Platform","type":"string"},"text":{"title":"Text","type":"string"},"generation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Generation Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Error"}},"required":["platform","text"],"title":"RepurposedPost","type":"object"},"Repurposed":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"posts":{"items":{"$ref":"#/components/schemas/RepurposedPost"},"title":"Posts","type":"array"},"left":{"$ref":"#/components/schemas/Allowance"}},"required":["article_id","posts","left"],"title":"Repurposed","type":"object"},"EmailToConfirm":{"additionalProperties":false,"properties":{"status":{"const":"confirm","title":"Status","type":"string"},"about":{"title":"About","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"},"cost":{"$ref":"#/components/schemas/OneGeneration"},"left":{"$ref":"#/components/schemas/Allowance"}},"required":["status","about","settings","cost","left"],"title":"EmailToConfirm","type":"object"},"EmailWritten":{"additionalProperties":false,"properties":{"status":{"const":"written","title":"Status","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"generation_id":{"title":"Generation Id","type":"string"},"subject_lines":{"items":{"type":"string"},"title":"Subject Lines","type":"array"},"preheader":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Preheader"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"call_to_action":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Call To Action"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"}},"required":["status","generation_id","subject_lines","settings"],"title":"EmailWritten","type":"object"},"OneGeneration":{"additionalProperties":false,"properties":{"generations":{"title":"Generations","type":"integer"}},"required":["generations"],"title":"OneGeneration","type":"object"},"ListingToConfirm":{"additionalProperties":false,"properties":{"status":{"const":"confirm","title":"Status","type":"string"},"product":{"title":"Product","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"},"cost":{"$ref":"#/components/schemas/OneGeneration"},"left":{"$ref":"#/components/schemas/Allowance"}},"required":["status","product","settings","cost","left"],"title":"ListingToConfirm","type":"object"},"ListingWritten":{"additionalProperties":false,"properties":{"status":{"const":"written","title":"Status","type":"string"},"brand_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Brand Id"},"generation_id":{"title":"Generation Id","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"listing":{"additionalProperties":true,"description":"The marketplace's own fields","title":"Listing","type":"object"},"settings":{"items":{"$ref":"#/components/schemas/Setting"},"title":"Settings","type":"array"}},"required":["status","generation_id","listing","settings"],"title":"ListingWritten","type":"object"},"EnoughFor":{"additionalProperties":false,"properties":{"articles":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Articles"},"post_batches":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Post Batches"},"post_pictures":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Post Pictures"}},"title":"EnoughFor","type":"object"},"Balance":{"additionalProperties":false,"properties":{"plan":{"title":"Plan","type":"string"},"access":{"title":"Access","type":"string"},"trial_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Trial Ends At"},"left":{"$ref":"#/components/schemas/Allowance"},"article_plans_left":{"anyOf":[{"type":"integer"},{"const":"unlimited","type":"string"},{"type":"null"}],"default":null,"title":"Article Plans Left"},"enough_for":{"$ref":"#/components/schemas/EnoughFor"}},"required":["plan","access","left","enough_for"],"title":"Balance","type":"object"},"DefaultsSaved":{"additionalProperties":false,"properties":{"brand_id":{"title":"Brand Id","type":"string"},"kind":{"enum":["post","article"],"title":"Kind","type":"string"},"saved":{"additionalProperties":true,"title":"Saved","type":"object"}},"required":["brand_id","kind","saved"],"title":"DefaultsSaved","type":"object"},"Webhook":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"url":{"title":"Url","type":"string"},"events":{"items":{"type":"string"},"title":"Events","type":"array"},"status":{"enum":["active","paused"],"title":"Status","type":"string"},"paused_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Paused Reason"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Created At"},"last_delivery_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Last Delivery At"},"failures":{"title":"Failures","type":"integer"}},"required":["id","url","events","status","failures"],"title":"Webhook","type":"object"},"Webhooks":{"additionalProperties":false,"properties":{"webhooks":{"items":{"$ref":"#/components/schemas/Webhook"},"title":"Webhooks","type":"array"}},"required":["webhooks"],"title":"Webhooks","type":"object"},"WebhookCreated":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"url":{"title":"Url","type":"string"},"events":{"items":{"type":"string"},"title":"Events","type":"array"},"status":{"enum":["active","paused"],"title":"Status","type":"string"},"paused_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Paused Reason"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Created At"},"last_delivery_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Last Delivery At"},"failures":{"title":"Failures","type":"integer"},"secret":{"description":"Shown this once; signs every delivery","title":"Secret","type":"string"}},"required":["id","url","events","status","failures","secret"],"title":"WebhookCreated","type":"object"},"Delivery":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"event_id":{"title":"Event Id","type":"string"},"type":{"title":"Type","type":"string"},"test":{"title":"Test","type":"boolean"},"status":{"enum":["pending","delivered","failed"],"title":"Status","type":"string"},"attempts":{"title":"Attempts","type":"integer"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Response Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Error"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Created At"},"delivered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Delivered At"},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Attempt At"}},"required":["id","event_id","type","test","status","attempts"],"title":"Delivery","type":"object"},"Deliveries":{"additionalProperties":false,"properties":{"deliveries":{"items":{"$ref":"#/components/schemas/Delivery"},"title":"Deliveries","type":"array"}},"required":["deliveries"],"title":"Deliveries","type":"object"},"PostPublishedEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"post.published","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/Post"}},"required":["id","created","test","type","data"],"title":"PostPublishedEvent","type":"object"},"PostFailedEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"post.failed","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/Post"}},"required":["id","created","test","type","data"],"title":"PostFailedEvent","type":"object"},"ArticleReadyData":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"generation_id":{"title":"Generation Id","type":"string"},"title":{"title":"Title","type":"string"},"words":{"title":"Words","type":"integer"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Score"},"open_in_skryvo":{"title":"Open In Skryvo","type":"string"}},"required":["article_id","generation_id","title","words","open_in_skryvo"],"title":"ArticleReadyData","type":"object"},"ArticleReadyEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"article.ready","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/ArticleReadyData"}},"required":["id","created","test","type","data"],"title":"ArticleReadyEvent","type":"object"},"ArticleFailedData":{"additionalProperties":false,"properties":{"article_id":{"title":"Article Id","type":"string"},"error":{"title":"Error","type":"string"},"charged":{"const":false,"title":"Charged","type":"boolean"}},"required":["article_id","error","charged"],"title":"ArticleFailedData","type":"object"},"ArticleFailedEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"article.failed","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/ArticleFailedData"}},"required":["id","created","test","type","data"],"title":"ArticleFailedEvent","type":"object"},"ResultsData":{"additionalProperties":false,"properties":{"post_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Post Id"},"publication_id":{"title":"Publication Id","type":"string"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Platform"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"milestone":{"enum":["1h","24h","7d","30d","60d","90d"],"title":"Milestone","type":"string"},"reach":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Reach"},"reach_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reach Kind"},"engagements":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Engagements"},"clicks":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Clicks"},"collected_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Collected At"}},"required":["publication_id","milestone"],"title":"ResultsData","type":"object"},"ResultsReadyEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"results.ready","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/ResultsData"}},"required":["id","created","test","type","data"],"title":"ResultsReadyEvent","type":"object"},"JobDoneEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"job.done","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/Job"}},"required":["id","created","test","type","data"],"title":"JobDoneEvent","type":"object"},"JobFailedEvent":{"additionalProperties":false,"properties":{"id":{"description":"The event's id, the same on every endpoint and retry","title":"Id","type":"string"},"created":{"title":"Created","type":"string"},"test":{"title":"Test","type":"boolean"},"type":{"const":"job.failed","title":"Type","type":"string"},"data":{"$ref":"#/components/schemas/Job"}},"required":["id","created","test","type","data"],"title":"JobFailedEvent","type":"object"}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"sk_skryvo_…","description":"A personal API key from Settings › API & agents, shown once."},"oauth":{"type":"oauth2","description":"Sign-in for apps: register at /oauth/register, then authorization code with PKCE (S256). Access tokens (sko_…) last an hour; refresh tokens rotate.","flows":{"authorizationCode":{"authorizationUrl":"https://api.skryvo.ai/oauth/authorize","tokenUrl":"https://api.skryvo.ai/oauth/token","refreshUrl":"https://api.skryvo.ai/oauth/token","scopes":{"skryvo":"Act for the signed-in person in Skryvo."}}}}}},"tags":[{"name":"Account","description":"Who the key belongs to and what the plan still allows."},{"name":"Brands","description":"Brands, their design and the look new pictures wear."},{"name":"Channels","description":"Connected accounts and every channel Skryvo offers."},{"name":"Posts","description":"Write, design, schedule, change and review social posts."},{"name":"Articles","description":"Plan, write, check, improve and publish blog articles."},{"name":"Calendar","description":"Plan a week or a month of posts."},{"name":"Writing","description":"Emails, product listings and ad copy."},{"name":"Videos","description":"Upload the person's own videos to post."},{"name":"Results","description":"How published posts and articles did."},{"name":"Webhooks","description":"Signed event deliveries to your own HTTPS endpoint."}],"webhooks":{"post.published":{"post":{"summary":"A post went live","description":"A scheduled post or article went out and was read back from the channel. `data` is the post, with `posted_url` set.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_post_published","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublishedEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"post.published","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"posted","reason":null,"awaiting_approval":false,"reviewer_approval":null,"auto_publish":true,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":null,"posted_url":"https://www.linkedin.com/feed/1","open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"post.failed":{"post":{"summary":"A post could not go out","description":"Skryvo stopped trying to publish a post. `data` is the post, with `publish_error` saying why in plain words; the person can fix it and try again in the app.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_post_failed","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostFailedEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"post.failed","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"id":"c1a2b3c4d5","platform":"linkedin","channel_id":"conn_8f2e1a","date":"2026-11-24","time":"09:00","status":"didnt_post","reason":"LinkedIn didn't take it. Check LinkedIn, then press Try again.","awaiting_approval":false,"reviewer_approval":null,"auto_publish":false,"text":"We just opened our new studio in Leeds. Come say hello this Saturday.","topic":"New studio opening","written":true,"publish_error":"LinkedIn didn't take it. Check LinkedIn, then press Try again.","posted_url":null,"open_in_skryvo":"https://app.skryvo.ai/calendar?date=2026-11-24"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"article.ready":{"post":{"summary":"An article finished writing","description":"An article written through this API finished. Its full text is at `GET /articles/{article_id}`.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_article_ready","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleReadyEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"article.ready","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"article_id":"pl_91ab3e","generation_id":"gen_a7c2f0","title":"How to choose a coffee grinder for home","words":1512,"score":88,"open_in_skryvo":"https://app.skryvo.ai/generate/blog/gen_a7c2f0"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"article.failed":{"post":{"summary":"An article could not be written","description":"An article written through this API stopped. It was not charged.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_article_failed","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFailedEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"article.failed","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"article_id":"pl_91ab3e","error":"The article could not be written. Try again.","charged":false}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"results.ready":{"post":{"summary":"New numbers for a published post","description":"A published post's numbers were read at a checkpoint: 1h, 24h, 7d, 30d, 60d or 90d after it went out. A number the platform does not give is null.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_results_ready","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultsReadyEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"results.ready","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"post_id":"c1a2b3c4d5","publication_id":"linkedin_7140001","platform":"linkedin","url":"https://www.linkedin.com/feed/1","milestone":"24h","reach":1840,"reach_kind":"impressions","engagements":66,"clicks":14,"collected_at":"2026-11-25T09:00:00+00:00"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"job.done":{"post":{"summary":"A long call finished","description":"Posted to a call's own `callback_url`, never to a webhook. `data` is the job, with the route's answer.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_job_done","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDoneEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"job.done","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","kind":"pictures","status":"done","answer":{"brand_id":"bv_3c9d0e","headline":"Our new studio opens Saturday","pictures":[{"platform":"linkedin","image_url":"https://media.skryvo.ai/images/u1/p-1200.jpg","width":1200,"height":1200}],"credits_used":4,"credits_left":176},"error":null,"started_at":"2026-11-24T09:00:00+00:00","finished_at":"2026-11-24T09:01:12+00:00"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}},"job.failed":{"post":{"summary":"A long call could not finish","description":"Posted to a call's own `callback_url`, never to a webhook. `data` is the job, with the refusal; nothing was charged.\n\nEach delivery is a POST with `Skryvo-Event`, `Skryvo-Delivery` and `Skryvo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256>`, where the HMAC is keyed by the whole secret (`whsec_…`) over `<t>.<raw body>`. Compare in constant time and refuse a `t` more than five minutes old. Answer 2xx within 10 seconds; anything else is retried after 5 minutes, 30 minutes, 2, 6 and 12 hours, and an endpoint is paused after 15 failed tries in a row.","operationId":"on_job_failed","tags":["Webhooks"],"parameters":[{"name":"Skryvo-Event","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Delivery","in":"header","required":true,"schema":{"type":"string"}},{"name":"Skryvo-Signature","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobFailedEvent"},"example":{"id":"evt_6f1d0c9e8b7a6f5e4d3c2b1a","type":"job.failed","created":"2026-11-24T09:00:03+00:00","test":false,"data":{"job_id":"job_5e4d3c2b1a09f8e7d6c5b4a3","kind":"pictures","status":"failed","answer":null,"error":{"status":422,"detail":"This brand has no kept look yet."},"started_at":"2026-11-24T09:00:00+00:00","finished_at":"2026-11-24T09:01:12+00:00"}}}}},"responses":{"2XX":{"description":"Received; any other answer is retried."}}}}},"security":[{"apiKey":[]},{"oauth":["skryvo"]}]}