API Key Management
The Seek-api key is the sole means of authenticating your HTTP requests. It is a secure token generated via the dashboard, designed to be transmitted in your request headers.
Generating an API Key
Section titled “Generating an API Key”-
Authentication: Log in to your member area at console.seek-api.com.
-
Access Settings: Open the user menu (top right) and select the API Keys section.
-
Creation: Click Create Key and assign a descriptive name to facilitate management (e.g.,
Prod-Backend-Main,Dev-Local-Testing). -
Secure Save: Copy the key immediately. For security reasons, it will not be displayed again after the window is closed.
dGh3oK9xVmN_2aBcDeFgHiJkLmNoPqRsTuVwXyZ...
Technical Implementation
Section titled “Technical Implementation”Authentication is performed via the x-api-key header.
HTTP Example
Section titled “HTTP Example”GET https://api.seek-api.com/v1/workersx-api-key: YOUR_API_KEYJavaScript Example
Section titled “JavaScript Example”const res = await fetch('https://api.seek-api.com/v1/workers', { headers: { 'x-api-key': 'YOUR_API_KEY', },});cURL Example
Section titled “cURL Example”curl https://api.seek-api.com/v1/workers \ -H "x-api-key: YOUR_API_KEY"Governance and Security
Section titled “Governance and Security”| Parameter | Limit / Value |
|---|---|
| Maximum keys per account | 10 |
| Default state | Active |
Security Recommendations:
- Environment Variables: Never hardcode API keys in your source code. Use environment variables (
SEEKAPI_API_KEY). - Environment Isolation: Generate distinct keys for each environment (development, staging, production) to limit the impact of a potential compromise.
- Regular Rotation: We recommend rotating your keys periodically.
Revoking a Key
Section titled “Revoking a Key”In case of suspected compromise, you can instantly revoke a key from the API Keys section of the dashboard. Any request using a revoked key will receive a 401 Unauthorized error.
Next Step
Section titled “Next Step”Now that your authentication is configured, you can execute your first worker →