Onboarding
Set up a new project through the API: create it, pay, add pages, personas and the brief, review prompts, start the first measurement.
HTTPBearerAuthorizationBearer <token>application/json- body
name*Name1 <= length <= 200domain*DomainThe site's domain, for example example.com. An address is cut to its host; a subdomain stays.
1 <= length <= 253country*CountryThe market by the country's English name, for example Germany. Engines answer as from there.
language*LanguageThe language prompts are written in, by English name, for example German.
Successful Response
application/json- response
id*IdSend it in the header Zued-Project for the next steps.
name*Namedomain*string|nullcountry*Countrylanguage*Languageplan*PlanThe plan of the slot the project took: a free paid slot first, else the account's demo slot. demo measures once on few pages; POST /v1/checkout buys a plan and POST /v1/slot moves the project onto it.
page_limit*Page LimitPages the plan allows. POST /v1/pages refuses more with 402.
curl -X POST 'https://api.zued.ai/v1/projects' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "domain": "string", "country": "string", "language": "string"}'{ "id": "string", "name": "string", "domain": "string", "country": "string", "language": "string", "plan": "string", "page_limit": 0}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
urls*array<>Full addresses of the site's pages. Each counts against the plan's page limit.
1 <= items <= 500Successful Response
application/json- response
pages*PagesPages sent to the analysis, each address once.
skipped*array<string>Addresses the project holds already. They are not read again.
page_limit*Page LimitPages the project's plan allows.
curl -X POST 'https://api.zued.ai/v1/pages' \ -H 'Content-Type: application/json' \ -d '{ "urls": [ "http://example.com" ]}'{ "pages": 0, "skipped": [ "string" ], "page_limit": 0}HTTPBearerAuthorizationBearer <token>application/json- body
plan*PlanThe plan the slot is bought on. Enterprise is agreed with zued.
"pilot""growth"billing_interval?Billing Interval"monthly""monthly""yearly"engines?array<string>|The engines the slot's project is measured on, of chatgpt, gemini, google_ai_mode, perplexity, bing_ai_mode, meta_ai. Picks past the plan's included engines are paid extras. Left out: the plan's own engines.
Successful Response
application/json- response
url*UrlThe checkout page. Give it to the person who pays: zued creates the slot when the payment arrives, and GET /v1/slots then lists it as free.
curl -X POST 'https://api.zued.ai/v1/checkout' \ -H 'Content-Type: application/json' \ -d '{ "plan": "pilot"}'{ "url": "string"}HTTPBearerAuthorizationBearer <token>Successful Response
application/json- response
slots*array<>The slots of the key's creator, oldest first. A slot stays with its project until the project is archived.
curl -X GET 'https://api.zued.ai/v1/slots'{ "slots": [ { "id": "string", "plan": "string", "status": "string", "project_id": "string", "free": true } ]}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
slot_id*Slot IdA free slot of GET /v1/slots.
uuidSuccessful Response
application/json- response
slot_id*Slot Idplan*Planpage_limit*Page LimitPages the plan allows the project.
curl -X POST 'https://api.zued.ai/v1/slot' \ -H 'Content-Type: application/json' \ -d '{ "slot_id": "d523579d-6c79-4c6c-b245-75caa273f86e"}'{ "slot_id": "string", "plan": "string", "page_limit": 0}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
personas*array<>The project's personas; in the answer to POST /v1/personas, the ones it added.
confirmed*ConfirmedConfirmed personas: prompts are written from them, and no persona is added after.
pages_analysing*Pages AnalysingThe page analysis runs and builds personas from the pages. POST /v1/personas/confirm waits until it is false.
curl -X GET 'https://api.zued.ai/v1/personas'{ "personas": [ { "id": "string", "name": "string", "situation": "string", "pain_point": "string", "needs": [ "string" ], "origin": "aggregated" } ], "confirmed": true, "pages_analysing": true}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
text*TextThe customers in free words. Each distinct customer becomes a persona; prompts are asked as them.
1 <= length <= 2000000Successful Response
application/json- response
personas*array<>The project's personas; in the answer to POST /v1/personas, the ones it added.
confirmed*ConfirmedConfirmed personas: prompts are written from them, and no persona is added after.
pages_analysing*Pages AnalysingThe page analysis runs and builds personas from the pages. POST /v1/personas/confirm waits until it is false.
curl -X POST 'https://api.zued.ai/v1/personas' \ -H 'Content-Type: application/json' \ -d '{ "text": "string"}'{ "personas": [ { "id": "string", "name": "string", "situation": "string", "pain_point": "string", "needs": [ "string" ], "origin": "aggregated" } ], "confirmed": true, "pages_analysing": true}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
personas*Personasprompts_started*Prompts StartedPrompt writing started for the pages without prompts. GET /v1/review lists them as they come.
reason*|Why no prompt writing started, when none did.
curl -X POST 'https://api.zued.ai/v1/personas/confirm'{ "personas": 0, "prompts_started": true, "reason": "string"}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
market_description?|What the company offers and to whom, in its own words. An empty text clears it.
seed_topics?array<string>|Topics the prompts must cover. Replaces the stored list.
Successful Response
application/json- response
market_description*string|nullseed_topics*array<string>curl -X PUT 'https://api.zued.ai/v1/brief' \ -H 'Content-Type: application/json' \ -d '{}'{ "market_description": "string", "seed_topics": [ "string" ]}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
prompts*array<>The prompts waiting for review, oldest first.
being_written*Being WrittenPrompts are still being written. POST /v1/review/approve waits until it is false.
curl -X GET 'https://api.zued.ai/v1/review'{ "prompts": [ { "id": "string", "text": "string", "topic": "string", "goal": "string", "page_id": "string", "page_url": "string", "kind": "standard" } ], "being_written": true}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
text*Text10 <= length <= 2000page_id?|The page it measures (GET /v1/pages). Left out, zued files it under the page that fits best.
topic?string|nullgoal?|nullpersona_id?|The persona it is asked as (GET /v1/personas).
Successful Response
application/json- response
id*Idtext*Texttopic*string|nullgoal*|exploratory, evaluative or specific: what the asker wants from the answer.
page_id*|The page it measures. Null for a competition question, which has none.
page_url*string|nullkind*Kindfact_check: checks a claim of the page. competition: asks which provider an engine recommends.
"standard""fact_check""competition"curl -X POST 'https://api.zued.ai/v1/review' \ -H 'Content-Type: application/json' \ -d '{ "text": "stringstri"}'{ "id": "string", "text": "string", "topic": "string", "goal": "string", "page_id": "string", "page_url": "string", "kind": "standard"}HTTPBearerAuthorizationBearer <token>prompt_id*Prompt IduuidZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
text?|nulltopic?string|nullgoal?|nullSuccessful Response
application/json- response
id*Idtext*Texttopic*string|nullgoal*|exploratory, evaluative or specific: what the asker wants from the answer.
page_id*|The page it measures. Null for a competition question, which has none.
page_url*string|nullkind*Kindfact_check: checks a claim of the page. competition: asks which provider an engine recommends.
"standard""fact_check""competition"curl -X PUT 'https://api.zued.ai/v1/review/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "text": "string", "topic": "string", "goal": "string", "page_id": "string", "page_url": "string", "kind": "standard"}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
approved*ApprovedPrompts approved. Their measurement is queued; on a new project the event analysis.completed says when the first one is ready.
curl -X POST 'https://api.zued.ai/v1/review/approve'{ "approved": 0}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
brand*|The name the project's own brand is counted under. Null before it has one.
candidates*array<>Names in the answers that may belong to the brand.
pending*PendingNames still under review. Read again in a few minutes.
curl -X GET 'https://api.zued.ai/v1/brand-proposal'{ "brand": "string", "candidates": [ { "name": "string", "display": "string", "kind": "alias", "reason": "string", "appearance": 0 } ], "pending": 0}HTTPBearerAuthorizationBearer <token>Zued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
names*array<string>Candidates of GET /v1/brand-proposal to count as the project's own brand, as the app's Count as does.
1 <= itemsSuccessful Response
application/json- response
brand*Brandcounted*array<string>The names now counted as the brand too. Its figures are recounted.
curl -X POST 'https://api.zued.ai/v1/brand-proposal/confirm' \ -H 'Content-Type: application/json' \ -d '{ "names": [ "string" ]}'{ "brand": "string", "counted": [ "string" ]}HTTPBearerAuthorizationBearer <token>page_id*Page IdA page's id from GET /v1/pages.
uuidZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
application/json- body
url*UrlThe new address, on the project's domain. For a redirected page: its redirect_url, as the app's "Use new address" does.
uri1 <= length <= 2083prompts?|Only for a measured page: keep moves its prompts and their answers to the new address, fresh starts new ones. An unreadable page has no prompts and takes none.
Successful Response
application/json- response
old_url*Old Urlnew_url*New Urlold_page*Old PageWhat happens to the old page: an unreadable one is deleted when the analysis starts, a measured one is archived once the new address is read.
"delete""archive"curl -X POST 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/replace' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com"}'{ "old_url": "string", "new_url": "string", "old_page": "delete"}HTTPBearerAuthorizationBearer <token>page_id*Page IdA page's id from GET /v1/pages.
uuidZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
url*UrlThe page read again. GET /v1/pages says how it went once the analysis ends.
curl -X POST 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/retry'{ "url": "string"}HTTPBearerAuthorizationBearer <token>page_id*Page IdA page's id from GET /v1/pages.
uuidZued-Project?|The project this request reads, by id. Needed with an account key (from sign-in by link); a project key reads its own project and ignores it. GET /v1/projects lists the ids.
Successful Response
application/json- response
url*Urloutcome*Outcomedeleted: an unreadable page, which has no history. archived: a measured page, kept with its history and prompts; the app restores it. Either way its page of the plan is free again.
"deleted""archived"curl -X DELETE 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "url": "string", "outcome": "deleted"}