Account

Create a project

Create a project in a workspace the authenticated user can write to.

Requires MEMBER role or higher in the workspace (the write service decides). Idempotent on the project name within the workspace.

Args: request (Request): Incoming request (rate-limit plumbing). response (Response): Outgoing response (rate-limit plumbing). auth (AccountStampedAuth): Account-scope user auth (session token or CLI access JWT); its resolved user_id becomes the actor. payload (CreateProjectRequest): The project to create. _live (None): Write-path liveness gate (blocks a revoked JWT session).

Returns: CreateProjectResponse: The created (or matched) project.

post/api/v1/public/projects

Request

  • Base URL
    https://app.traceroot.ai
  • URL
    https://app.traceroot.ai/api/v1/public/projects
  • Auth
    HTTP bearer

Request body

namestring required
trace_ttl_daysinteger nullable
workspace_idstring required

Response

Successful Response

createdboolean required
idstring required
namestring required
workspace_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.