Call one GET with your API key and get a greeting back. The response includes your organization's remaining credits. Use it to check a key, an SDK, or a deploy. This endpoint is served by SFAIE itself.
https://api.sfaie.com
Send your key as an Authorization: Bearer token. Add Sfaie-Cache: max-age=<seconds> to have an identical request from your account within that many seconds answered from the cache. max-age=0 asks for a fresh answer and keeps it. The reply says Sfaie-Cache: hit, miss, no-store or bypass and carries Sfaie-Cache-Date, when the answer was generated. A replayed answer may name an older model snapshot.
Endpoint
world
GET/sfaie/hello/v1/world1 credit / call
Returns a greeting and your remaining credits.
Request
curl "https://api.sfaie.com/sfaie/hello/v1/world" \
-H "Authorization: Bearer $SFAIE_API_KEY"Response
{
"data": {
"message": "hello, world",
"remaining": 499
}
}Try it
Sign in to try this endpoint.
Calls are real. Accepted calls cost 1 credit.