Skip to Content
zued

Onboarding

Set up a new project through the API: create it, pay, add pages, personas and the brief, review prompts, start the first measurement.

POST
/projects

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
name*Name
Length1 <= length <= 200
domain*Domain

The site's domain, for example example.com. An address is cut to its host; a subdomain stays.

Length1 <= length <= 253
country*Country

The market by the country's English name, for example Germany. Engines answer as from there.

language*Language

The language prompts are written in, by English name, for example German.

Response Body

Successful Response

application/json
  1. response
id*Id

Send it in the header Zued-Project for the next steps.

name*Name
domain*string|null
country*Country
language*Language
plan*Plan

The 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 Limit

Pages the plan allows. POST /v1/pages refuses more with 402.

Example Request
curl -X POST 'https://api.zued.ai/v1/projects' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "domain": "string",  "country": "string",  "language": "string"}'
Example Response
{  "id": "string",  "name": "string",  "domain": "string",  "country": "string",  "language": "string",  "plan": "string",  "page_limit": 0}
POST
/pages

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. body
urls*array<>

Full addresses of the site's pages. Each counts against the plan's page limit.

Items1 <= items <= 500

Response Body

Successful Response

application/json
  1. response
pages*Pages

Pages sent to the analysis, each address once.

skipped*array<string>

Addresses the project holds already. They are not read again.

page_limit*Page Limit

Pages the project's plan allows.

Example Request
curl -X POST 'https://api.zued.ai/v1/pages' \  -H 'Content-Type: application/json' \  -d '{  "urls": [    "http://example.com"  ]}'
Example Response
{  "pages": 0,  "skipped": [    "string"  ],  "page_limit": 0}
POST
/checkout

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
plan*Plan

The plan the slot is bought on. Enterprise is agreed with zued.

Value in"pilot""growth"
billing_interval?Billing Interval
Default"monthly"
Value in"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.

Response Body

Successful Response

application/json
  1. response
url*Url

The 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.

Example Request
curl -X POST 'https://api.zued.ai/v1/checkout' \  -H 'Content-Type: application/json' \  -d '{  "plan": "pilot"}'
Example Response
{  "url": "string"}
GET
/slots

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response
slots*array<>

The slots of the key's creator, oldest first. A slot stays with its project until the project is archived.

Example Request
curl -X GET 'https://api.zued.ai/v1/slots'
Example Response200
{  "slots": [    {      "id": "string",      "plan": "string",      "status": "string",      "project_id": "string",      "free": true    }  ]}
POST
/slot

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. body
slot_id*Slot Id

A free slot of GET /v1/slots.

Formatuuid

Response Body

Successful Response

application/json
  1. response
slot_id*Slot Id
plan*Plan
page_limit*Page Limit

Pages the plan allows the project.

Example Request
curl -X POST 'https://api.zued.ai/v1/slot' \  -H 'Content-Type: application/json' \  -d '{  "slot_id": "d523579d-6c79-4c6c-b245-75caa273f86e"}'
Example Response
{  "slot_id": "string",  "plan": "string",  "page_limit": 0}
GET
/personas

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
personas*array<>

The project's personas; in the answer to POST /v1/personas, the ones it added.

confirmed*Confirmed

Confirmed personas: prompts are written from them, and no persona is added after.

pages_analysing*Pages Analysing

The page analysis runs and builds personas from the pages. POST /v1/personas/confirm waits until it is false.

Example Request
curl -X GET 'https://api.zued.ai/v1/personas'
Example Response
{  "personas": [    {      "id": "string",      "name": "string",      "situation": "string",      "pain_point": "string",      "needs": [        "string"      ],      "origin": "aggregated"    }  ],  "confirmed": true,  "pages_analysing": true}
POST
/personas

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. body
text*Text

The customers in free words. Each distinct customer becomes a persona; prompts are asked as them.

Length1 <= length <= 2000000

Response Body

Successful Response

application/json
  1. response
personas*array<>

The project's personas; in the answer to POST /v1/personas, the ones it added.

confirmed*Confirmed

Confirmed personas: prompts are written from them, and no persona is added after.

pages_analysing*Pages Analysing

The page analysis runs and builds personas from the pages. POST /v1/personas/confirm waits until it is false.

Example Request
curl -X POST 'https://api.zued.ai/v1/personas' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
Example Response
{  "personas": [    {      "id": "string",      "name": "string",      "situation": "string",      "pain_point": "string",      "needs": [        "string"      ],      "origin": "aggregated"    }  ],  "confirmed": true,  "pages_analysing": true}
POST
/personas/confirm

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
personas*Personas
prompts_started*Prompts Started

Prompt writing started for the pages without prompts. GET /v1/review lists them as they come.

reason*|

Why no prompt writing started, when none did.

