Create project
Create a project for an Enterprise workspace. Optional initial member and agent assignments are applied atomically with project creation. All workspace members except viewers may write; PATs require the write scope.
请求头
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
请求
name (required), description, agentIds, memberIds
name
Leading and trailing whitespace is trimmed; the trimmed name must contain 1-100 Unicode characters.
agentIds
Agent UUIDs to assign atomically when the project is created.
description
Optional project description; null stores no description.
memberIds
Member UUIDs to assign atomically when the project is created.
响应
data: created project
data
错误
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error