跳转到主要内容
GET
/
v2
/
enterprise
/
self
GET 当前用户信息
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/self \
  --header 'Authorization: Bearer <token>'
{
  "api_key_id": "<string>",
  "org_id": "<string>",
  "user_email": "<string>",
  "user_id": "<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.

需要 Enterprise 管理员的个人 API key。 返回已认证 API key 的相关信息,包括 key ID、关联的用户 ID、用户邮箱以及组织 ID。

授权

Authorization
string
header
必填

仅供 Enterprise 管理员使用的个人 API Key(apk_user_*)

响应

200 - application/json

成功响应

api_key_id
string
必填
org_id
string
必填
user_email
string | null
必填
user_id
string | null
必填