Skip to Content
zued

Projects

The projects a key reaches, and the project it reads.

The routes of this API

GET
/

Needs no key. Lists every route and the OpenAPI file, so an agent given only the base URL starts here.

Response Body

Successful Response

application/json
  1. response
openapi*Openapi

Every route with its parameters and the meaning of every field.

routes*array<>
Example Request
curl -X GET 'https://api.zued.ai/v1'
Example Response200
{  "openapi": "string",  "routes": [    {      "path": "string",      "summary": "string"    }  ]}
GET
/projects

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response
projects*array<>

A project key reaches its one project. An account key reaches the projects its creator picked when approving it, or every project they own when they picked all, each while they own it, read at each request: a project they stop owning leaves the list, and with all, a project they create joins it.

Example Request
curl -X GET 'https://api.zued.ai/v1/projects'
Example Response200
{  "projects": [    {      "id": "string",      "name": "string",      "domain": "string",      "plan": "string",      "role": "owner"    }  ]}
GET
/project

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
id*Id
name*Name
domain*string|null
country*string|null
plan*Plan
members*array<>

The project's members. A recommendation is assigned to one of them by id.

can_write*Can Write

Whether this key may change recommendations: status, assignee, comments.

Example Request
curl -X GET 'https://api.zued.ai/v1/project'
Example Response
{  "id": "string",  "name": "string",  "domain": "string",  "country": "string",  "plan": "string",  "members": [    {      "id": "string",      "name": "string",      "email": "string"    }  ],  "can_write": true}