Example Request
curl -X POST 'https://api.zued.ai/v1/personas/confirm'
Example Response
{  "personas": 0,  "prompts_started": true,  "reason": "string"}
PUT
/brief

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. 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.

Response Body

Successful Response

application/json
  1. response
market_description*string|null
seed_topics*array<string>
Example Request
curl -X PUT 'https://api.zued.ai/v1/brief' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "market_description": "string",  "seed_topics": [    "string"  ]}
GET
/review

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
prompts*array<>

The prompts waiting for review, oldest first.

being_written*Being Written

Prompts are still being written. POST /v1/review/approve waits until it is false.

Example Request
curl -X GET 'https://api.zued.ai/v1/review'
Example Response
{  "prompts": [    {      "id": "string",      "text": "string",      "topic": "string",      "goal": "string",      "page_id": "string",      "page_url": "string",      "kind": "standard"    }  ],  "being_written": true}
POST
/review

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. body
text*Text
Length10 <= length <= 2000
page_id?|

The page it measures (GET /v1/pages). Left out, zued files it under the page that fits best.

topic?string|null
goal?|null
persona_id?|

The persona it is asked as (GET /v1/personas).

Response Body

Successful Response

application/json
  1. response
id*Id
text*Text
topic*string|null
goal*|

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|null
kind*Kind

fact_check: checks a claim of the page. competition: asks which provider an engine recommends.

Value in"standard""fact_check""competition"
Example Request
curl -X POST 'https://api.zued.ai/v1/review' \  -H 'Content-Type: application/json' \  -d '{  "text": "stringstri"}'
Example Response
{  "id": "string",  "text": "string",  "topic": "string",  "goal": "string",  "page_id": "string",  "page_url": "string",  "kind": "standard"}
PUT
/review/{prompt_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

prompt_id*Prompt Id
Formatuuid

Header Parameters

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.

Request Body

application/json
  1. body
text?|null
topic?string|null
goal?|null

Response Body

Successful Response

application/json
  1. response
id*Id
text*Text
topic*string|null
goal*|

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|null
kind*Kind

fact_check: checks a claim of the page. competition: asks which provider an engine recommends.

Value in"standard""fact_check""competition"
Example Request
curl -X PUT 'https://api.zued.ai/v1/review/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "text": "string",  "topic": "string",  "goal": "string",  "page_id": "string",  "page_url": "string",  "kind": "standard"}
POST
/review/approve

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
approved*Approved

Prompts approved. Their measurement is queued; on a new project the event analysis.completed says when the first one is ready.

Example Request
curl -X POST 'https://api.zued.ai/v1/review/approve'
Example Response
{  "approved": 0}
GET
/brand-proposal

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Response Body

Successful Response

application/json
  1. 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*Pending

Names still under review. Read again in a few minutes.

Example Request
curl -X GET 'https://api.zued.ai/v1/brand-proposal'
Example Response
{  "brand": "string",  "candidates": [    {      "name": "string",      "display": "string",      "kind": "alias",      "reason": "string",      "appearance": 0    }  ],  "pending": 0}
POST
/brand-proposal/confirm

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

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.

Request Body

application/json
  1. 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.

Items1 <= items

Response Body

Successful Response

application/json
  1. response
brand*Brand
counted*array<string>

The names now counted as the brand too. Its figures are recounted.

Example Request
curl -X POST 'https://api.zued.ai/v1/brand-proposal/confirm' \  -H 'Content-Type: application/json' \  -d '{  "names": [    "string"  ]}'
Example Response
{  "brand": "string",  "counted": [    "string"  ]}
POST
/pages/{page_id}/replace

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

page_id*Page Id

A page's id from GET /v1/pages.

Formatuuid

Header Parameters

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.

Request Body

application/json
  1. body
url*Url

The new address, on the project's domain. For a redirected page: its redirect_url, as the app's "Use new address" does.

Formaturi
Length1 <= length <= 2083
prompts?|

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.

Response Body

Successful Response

application/json
  1. response
old_url*Old Url
new_url*New Url
old_page*Old Page

What 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.

Value in"delete""archive"
Example Request
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"}'
Example Response
{  "old_url": "string",  "new_url": "string",  "old_page": "delete"}
POST
/pages/{page_id}/retry

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

page_id*Page Id

A page's id from GET /v1/pages.

Formatuuid

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
url*Url

The page read again. GET /v1/pages says how it went once the analysis ends.

Example Request
curl -X POST 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/retry'
Example Response
{  "url": "string"}
DELETE
/pages/{page_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

page_id*Page Id

A page's id from GET /v1/pages.

Formatuuid

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
url*Url
outcome*Outcome

deleted: 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.

Value in"deleted""archived"
Example Request
curl -X DELETE 'https://api.zued.ai/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "url": "string",  "outcome": "deleted"}