跳转到主要内容
GET
/
v3
/
organizations
/
{org_id}
/
sessions
/
{devin_id}
/
attachments
列出会话附件
curl --request GET \
  --url https://api.devin.ai/v3/organizations/{org_id}/sessions/{devin_id}/attachments \
  --header 'Authorization: Bearer <token>'
[
  {
    "attachment_id": "<string>",
    "name": "<string>",
    "source": "devin",
    "url": "<string>",
    "content_type": "<string>"
  }
]

权限

需要具有组织级别 ViewOrgSessions 权限的服务用户。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

路径参数

devin_id
string | null
必填
org_id
string | null
必填

响应

成功响应

attachment_id
string
必填
name
string
必填
source
enum<string>
必填
可用选项:
devin,
user
url
string
必填
content_type
string | null