Hasura website screenshot

Hasura

We've spent years perfecting products that make it effortless to access and use data.PromptQL for AIAccurate AI by continuously learning the unique context of your business.

5 APIs 4 Features
Data AccessGraphQL

APIs

Hasura GraphQL API

The Hasura GraphQL Engine v2 provides instant realtime GraphQL APIs on your data with fine-grained access control. Supports GraphQL queries, mutations, and subscriptions at the ...

Hasura Metadata API

The Hasura Metadata API allows programmatic management of Hasura GraphQL Engine configuration. All requests are POST requests to the /v1/metadata endpoint, supporting operations...

Hasura DDN GraphQL API

The Hasura Data Delivery Network (DDN) is a metadata-driven API platform that generates instant GraphQL APIs on any data source. It provides queries, mutations, and subscription...

Hasura Cloud API

The Hasura Cloud API provides a GraphQL endpoint at https://data.pro.hasura.io/v1/graphql to programmatically create and manage Hasura Cloud projects, tenants, collaborators, an...

PromptQL Natural Language API

The PromptQL Natural Language API allows interaction with Hasura PromptQL to send natural language messages and receive AI-powered responses with streaming support. It enables a...

Collections

GraphQL

Hasura GraphQL API

The Hasura GraphQL Engine v2 provides instant realtime GraphQL APIs on your data with fine-grained access control. Supports GraphQL queries, mutations, and subscriptions at the ...

GRAPHQL

Pricing Plans

Hasura Plans Pricing

3 plans

PLANS

Rate Limits

Hasura Rate Limits

5 limits

RATE LIMITS

FinOps

Hasura Finops

FINOPS

Features

Use Cases
GraphQL backend
Data Access Layer
API gateway

Event Specifications

Hasura GraphQL Subscriptions over WebSocket

AsyncAPI definition for Hasura GraphQL Engine real-time subscriptions delivered over WebSocket at the `/v1/graphql` endpoint. Hasura supports two WebSocket subprotocols, negotia...

ASYNCAPI

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
Website
Website
🔗
Plans
Plans
🔑
Authentication
Authentication
🚀
GettingStarted
GettingStarted
🚀
GettingStarted
GettingStarted
🔗
Security
Security
🔗
CLI
CLI
🔗
CI/CD
CI/CD
💬
Support
Support
💬
FAQ
FAQ
🔗
Discord
Discord
🔗
Glossary
Glossary
📰
Blog
Blog
💰
Pricing
Pricing
🔗
Customers
Customers
🔗
Webinars
Webinars
🔗
Hub
Hub
🔗
Events
Events
🔗
WhitePapers
WhitePapers
🔗
Login
Login
📝
Signup
Signup
📜
TermsOfService
TermsOfService
🎓
Tutorials
Tutorials
💬
FAQ
FAQ
🔗
AboutPage
AboutPage
🟢
StatusPage
StatusPage
📄
ChangeLog
ChangeLog
👥
GitHubRepository
GitHubRepository
👥
GitHubDiscussions
GitHubDiscussions
📄
GitHubReleases
GitHubReleases
🔗
Twitter
Twitter
🔗
LinkedIn
LinkedIn
👥
YouTube
YouTube
🔗
Reddit
Reddit
👥
StackOverflow
StackOverflow
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
🔗
Contact
Contact
🔗
Help
Help
🔗
Community
Community
🔗
ProductPage
ProductPage
🔗
APIReference
APIReference
🔗
Documentation
Documentation
🔗
CaseStudies
CaseStudies
📜
Legal
Legal
📄
ReleaseNotes
ReleaseNotes
🔗
ProductPage
ProductPage
🔗
MCPServer
MCPServer

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Hasura GraphQL Engine HTTP APIs
  version: 2.0.0
request:
  auth:
    type: apikey
    key: x-hasura-admin-secret
    value: '{{x-hasura-admin-secret}}'
    placement: header
items:
- info:
    name: Execute a GraphQL query, mutation, or subscription
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v1/graphql
    body:
      type: json
      data: '{}'
  docs: 'Primary GraphQL endpoint. Accepts a single GraphQL operation or a

    batched array. Always returns HTTP 200; errors are returned in the

    response body.

    '
- info:
    name: Execute a Relay-compatible GraphQL operation
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v1beta1/relay
    body:
      type: json
      data: '{}'
  docs: Execute a Relay-compatible GraphQL operation
- info:
    name: Manage Hasura metadata
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v1/metadata
    body:
      type: json
      data: '{}'
  docs: 'Single endpoint for all metadata operations such as tracking tables,

    creating relationships, managing permissions, remote schemas, and

    actions. The request body specifies the metadata `type` (operation)

    and `args`.

    '
- info:
    name: Execute schema/run_sql and other schema-level operations
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v2/query
    body:
      type: json
      data: '{}'
  docs: 'Schema API used to run SQL, manage event triggers, and perform other

    database-schema operations. Replaces the deprecated /v1/query endpoint

    for Hasura v2 metadata format.

    '
- info:
    name: Dump a Postgres source
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v1alpha1/pg_dump
    body:
      type: json
      data: '{}'
  docs: Execute pg_dump against a configured Postgres source.
- info:
    name: Explain a GraphQL query
    type: http
  http:
    method: POST
    url: https://my-graphql-engine.example.com/v1/graphql/explain
    body:
      type: json
      data: '{}'
  docs: Returns the SQL plan for a given GraphQL query.
- info:
    name: Health check
    type: http
  http:
    method: GET
    url: https://my-graphql-engine.example.com/healthz
  docs: Returns 200 OK if the server is healthy.
- info:
    name: Check health of configured data sources
    type: http
  http:
    method: GET
    url: https://my-graphql-engine.example.com/v1/source_health
  docs: Check health of configured data sources
- info:
    name: Retrieve server configuration
    type: http
  http:
    method: GET
    url: https://my-graphql-engine.example.com/v1alpha1/config
  docs: Retrieve server configuration
- info:
    name: Retrieve server version
    type: http
  http:
    method: GET
    url: https://my-graphql-engine.example.com/v1/version
  docs: Retrieve server version
bundled: true