You can manage API keys programmatically using the /v1/keys endpoints. All three operations — listing, creating, and revoking — require your existing x-api-key header and consume no credits.
List keys
Retrieve all API keys associated with your organization.
GET https://api.veedcrawl.com/v1/keys
curl "https://api.veedcrawl.com/v1/keys" \
-H "x-api-key: YOUR_KEY"
Create a key
Create a new API key. Supply a name in the request body to identify the key later.
POST https://api.veedcrawl.com/v1/keys
A label for the new key — for example, "my-agent" or "production-pipeline".
curl -X POST "https://api.veedcrawl.com/v1/keys" \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "my-agent"}'
Revoke a key
Permanently revoke a key by its ID. This cannot be undone.
DELETE https://api.veedcrawl.com/v1/keys/:id
curl -X DELETE "https://api.veedcrawl.com/v1/keys/key_abc123" \
-H "x-api-key: YOUR_KEY"
Create a separate API key for each agent or integration. That way, you can revoke access for a single consumer without disrupting the rest of your workflow.