跳转到主要内容
GET
/
v3beta1
/
enterprise
/
self
获取当前用户信息
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/self \
  --header 'Authorization: Bearer <token>'
{
  "org_id": "<string>",
  "service_user_id": "<string>",
  "service_user_name": "<string>"
}

权限

需要具备企业级 ReadAccountMeta 权限的服务用户。

授权

Authorization
string
header
必填

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

响应

200 - application/json

成功响应

org_id
string | null
必填
service_user_id
string
必填
service_user_name
string
必填