New Relic · Example Payload

New Relic Sendtraces Example

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

New Relic Sendtraces Example is an example object payload from New Relic, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "sendTraces",
  "method": "POST",
  "path": "/trace/v1",
  "summary": "New Relic Send Trace Spans",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "newrelic",
      "example": [
        {
          "common": {
            "attributes": {
              "service.name": "myService",
              "host": "web01"
            }
          },
          "spans": [
            {
              "id": "5f5bf6860e3b5208",
              "trace.id": "aefb4b81c6eedc5e",
              "attributes": {
                "name": "/api/orders",
                "duration.ms": 12,
                "db.statement": "SELECT * FROM orders"
              }
            }
          ]
        }
      ]
    },
    {
      "contentType": "application/json",
      "name": "zipkin",
      "example": [
        {
          "id": "5f5bf6860e3b5208",
          "traceId": "aefb4b81c6eedc5e",
          "name": "/api/orders",
          "timestamp": 1645564509000000,
          "duration": 12000,
          "localEndpoint": {
            "serviceName": "myService"
          }
        }
      ]
    }
  ],
  "responseExamples": [
    {
      "status": "202",
      "contentType": "application/json",
      "name": "Sendtraces202Example",
      "example": {
        "requestId": "500123"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "Sendtraces400Example",
      "example": {
        "requestId": "500123",
        "error": {
          "type": "standard",
          "message": "Operation completed successfully"
        }
      }
    },
    {
      "status": "403",
      "contentType": "application/json",
      "name": "Sendtraces403Example",
      "example": {
        "requestId": "500123",
        "error": {
          "type": "standard",
          "message": "Operation completed successfully"
        }
      }
    },
    {
      "status": "413",
      "contentType": "application/json",
      "name": "Sendtraces413Example",
      "example": {
        "requestId": "500123",
        "error": {
          "type": "standard",
          "message": "Operation completed successfully"
        }
      }
    },
    {
      "status": "429",
      "contentType": "application/json",
      "name": "Sendtraces429Example",
      "example": {
        "requestId": "500123",
        "error": {
          "type": "standard",
          "message": "Operation completed successfully"
        }
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/new-relic-sendtraces-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.