API Keys
API keys authenticate your requests toapi.withgiga.ai. Keys begin with giga_sk_ followed by 32 hex characters. They are workspace-scoped and rotatable without downtime.
Create a key
POST /api/keys
Body
| Field | Type | Description |
|---|---|---|
name | string | A label to identify this key |
The
secret field is returned only on creation. You cannot retrieve it again — if lost, revoke the key and create a new one.List keys
GET /api/keys
Response (200)
secret is not returned in list responses — only metadata.
Revoke a key
Immediately invalidates the key. Any in-flight requests using this key will fail.DELETE /api/keys/{id}
Response (200)
Key rotation
To rotate a key with zero downtime:- Create a new key via
POST /api/keys - Update your application to use the new key
- Verify the new key is working
- Revoke the old key via
DELETE /api/keys/{id}