> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veedcrawl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Key Management — List, Create, Revoke

> Manage your Veedcrawl API keys programmatically. List all keys for your org, create new named keys, and revoke individual keys by ID without affecting others.

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
```

```bash theme={null}
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
```

<ParamField body="name" type="string" required>
  A label for the new key — for example, `"my-agent"` or `"production-pipeline"`.
</ParamField>

```bash theme={null}
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
```

```bash theme={null}
curl -X DELETE "https://api.veedcrawl.com/v1/keys/key_abc123" \
  -H "x-api-key: YOUR_KEY"
```

<Tip>
  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.
</Tip>
