Skip to main content

Overview

CorrData provides a GraphQL API for accessing pipeline integrity data. The API supports:
  • Queries - Read operations for assets, measurements, and analytics
  • Mutations - Write operations for creating and updating data
  • Subscriptions - Real-time updates via WebSocket

Base URL

Production:  https://api.corrdata.io/graphql
Staging:     https://api.staging.corrdata.io/graphql

GraphQL Playground

Explore the API interactively at:
https://api.corrdata.io/graphql/playground

Quick Example

query GetPipelineSummary {
  pipelineSummary {
    totalAssets
    totalPipelines
    totalSegments
    recentEvents {
      id
      title
      severity
      occurredAt
    }
  }
}

Response Format

All responses follow a standard format:
{
  "data": {
    "pipelineSummary": {
      "totalAssets": 1234,
      "totalPipelines": 5,
      "totalSegments": 45
    }
  }
}

Error Responses

{
  "errors": [
    {
      "message": "Asset not found",
      "locations": [{ "line": 2, "column": 3 }],
      "path": ["asset"],
      "extensions": {
        "code": "NOT_FOUND"
      }
    }
  ]
}

Rate Limits

PlanRequests/minRequests/day
Free601,000
Pro30050,000
EnterpriseUnlimitedUnlimited
Rate limit headers are included in all responses:
  • X-RateLimit-Limit
  • X-RateLimit-Remaining
  • X-RateLimit-Reset

SDKs

Official client libraries are available:

Next Steps