Create Ingestion Key
Create a new ingestion key.
Endpoint
POST /api/rbac/ingestion-keys/create
Authentication
This endpoint requires API Key authentication via the Authorization header.
Headers
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/jsonRequest Body
Required and optional fields for creating an ingestion key:
{
"name": "string",
"type": "sensor|thirdParty|rum"
}name
string
Yes
Unique name for the ingestion key (must be lowercase with hyphens)
type
string
Yes
Key type ("sensor", "thirdParty", "rum")
tags
array
No
Array of tags to associate with the key
Examples
Create Basic Sensor Key
Create Third-Party Integration Key
Create RUM Key with Configuration
Response
Response Schema
Response Example
Key Types
"sensor"
Keys for groundcover sensors and agents
true
"thirdParty"
Keys for third-party integrations (OpenTelemetry, etc.)
false
"rum"
Keys for Real User Monitoring data ingestion
false
Verification
To verify the key was created successfully, use the List Ingestion Keys endpoint:
Naming Requirements
Names must be lowercase with hyphens as separators
No capital letters, spaces, or special characters (except hyphens)
Examples of valid names:
production-k8s-sensor,otel-staging-api,rum-frontendExamples of invalid names:
Production-K8s,OTEL_API,rum frontend
Related Documentation
For comprehensive information about ingestion keys, including usage and management, see:
Last updated
