所需权限:
project:create路径参数
string
必填
工作空间标识符
请求体
string
必填
项目名称
string
必填
用于外部系统集成的自定义标识符。在工作空间内必须唯一。
string
项目描述
object
用于存储额外项目信息的任意键值对
array
用于对项目进行分类的行业标识符数组
响应
object
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws_abc123/projects' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"name": "Customer Research",
"custom_id": "research-2024-q1",
"description": "Interview transcripts and survey analysis",
"metadata": {
"team": "product",
"quarter": "Q1-2024"
},
"industry_ids": ["ind_tech01"]
}'
{
"success": true,
"data": {
"id": "proj_def456",
"name": "Customer Research",
"description": "Interview transcripts and survey analysis",
"industries": [
{
"id": "ind_tech01",
"name": "Technology",
"description": "Software and technology sector"
}
],
"custom_id": "research-2024-q1",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
在工作空间中创建新项目
POST /openapi/memorylake/api/v3/workspaces/{workspaceId}/projects
project:createcurl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws_abc123/projects' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"name": "Customer Research",
"custom_id": "research-2024-q1",
"description": "Interview transcripts and survey analysis",
"metadata": {
"team": "product",
"quarter": "Q1-2024"
},
"industry_ids": ["ind_tech01"]
}'
{
"success": true,
"data": {
"id": "proj_def456",
"name": "Customer Research",
"description": "Interview transcripts and survey analysis",
"industries": [
{
"id": "ind_tech01",
"name": "Technology",
"description": "Software and technology sector"
}
],
"custom_id": "research-2024-q1",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}