所需权限:
project:modify路径参数
string
必填
工作空间标识符
string
必填
项目标识符
请求体
string
更新后的项目名称
string
更新后的项目描述
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 PATCH 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws_abc123/projects/proj_def456' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"name": "Customer Research (Updated)",
"description": "Expanded to include focus-group recordings"
}'
{
"success": true,
"data": {
"id": "proj_def456",
"name": "Customer Research (Updated)",
"description": "Expanded to include focus-group recordings",
"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-03-05T16:20:00Z"
}
}
更新现有项目的名称、描述或行业分类
PATCH /openapi/memorylake/api/v3/workspaces/{workspaceId}/projects/{projectId}
project:modifycurl -X PATCH 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws_abc123/projects/proj_def456' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"name": "Customer Research (Updated)",
"description": "Expanded to include focus-group recordings"
}'
{
"success": true,
"data": {
"id": "proj_def456",
"name": "Customer Research (Updated)",
"description": "Expanded to include focus-group recordings",
"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-03-05T16:20:00Z"
}
}