Athena

RPC and REST Compatibility

Function invocation and PostgREST-style table routes.

RPC Surface

Athena supports function invocation through both gateway and direct RPC routes:

  • POST /gateway/rpc
  • GET /rpc/{function_name}
  • POST /rpc/{function_name}

PostgREST Compatibility Surface

PostgREST-style CRUD routes are exposed via:

  • GET /rest/v1/{table}
  • POST /rest/v1/{table}
  • PATCH /rest/v1/{table}
  • DELETE /rest/v1/{table}

Auth Requirements

  • X-Athena-Client
  • API key header (apikey or x-api-key)