Projects
API
In Gigantics, API keys are used to invoke datasets, pipelines, and jobs from external systems (CI/CD, scripts, etc.). Below is the updated flow:
Creating an API Key
- Go to the project section.
- Click Create API key and enter a purpose/description to identify it.
- The key and the base URL will be displayed. Copy the key and store it in a safe place (it will not be shown again).
- In the key list you will see the purpose, part of the identifier, date/time, and the number of invocations. From there you can revoke, edit, or delete the key.
Authentication
Every request to the API must include the key using one of these methods:
- HTTP header
- URL parameter
Examples with curl
Header
URL parameter
Store the key in an environment variable or in your CI/CD platform's secret manager to avoid exposing it.
Endpoints
The full URLs (including organization, project, model, and resource) are shown in the Gigantics interface when you assign the API key. All you need is the API key and the provided URL.
| Resource | Method | Action |
|---|---|---|
| Dataset | GET | Returns the dataset's SQL/CSV file |
| Pipeline | POST | Runs the configured pipeline |
| Job | GET | Checks the status of a job (does not require API key) |
Response when running a pipeline
When a pipeline starts, Gigantics responds with:
- job_id: Internal identifier of the job.
- job_url: URL to check its status.
Once the job finishes (
status = completed) and the pipeline generates a dataset, the link to the resulting dataset will appear at this same URL.