API Docs
List Projects
GET
https://app.athenic.com/api/projects
The API uses an API key to authenticate requests. You can view your API key in your team settings. Projects must be created in the application. This API request will retrieve IDs and names for all projects owned by your team. You can then use any project_id to query that project.
Headers
Content-Type
application/json
Authorization
Bearer
{Your API Key}
Response
Query Projects
POST
https://app.athenic.com/api/projects/<project_id>/generate-query
Query an existing project
The API uses an API key to authenticate requests. You can view your API key in your team settings. Projects must be created in the application before querying. This API request will generate a SQL query given an input question.
Headers
Content-Type
application/json
Authorization
Bearer
{Your API Key}
Body
question
string
Your input question you want answered
Response
Last updated