Elicit Projects API
Projects: the shared workspaces that group sessions, files, and artifacts, including those shared with you. ### Conventions - A detail endpoint returns the resource. The list endpoint returns `{ projects, nextCursor, totalCount }`. Send `nextCursor` as `cursor` to get the next page. `nextCursor` is `null` on the last page. - You see projects you own plus any shared with you, directly or with your organization. Each carries your `role`: `owner`, `writer`, or `reader`. Readers view a project; writers also add and remove its contents; only the owner can share it or change who it is shared with. - A project id you cannot see returns `404`, and so does one you can read but do not own when you call a share endpoint, so an id can never be probed for existence or ownership. - Shares are keyed by email, never by user id. A recipient with an Elicit account has `status: "registered"`; an email without one gets a pending invitation and `status: "invited"`. - Roles describe **effective** access, not stored rows. An organization-wide share only reaches its members while that organization's plan includes sharing, and a member covered by one holds the stronger of it and their own share. - Sharing through this API grants read-only access. Edit access is granted in the Elicit web interface, which applies the organization and plan rules it requires; an email that already has it keeps it, and this endpoint reports their `role` as `writer` rather than downgrading them. - Creating a share returns `201`. Repeating it is safe and changes nothing. - A malformed id, or an unknown query parameter or body key, returns `400 invalid_request` with the field name.