atlys/api
startreferenceplaygroundliveconsolestatus
referenceopenapi 3.1.0 · v0.1.0

API reference

966 endpoints · 66 categoriesopenapi.jsonapi-rendered

Generated from the server's own OpenAPI document at request time, so it cannot drift from what the API actually serves. Parameters, defaults and descriptions all come from the registry.

/v1/ai/chatget · postChat completion

Single-turn chat against a public no-key model. Pass stream=true for SSE token deltas; the stream is proxied as-is.

system:stringmodel:string=openai-fasttemperature:numberstream:booleanprompt:string
send it →
/v1/ai/modelsget · postAvailable models

Model aliases the public upstream exposes to anonymous callers.

no parameters

send it →
/v1/am/linkget · postSend the Alight Motion sign-in link

Asks Firebase to email a sign-in link to the address, flagged as the Android app so the link deep-links into Alight Motion.

email:string
send it →
/v1/am/proget · postActivate premium on the signed-in account

Posts the purchase payload to Alight's verifyPurchase function with a fresh orderId and the ID token of the account to upgrade.

order_id:stringid_token:string
send it →
/v1/am/refreshget · postRenew the Firebase session

Trades a refresh token for a fresh ID token, for re-running /v1/am/pro later.

refresh_token:string
send it →
/v1/am/verifyget · postExchange the link for tokens

Pulls the oobCode out of the emailed link and signs in, returning the ID token, refresh token and uid.

email:stringlink:string
send it →
/v1/anime/characterget · postAnime character search

Search characters on AniList and get a normalised record back.

limit:number=5query:string
send it →
/v1/anime/searchget · postAnime search

Search titles on AniList and get normalised metadata back.

limit:number=5query:string
send it →
/v1/anime/trendingget · postTrending anime

Currently trending titles on AniList.

limit:number=10
send it →
/v1/array/avg-fieldget · postAverage a field

Mean of a numeric field, ignoring missing values.

json:stringfield:string
send it →
/v1/array/firstget · postFirst element

First item or null when empty.

json:string
send it →
/v1/array/lastget · postLast element

Final item or null when empty.

json:string
send it →
/v1/array/lengthget · postArray length

Length plus the index range.

json:string
send it →
/v1/array/pluckget · postPluck a field

Extracts one field from every object.

json:stringfield:string
send it →
/v1/array/sort-fieldget · postSort by field

Orders objects by a numeric or text field.

order:string=ascjson:stringfield:string
send it →
/v1/array/sum-fieldget · postSum a field

Adds a numeric field across objects.

json:stringfield:string
send it →
/v1/array/unique-fieldget · postUnique field values

Distinct values of one field, in first-seen order.

json:stringfield:string
send it →
/v1/bool/from-intget · postInteger to boolean

Zero is false, anything else is true.

value:number
send it →
/v1/bool/parseget · postParse a boolean

Recognises the usual truthy and falsy spellings.

value:string
send it →
/v1/bool/ternaryget · postTernary pick

Chooses one of two strings from a condition.

condition:stringwhen_true:stringwhen_false:string
send it →
/v1/bool/to-intget · postBoolean to integer

True becomes 1, false becomes 0.

value:string
send it →
/v1/calc/ageget · postAge breakdown

Exact years, months, days and totals from a birth date.

at:stringbirth:string
send it →
/v1/calc/bmiget · postBody mass index

BMI in metric units plus the WHO category band.

weight_kg:numberheight_cm:number
send it →
/v1/calc/bmrget · postBasal metabolic rate

Mifflin-St Jeor equation for resting energy expenditure.

sex:string=maleweight_kg:numberheight_cm:numberage:number
send it →
/v1/calc/compoundget · postCompound interest

Future value with a chosen compounding frequency.

per_year:number=12principal:numberannual_rate:numberyears:number
send it →
/v1/calc/date-addget · postAdd to a date

Shifts a date by days, weeks or months.

unit:string=daysdate:stringamount:number
send it →
/v1/calc/date-diffget · postDate difference

Days, weeks, hours and minutes between two dates.

start:stringend:string
send it →
/v1/calc/discountget · postDiscount price

