Projects
The projects a key reaches, and the project it reads.
Needs no key. Lists every route and the OpenAPI file, so an agent given only the base URL starts here.
Successful Response
application/json- response
openapi*OpenapiEvery route with its parameters and the meaning of every field.
routes*array<>curl -X GET 'https://api.zued.ai/v1'{ "openapi": "string", "routes": [ { "path": "string", "summary": "string" } ]}HTTPBearerAuthorizationBearer <token>Successful Response
application/json- 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.
curl -X GET 'https://api.zued.ai/v1/projects'{ "projects": [ { "id": "string", "name": "string", "domain": "string", "plan": "string", "role": "owner" } ]}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
id*Idname*Namedomain*string|nullcountry*string|nullplan*Planmembers*array<>The project's members. A recommendation is assigned to one of them by id.
can_write*Can WriteWhether this key may change recommendations: status, assignee, comments.
curl -X GET 'https://api.zued.ai/v1/project'{ "id": "string", "name": "string", "domain": "string", "country": "string", "plan": "string", "members": [ { "id": "string", "name": "string", "email": "string" } ], "can_write": true}