跳转到主要内容
GET
/
v3beta1
/
organizations
/
{org_id}
/
snapshot-setup
/
builds
/
{build_id}
/
logs
构建日志文件的预签名 URL
curl --request GET \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/snapshot-setup/builds/{build_id}/logs \
  --header 'Authorization: Bearer <token>'
{
  "expires_at": 123,
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

权限

需要具备组织级别 ManageRepoBlueprints 权限的服务用户。

行为

返回用于下载构建日志文件的预签名 URL。

授权

Authorization
string
header
必填

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

路径参数

build_id
string
必填

响应

成功响应

可复用的预签名 URL 响应(TTL 为 10 分钟)。

expires_at
integer
必填

URL 过期时的 Unix 时间戳。

url
string
必填

预签名 GET URL(HTTPS)。