Price after a percentage discount, with the amount saved.

price:numberdiscount_percent:number
send it →
/v1/calc/factorialget · postFactorial

n! as an exact integer using BigInt.

n:number
send it →
/v1/calc/fibonacciget · postFibonacci

The nth Fibonacci number, plus the first few terms around it.

n:number
send it →
/v1/calc/gcd-lcmget · postGCD and LCM

Greatest common divisor and least common multiple for a list.

numbers:string
send it →
/v1/calc/gpaget · postGrade point average

Weighted GPA from grade/credit pairs. Accepts letter or numeric grades.

grades:string
send it →
/v1/calc/loanget · postLoan payment

Monthly instalment, total paid and total interest on an amortised loan.

principal:numberannual_rate:numbermonths:number
send it →
/v1/calc/percentget · postPercent of a value

Percent share, plus how far the part is from the whole in percent.

part:numberwhole:number
send it →
/v1/calc/percentage-changeget · postPercentage change

Change from one value to another, with direction.

from:numberto:number
send it →
/v1/calc/primesget · postPrimality and factors

Trial division primes, factorisation and the previous and next prime.

n:number
send it →
/v1/calc/quadraticget · postQuadratic roots

Solves ax² + bx + c = 0, reporting the discriminant and complex roots when needed.

a:numberb:numberc:number
send it →
/v1/calc/romanget · postRoman numerals

Convert 1..3999 to Roman numerals, or decode Roman numerals back.

decode:boolean=falsevalue:string
send it →
/v1/calc/simple-interestget · postSimple interest

Interest without compounding.

principal:numberannual_rate:numberyears:number
send it →
/v1/calc/statsget · postDescriptive statistics

Count, sum, mean, median, mode, variance, standard deviation and range.

numbers:string
send it →
/v1/calc/tdeeget · postDaily energy needs

Total daily energy expenditure across activity levels.

activity:string=moderatebmr:number
send it →
/v1/calc/tipget · postTip split

Tip amount and per-person total for a bill.

tip_percent:number=10people:number=1bill:number
send it →
/v1/calendar/add-daysget · postAdd days

Shifts a date by whole days.

date:stringamount:number
send it →
/v1/calendar/add-monthsget · postAdd months

Shifts by calendar months, clamping to the month end.

date:stringamount:number
send it →
/v1/calendar/add-weeksget · postAdd weeks

Shifts a date by weeks.

date:stringamount:number
send it →
/v1/calendar/add-yearsget · postAdd years

Shifts by calendar years.

date:stringamount:number
send it →
/v1/calendar/chinese-zodiacget · postChinese zodiac

Animal for a year using the 12-year cycle.

year:number
send it →
/v1/calendar/diff-daysget · postDays between

Absolute distance between two dates in whole units, with the sign of end minus start.

start:stringend:string
send it →
/v1/calendar/diff-hoursget · postHours between

Absolute distance between two dates in whole units, with the sign of end minus start.

start:stringend:string
send it →
/v1/calendar/diff-weeksget · postWeeks between

Absolute distance between two dates in whole units, with the sign of end minus start.

start:stringend:string
send it →
/v1/calendar/end-of-monthget · postEnd of month

Returns the end of month for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/end-of-quarterget · postEnd of quarter

Returns the end of quarter for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/end-of-weekget · postEnd of week (Sunday)

Returns the end of week (sunday) for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/end-of-yearget · postEnd of year

Returns the end of year for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/from-epochget · postEpoch to date

Accepts seconds or milliseconds and returns the UTC date.

epoch:number
send it →
/v1/calendar/is-weekendget · postIs weekend

Saturday or Sunday in UTC.

date:string
send it →
/v1/calendar/next-weekdayget · postNext weekday

Next Monday to Friday on or after the given date.

date:string
send it →
/v1/calendar/start-of-monthget · postStart of month

Returns the start of month for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/start-of-quarterget · postStart of quarter

Returns the start of quarter for the given date, as YYYY-MM-DD.

date:string
send it →
/v1/calendar/start-of-weekget · postStart of week (Monday)

Returns the start of week (monday) for the given date, as YYYY-MM-DD.

date:string
send it →