Skip to Content
zued

Measurements

Weekly figures, prompts, the engines' answers, brands and pages.

GET
/snapshots

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
snapshots*array<>
Example Request
curl -X GET 'https://api.zued.ai/v1/snapshots'
Example Response
{  "snapshots": [    {      "id": "string",      "week": "string",      "completed_at": "string",      "complete": true,      "engines": {        "property1": {          "expected": 0,          "received": 0,          "complete": true        },        "property2": {          "expected": 0,          "received": 0,          "complete": true        }      }    }  ]}
GET
/prompts

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

snapshot?|null
branded?Branded
Default"unbranded"
Value in"unbranded""branded""all"
limit?Limit
Range1 <= value <= 200
Default50
cursor?Cursor
Range0 <= value
Default0

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
snapshot*

The snapshot a response covers. id is null before a project's first weekly run: the figures then cover every current answer, and complete is unknown.

definitions*
prompts*array<>
total*Total
has_more*Has More
next_cursor*integer|null
Example Request
curl -X GET 'https://api.zued.ai/v1/prompts'
Example Response
{  "snapshot": {    "id": "string",    "completed_at": "string",    "complete": true,    "engines": [      "string"    ],    "missing_engines": [      "string"    ]  },  "definitions": {    "property1": {      "meaning": "string",      "url": "string"    },    "property2": {      "meaning": "string",      "url": "string"    }  },  "prompts": [    {      "id": "string",      "text": "string",      "topic": "string",      "kind": "page",      "page": {        "id": "string",        "url": "string"      },      "branded": true,      "measured": true,      "appearance": {        "value": 0,        "numerator": 0,        "denominator": 0      },      "share_of_voice": 0,      "own_citations": {        "searched_answers": 0,        "citing_this_page": 0,        "citing_another_own_page": 0,        "other_own_pages": {          "property1": 0,          "property2": 0        }      },      "most_named": {        "name": "string",        "is_us": true,        "tied_with": [          "string"        ]      },      "most_recommended": {        "name": "string",        "tied_with": [          "string"        ],        "answers_best": 0,        "answers_judged": 0      },      "alignment_score": 0,      "diagnosis": "string",      "priority_action": "string",      "engines": {        "property1": {          "appearance": 0,          "share_of_voice": 0,          "answers": 0        },        "property2": {          "appearance": 0,          "share_of_voice": 0,          "answers": 0        }      }    }  ],  "total": 0,  "has_more": true,  "next_cursor": 0}
GET
/prompts/{prompt_id}/answers

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

prompt_id*Prompt Id
Formatuuid

Query Parameters

snapshot?|null
text?Text

Include each answer's full text. Off by default, because full texts make the response many times larger.

Defaultfalse

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
snapshot*

The snapshot a response covers. id is null before a project's first weekly run: the figures then cover every current answer, and complete is unknown.

prompt_id*Prompt Id
answers*array<>
Example Request
curl -X GET 'https://api.zued.ai/v1/prompts/497f6eca-6276-4993-bfeb-53cbbbba6f08/answers'
Example Response
{  "snapshot": {    "id": "string",    "completed_at": "string",    "complete": true,    "engines": [      "string"    ],    "missing_engines": [      "string"    ]  },  "prompt_id": "string",  "answers": [    {      "id": "string",      "snapshot_id": "string",      "engine": "string",      "run_index": 0,      "grounded": true,      "answered_at": "string",      "text": "string",      "brands": [        "string"      ],      "citations": [        {          "position": 0,          "url": "string",          "domain": "string",          "title": "string"        }      ],      "recommendation": {        "has_recommendation": true,        "top_pick": "string",        "co_winners": [          "string"        ],        "our_brand_position": "string",        "evidence": "string"      }    }  ]}
GET
/brands

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

snapshot?|null
branded?Branded
Default"unbranded"
Value in"unbranded""branded""all"

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
snapshot*

The snapshot a response covers. id is null before a project's first weekly run: the figures then cover every current answer, and complete is unknown.

definitions*
answers*Answers
brands_named*Brands Named
brands*array<>
Example Request
curl -X GET 'https://api.zued.ai/v1/brands'
Example Response
{  "snapshot": {    "id": "string",    "completed_at": "string",    "complete": true,    "engines": [      "string"    ],    "missing_engines": [      "string"    ]  },  "definitions": {    "property1": {      "meaning": "string",      "url": "string"    },    "property2": {      "meaning": "string",      "url": "string"    }  },  "answers": 0,  "brands_named": 0,  "brands": [    {      "name": "string",      "is_us": true,      "tracked": true,      "domain": "string",      "appearance": {        "value": 0,        "numerator": 0,        "denominator": 0      },      "share_of_voice": 0,      "citation_rate": 0,      "engines": {        "property1": {          "appearance": 0,          "share_of_voice": 0        },        "property2": {          "appearance": 0,          "share_of_voice": 0        }      }    }  ]}
GET
/figures

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

weeks?Weeks

How many of the newest weeks to return.

Range1 <= value <= 52
Default8

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
definitions*
weeks_measured*Weeks Measured
weeks*array<>
Example Request
curl -X GET 'https://api.zued.ai/v1/figures'
Example Response
{  "definitions": {    "property1": {      "meaning": "string",      "url": "string"    },    "property2": {      "meaning": "string",      "url": "string"    }  },  "weeks_measured": 0,  "weeks": [    {      "week": "string",      "snapshot": {        "id": "string",        "completed_at": "string",        "complete": true,        "engines": [          "string"        ],        "missing_engines": [          "string"        ]      },      "share_of_voice": 0,      "appearance": 0,      "citation_share": {        "value": 0,        "numerator": 0,        "denominator": 0      },      "selection_rate": 0    }  ]}
GET
/pages

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

snapshot?|null
limit?Limit
Range1 <= value <= 200
Default50
cursor?Cursor
Range0 <= value
Default0

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
snapshot*

The snapshot a response covers. id is null before a project's first weekly run: the figures then cover every current answer, and complete is unknown.

definitions*
pages*array<>
total*Total
has_more*Has More
next_cursor*integer|null
Example Request
curl -X GET 'https://api.zued.ai/v1/pages'
Example Response
{  "snapshot": {    "id": "string",    "completed_at": "string",    "complete": true,    "engines": [      "string"    ],    "missing_engines": [      "string"    ]  },  "definitions": {    "property1": {      "meaning": "string",      "url": "string"    },    "property2": {      "meaning": "string",      "url": "string"    }  },  "pages": [    {      "id": "string",      "url": "string",      "title": "string",      "status": "measured",      "reason": "too_little_text",      "http_status": 0,      "redirect_url": "string",      "explanation": "string",      "alignment_score": 0,      "technical_score": 0,      "appearance": 0,      "citation_share": 0,      "page_citation_share": 0,      "page_citations": 0,      "selection_rate": 0,      "grounded": 0    }  ],  "total": 0,  "has_more": true,  "next_cursor": 0}