Skip to main content
GET
/
v1
/
billing
/
compile-quota
Get Compile Quota
curl --request GET \
  --url https://api.faces.sh/v1/billing/compile-quota
{
  "plan": "<string>",
  "tokens_used": 123,
  "tokens_limit": 123,
  "tokens_remaining": 123,
  "quota_reset_at": "<string>",
  "allow_compile_overflow": true,
  "faces": [
    {
      "face_id": "<string>",
      "tokens_in_graph": 123,
      "tokens_charged_period": 123,
      "tokens_charged_alltime": 123,
      "profile_token_count": 123,
      "last_synced_at": "<string>"
    }
  ]
}

Headers

authorization
string | null

Response

Successful Response

plan
string
required
tokens_used
integer
required
tokens_limit
integer
required
tokens_remaining
integer
required
quota_reset_at
string | null
required
allow_compile_overflow
boolean
required
faces
FaceCompileStats · object[]
required