> ## Documentation Index
> Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account Profile

> This endpoint retrieves the profile for the authenticated user.

## GET /accounts/profile

This endpoint returns detailed information about the authenticated user's account, including their profile and subscription plan.

### Response

<ResponseField name="id" type="string">
  The user's unique identifier.
</ResponseField>

<ResponseField name="email" type="string">
  The user's email address.
</ResponseField>

<ResponseField name="firstName" type="string">
  The user's first name.
</ResponseField>

<ResponseField name="lastName" type="string">
  The user's last name.
</ResponseField>

<ResponseField name="company" type="string">
  The user's company name.
</ResponseField>

<ResponseField name="plan" type="string">
  The user's subscription plan (`free`, `starter`, `professional`, `enterprise`).
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of account creation.
</ResponseField>

<ResponseField name="updatedAt" type="string">
  ISO 8601 timestamp of last profile update.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.llmgenerator.com/api/v1/accounts/profile \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://api.llmgenerator.com/api/v1/accounts/profile',
    {
      headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
    }
  );

  const profile = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "id": "user_abc123def456",
    "email": "user@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "Acme Inc",
    "plan": "professional",
    "createdAt": "2026-01-01T10:00:00.000Z",
    "updatedAt": "2026-01-15T14:30:00.000Z"
  }
  ```

  ```json Unauthorized (401) theme={null}
  {
    "message": "API key context not found"
  }
  ```
</ResponseExample>
