Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nhost operations API

Administrative operations

Nhost operations API is one of 14 APIs that Nhost publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include operations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 5 paths, and defines 2 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, https://{subdomain}.auth.{region}.nhost.run/v1.

5 operations 5 paths 2 schemas 5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://{subdomain}.nhost.run/v1/graphql
Authentication
HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Nhost operations API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). It accepts HTTP bearer tokens (BearerAuthElevated).

  • BearerAuth — Bearer authentication with JWT access token. Used to authenticate requests to protected endpoints.
  • BearerAuthElevated — Bearer authentication that requires elevated permissions. Used for sensitive operations that may require additional security measures such as recent authentica…

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 POST. Each is listed below with its method, path, parameters, and response codes.

operations 5

Administrative operations

POST
/ops/delete-broken-metadata
Delete broken metadata
deleteBrokenMetadata → 200default
POST
/ops/delete-orphans
Deletes orphaned files
deleteOrphanedFiles → 200default
POST
/ops/list-broken-metadata
Lists broken metadata
listBrokenMetadata → 200default
POST
/ops/list-not-uploaded
Lists files that haven't been uploaded
listFilesNotUploaded → 200default
POST
/ops/list-orphans
Lists orphaned files
listOrphanedFiles → 200default

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are FileSummary (4 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ErrorResponse
object
Error information returned by the API.
1 property
FileSummary
object
Basic information about a file in storage.
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nhost-operations-api-openapi.yml Raw ↑

Other APIs Nhost publishes across the network.

Nhost GraphQL API
Nhost Serverless Functions API
Nhost AI API
Nhost authentication API
Nhost documentation API
Nhost excludeme API
Nhost files API
Nhost security API
Nhost session API
Nhost storage API
Nhost system API
Nhost user API