Faraatarjomeh API
Pages

For AI agents: this page as Markdown at https://faraatarjomeh.com/api/v1/docs/reference/profile.md; all docs in one file at llms-full.txt.

API reference: Profile

The Profile endpoints (4 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference.

At a glance#

Index#

Profile#

Profile, usage, and dashboard numbers.

GET /api/v1/profile#

Get your profile Deprecated.

Deprecated for API keys: use GET /api/v1/account. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

Profile

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/profile/usage#

Get translation usage totals Deprecated.

Deprecated for API keys: use GET /api/v1/account/transactions. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

UsageStats

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile/usage" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/profile/credits#

Get the balance and ledger (page-based) Deprecated.

Deprecated for API keys: use GET /api/v1/account/transactions. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Older, page-based view of the ledger. New code should use GET /api/v1/account/transactions.

Parameters

Name In Type Required Notes
page query integer no Page number, starting at 1. — default: 1; min 1
limit query integer no Items per page (1-100). — default: 20; min 1; max 100

Response 200

CreditsHistory

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile/credits" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/dashboard/stats#

Get dashboard numbers Deprecated.

Deprecated for API keys: use GET /api/v1/account. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

DashboardStats

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/dashboard/stats" \
  -H "Authorization: Bearer $FARA_API_KEY"

Schemas#

Named request and response objects used above. Nested objects are flattened as parent.child; arrays as parent[].child.

CreditsHistory#

Field Type Required Notes
balance number yes
chargebackLiability number no
lifetimeTopup number no
lifetimeUsage number no
lastTransactionAt string | null no may be null
transactions object[] yes
total integer no
page integer no
limit integer no
totalPages integer no

DashboardStats#

Field Type Required Notes
jobs object no Counts of your translation jobs by status.
usage object no Words and Fara used.
recentJobs object[] no
trends object no
trends.daily object[] no
user object no
user.email string no
user.role string no
user.isAdmin boolean no
meta object no
meta.generatedAt string | null no may be null
meta.cacheExpiry integer no

Profile#

Your account profile (email, name, verification flags, Fara totals, and settings). Secrets are never included.

Free-form object.

UsageStats#

Field Type Required Notes
totals object no
totals.totalTranslations integer no
totals.completedTranslations integer no
totals.totalWords integer no
totals.totalCost number no Fara.
totals.totalParagraphs integer no
monthly object[] no Last 12 months.
monthly[].year integer no
monthly[].month integer no
monthly[].translations integer no
monthly[].words integer no
monthly[].cost number no