API Docs
List Projects
GET
https://api.app.athenic.com/api/projects
The Athenic AI API uses API keys to authenticate requests. You can view your API keys in the Athenic AI dashboard. 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
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Response
Query Projects
POST
https://api.app.athenic.com/api/query/project-question
Query an existing project
The Athenic AI API uses API keys to authenticate requests. You can view your API keys on your teams settings page. Projects must be created in the application before querying. This API request will generate valid SQL given an input question / phrase, and the ID of the project to use.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
question | string | Your input question you want answered |
project_id | string | An ID for which project we are querying |
Response
Last updated