• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

Using Blob Storage API for agent configurations

Feature Availability

Fleet Control for Kubernetes clusters is generally available (GA). Support for managing agents on Linux and Windows hosts is currently in public preview.

For a complete list of supported agents and their environments, see our agent type compatibility documentation.

The public preview feature is provided pursuant to our pre-release policies.

The Blob Storage API is a New Relic service designed for uploading and managing files in your account. NerdGraph is optimized for structured data queries and mutations, so the Blob Storage API is used for operations that involve file content transfer and versioning.

Within Fleet Control, the Blob Storage API manages agent configurations—handling creation, versioning, content retrieval, and deletion of configuration files.

Importante

Agent configurations in Fleet Control use the Blob Storage API, not NerdGraph. For fleet, member, and deployment operations, see the NerdGraph tutorial.

Prerequisites

Authentication

All Blob Storage API requests require authentication using a New Relic User API key.

Generate an API key:

  1. Navigate to one.newrelic.com
  2. Click on your name in the bottom-left corner
  3. Select API Keys
  4. Create a User key (not Browser or License key)

Include in request headers:

Api-Key: NRAK-YOUR-USER-API-KEY

Base endpoint

https://blob-api.service.newrelic.com/v1/e

For EU region accounts, use:

https://blob-api.service.eu.newrelic.com/v1/e

Agent configuration operations

Best practices

  • Store entity GUIDs: Save the entityGuid returned from create operations. You'll need these for versioning, retrieving, and deletion operations.
  • Version incrementally: Create new versions for configuration changes rather than deleting and recreating configurations.
  • Use descriptive names: Configuration names should clearly indicate their purpose and target environment.
  • Validate YAML: Ensure your configuration content is valid YAML before uploading.
  • Verify agent type compatibility: Ensure your agent type is compatible with the managed entity type (HOST or KUBERNETESCLUSTER).
  • Secure your API key: Never expose your User API key in client-side code or public repositories.
  • Check HTTP status codes: The API returns 2xx for successful operations, 404 for not found, and other status codes for errors.

Common error responses

Status code

Description

Solution

400 Bad Request

Invalid request parameters or malformed JSON in NewRelic-Entity header

Verify request format and header values

401 Unauthorized

Missing or invalid API key

Check that your User API key is valid and included in the Api-Key header

404 Not Found

Configuration or version not found

Verify the entity GUID is correct

415 Unsupported Media Type

Incorrect Content-Type header

Use Content-Type: application/x-yaml

Additional resources

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.