API keys and authentication
Authenticated API requests use an API key in the Authorization header. Create and manage keys while signed in to the developer portal; do not embed them in public browser code.
Create a key
- Open API keys and sign in.
- Click Create API key.
- Give the integration a recognizable name and select only the required permissions.
- Choose an expiry. The dialog offers 30 days, 90 days, 1 year or No expiry; 90 days is the initial choice.
- Create the key and copy the secret while it is shown. Store it in a server environment variable or secret manager.
curl https://splatware.com/api/v1/datasets/DATASET_ID \
-H "Authorization: Bearer $SPLATWARE_API_KEY"Replace DATASET_ID with a dataset created by your account. The key is not shown again after you dismiss the creation dialog.
Permissions
| Scope | Allows |
|---|---|
| training:read | Read your datasets, training status, subscription role and current usage. |
| training:write | Create datasets and upload sessions, finalize uploads, start training and manage webhooks. |
| captures:read | Read your own completed Capture metadata. Together with training:read, list and inspect your model projects. |
A basic upload-and-poll integration needs both training scopes. Missing permission produces insufficient_scope; creating a key with additional scopes does not grant access to someone else’s resources.
Rotation and expiry
Use Rename to identify an existing integration. To rotate a secret, create a replacement key, update the integration and verify a request, then revoke the old key. Revocation cannot be undone; requests using an expired or revoked key fail with invalid_api_key.
An account can retain up to 100 key records, including revoked keys. If that limit is reached, contact support to archive revoked records rather than repeatedly retrying creation.
Ownership and secrets
Keep example state files private because they contain upload sessions. Do not paste credentials or full session URLs into documentation screenshots or support messages. Report the request ID and stable error code instead. See Errors and retries.