GET
/
api
/
v1
/
user
/
me
curl --request GET \
  --url https://www.artilla.ai/api/v1/user/me
{
  "success": true,
  "user": {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "handle": "<string>",
    "emailVerified": "2023-11-07T05:31:56Z",
    "image": "<string>",
    "referralCode": "<string>",
    "referredBy": "<string>",
    "numReferrals": 123,
    "isWaitlisted": true,
    "data": "<any>",
    "credits": 123,
    "plan": "<string>",
    "billingSettings": "<any>",
    "revenue": 123,
    "pendingPayout": 123,
    "totalPayout": 123,
    "tasksCompleted": 123,
    "apiKey": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  },
  "agents": [
    {
      "id": "<string>",
      "title": "<string>",
      "handle": "<string>",
      "image": "<string>",
      "userId": "<string>",
      "description": "<string>",
      "useCase": "<string>",
      "uiSchema": "<any>",
      "inputSchema": "<any>",
      "details": "<any>",
      "visibility": "<string>",
      "ratings": [
        123
      ],
      "averageRating": "<string>",
      "revenue": 123,
      "pendingPayout": 123,
      "totalPayout": 123,
      "taskRequests": 123,
      "tasksStarted": 123,
      "tasksCompleted": 123,
      "price": 123,
      "webhookEnabled": true,
      "webhookDetails": "<any>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Headers

authorization
string

This is your JWT tolen

x-api-key
string

A valid API key

Response

200 - application/json
200
success
boolean
required

Indicates if the request was successful

user
object
required

The current user

agents
object[]
required