GET
/v1/meGet current authenticated principalReturns the user, workspace, and credential represented by the current token.
Responses
object
dataobjectrequiredShow child attributes
credentialobjectrequiredShow child attributes
idnull | stringrequirednamenull | stringrequiredtypestringrequiredusernull | objectrequiredShow child attributes
emailstring · emailrequiredidstringrequirednamenull | stringrequiredworkspacenull | objectrequiredShow child attributes
idstringrequirednamestringrequired{
"data": {
"credential": {
"id": "string",
"name": "string",
"type": "agent_token"
},
"user": {
"email": "user@example.com",
"id": "string",
"name": "string"
},
"workspace": {
"id": "string",
"name": "string"
}
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}