Skip to main content
GET
/
v1
/
auth
/
me
Get Me
curl --request GET \
  --url https://api.agentpowers.ai/v1/auth/me \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.agentpowers.ai/v1/auth/me"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.agentpowers.ai/v1/auth/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "id": "<string>",
  "email": "<string>",
  "display_name": "<string>",
  "github_username": "<string>"
}

Authorizations

Authorization
string
header
required

Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.

Response

200 - application/json

Successful Response

id
string
required
email
string
required
display_name
string | null
github_username
string | null